#include <MeshManager.h>
Inheritance diagram for MeshManager::MeshInfo:

Public Member Functions | |
| MeshInfo (PT::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state, bool layout_mode_on) | |
| Constructor: Creates the mesh for a given image of a panorama. | |
| MeshInfo (const MeshInfo &source) | |
| copy constructor: makes a MeshInfo representing the same object but using a differrent display list, allowing the first one to be freed. | |
| ~MeshInfo () | |
| void | CallList () const |
| Draw the mesh. | |
| void | Update () |
| Recreate the mesh when the image or panorama it represents changes. | |
| void | SetScaleFactor (double scale) |
| void | SetSrcImage (HuginBase::SrcPanoImage *image) |
Public Attributes | |
| unsigned int | display_list_number |
Protected Member Functions | |
| virtual void | BeforeCompile () |
| virtual void | Transform () |
| virtual void | AfterCompile () |
| void | CompileList () |
| Use the remapper to create the display list. | |
Protected Attributes | |
| HuginBase::SrcPanoImage | image |
| PT::Panorama * | m_pano |
| double | scale_factor |
| VisualizationState * | m_visualization_state |
| MeshRemapper * | remap |
| The ramapper we should use. | |
| bool | layout_mode_on |
Definition at line 62 of file MeshManager.h.
|
||||||||||||||||||||
|
Constructor: Creates the mesh for a given image of a panorama.
Definition at line 127 of file MeshManager.cpp. |
|
|
copy constructor: makes a MeshInfo representing the same object but using a differrent display list, allowing the first one to be freed.
Definition at line 142 of file MeshManager.cpp. References MeshManager::layout_mode_on, and MeshManager::m_pano. |
|
|
Definition at line 157 of file MeshManager.cpp. References display_list_number. |
|
|
Reimplemented in MeshManager::PanosphereOverviewMeshInfo. Definition at line 115 of file MeshManager.h. Referenced by CompileList(). |
|
|
Reimplemented in MeshManager::PanosphereOverviewMeshInfo. Definition at line 113 of file MeshManager.h. Referenced by CompileList(). |
|
|
Draw the mesh.
Definition at line 198 of file MeshManager.cpp. References display_list_number. Referenced by PreviewProjectionGridTool::AfterDrawImagesEvent(). |
|
|
Use the remapper to create the display list.
Definition at line 203 of file MeshManager.cpp. References AfterCompile(), BeforeCompile(), DEBUG_ASSERT, DEBUG_DEBUG, DEBUG_INFO, display_list_number, MeshManager::GetMeshCoords3D(), VisualizationState::GetMeshManager(), MeshRemapper::GetNextFaceCoordinates(), ViewState::GetSupportMultiTexture(), VisualizationState::getViewState(), m_visualization_state, remap, MeshManager::MeshInfo::MeshCoords3D::tex_coords, Transform(), MeshRemapper::UpdateAndResetIndex(), and MeshManager::MeshInfo::MeshCoords3D::vertex_coords. Referenced by Update(). |
|
|
Definition at line 192 of file MeshManager.cpp. References scale_factor, and Update(). |
|
|
Definition at line 86 of file MeshManager.h. |
|
|
Reimplemented in MeshManager::PanosphereOverviewMeshInfo. Definition at line 114 of file MeshManager.h. Referenced by CompileList(). |
|
|
Recreate the mesh when the image or panorama it represents changes.
Definition at line 163 of file MeshManager.cpp. References CompileList(), HuginBase::Panorama::getNrOfImages(), VisualizationState::GetVisibleArea(), m_pano, m_visualization_state, and LayoutRemapper::setScale(). Referenced by PreviewProjectionGridTool::AfterDrawImagesEvent(), and SetScaleFactor(). |
|
|
Definition at line 84 of file MeshManager.h. Referenced by CallList(), CompileList(), and ~MeshInfo(). |
|
|
Definition at line 117 of file MeshManager.h. |
|
|
Definition at line 125 of file MeshManager.h. |
|
|
Definition at line 118 of file MeshManager.h. Referenced by Update(). |
|
|
Definition at line 120 of file MeshManager.h. Referenced by CompileList(), and Update(). |
|
|
The ramapper we should use.
Definition at line 122 of file MeshManager.h. Referenced by CompileList(). |
|
|
Definition at line 119 of file MeshManager.h. Referenced by SetScaleFactor(). |
1.3.9.1