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

Public Member Functions | |
| MeshManager (PT::Panorama *pano, VisualizationState *visualization_state) | |
| ~MeshManager () | |
| void | CheckUpdate () |
| void | CleanMeshes () |
| Remove meshes for images that have been deleted. | |
| void | RenderMesh (unsigned int image_number) const |
| unsigned int | GetDisplayList (unsigned int image_number) const |
| void | SetLayoutMode (bool state) |
| Turn layout mode on or off. | |
| void | SetLayoutScale (double scale) |
| virtual MeshInfo::MeshCoords3D | GetMeshCoords3D (MeshRemapper::Coords &coords)=0 |
| virtual MeshInfo::Coord3D | GetCoord3D (hugin_utils::FDiff2D &)=0 |
| virtual MeshInfo * | ObtainMeshInfo (HuginBase::SrcPanoImage *, bool layout_mode_on)=0 |
Protected Attributes | |
| PT::Panorama * | m_pano |
| VisualizationState * | visualization_state |
| std::vector< MeshInfo * > | meshes |
| bool | layout_mode_on |
The coordinates used in the display list are calculated by a MeshRemapper
Definition at line 37 of file MeshManager.h.
|
||||||||||||
|
Definition at line 54 of file MeshManager.cpp. |
|
|
Definition at line 61 of file MeshManager.cpp. References meshes. |
|
|
Definition at line 69 of file MeshManager.cpp. References DEBUG_DEBUG, DEBUG_INFO, HuginBase::Panorama::getNrOfImages(), VisualizationState::GetSrcImage(), m_pano, meshes, VisualizationState::RequireRecalculateMesh(), VisualizationState::SetSrcImage(), and visualization_state. Referenced by VisualizationState::DoUpdates(). |
|
|
Remove meshes for images that have been deleted.
|
|
|
Implemented in PanosphereOverviewMeshManager, PlaneOverviewMeshManager, and PreviewMeshManager. Referenced by GreatCircleArc::LineSegment::doGL(), GreatCircleArc::LineSegment::doGLcross(), and OverviewOutlinesTool::DrawRect(). |
|
|
Definition at line 102 of file MeshManager.cpp. References meshes. Referenced by VisualizationState::GetMeshDisplayList(), GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw(). |
|
|
Implemented in PanosphereOverviewMeshManager, PlaneOverviewMeshManager, and PreviewMeshManager. Referenced by MeshManager::MeshInfo::CompileList(). |
|
||||||||||||
|
Implemented in PanosphereOverviewMeshManager, PlaneOverviewMeshManager, and PreviewMeshManager. |
|
|
Definition at line 97 of file MeshManager.cpp. References meshes. |
|
|
Turn layout mode on or off. When in layout mode, the images appear with their centre in the remapped position, but the rest of the image is drawn undistorted around that.
Definition at line 107 of file MeshManager.cpp. References layout_mode_on, and meshes. Referenced by GLOverview::SetLayoutMode(), and GLViewer::SetLayoutMode(). |
|
|
Definition at line 120 of file MeshManager.cpp. References meshes. Referenced by GLOverview::SetLayoutScale(), and GLViewer::SetLayoutScale(). |
|
|
Definition at line 225 of file MeshManager.h. Referenced by MeshManager::MeshInfo::MeshInfo(), and SetLayoutMode(). |
|
|
Definition at line 220 of file MeshManager.h. Referenced by CheckUpdate(), and MeshManager::MeshInfo::MeshInfo(). |
|
|
Definition at line 224 of file MeshManager.h. Referenced by CheckUpdate(), GetDisplayList(), RenderMesh(), SetLayoutMode(), SetLayoutScale(), and ~MeshManager(). |
|
|
Definition at line 221 of file MeshManager.h. Referenced by CheckUpdate(). |
1.3.9.1