Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
MeshManager::PreviewMeshInfo Class Reference

subclass of MeshInfo for the preview It actually does nothing in addition to the base class More...

#include <MeshManager.h>

Inheritance diagram for MeshManager::PreviewMeshInfo:
Inheritance graph

Public Member Functions

 PreviewMeshInfo (HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state, bool layout_mode_on)
 
 PreviewMeshInfo (const PreviewMeshInfo &source)
 
- Public Member Functions inherited from MeshManager::MeshInfo
 MeshInfo (HuginBase::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.
 
virtual ~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)
 

Static Public Member Functions

static MeshCoords3D GetMeshCoords3D (MeshRemapper::Coords &coords, VisualizationState *state)
 
static Coord3D GetCoord3D (hugin_utils::FDiff2D &coord, VisualizationState *state)
 

Additional Inherited Members

- Public Attributes inherited from MeshManager::MeshInfo
unsigned int display_list_number
 
- Protected Member Functions inherited from MeshManager::MeshInfo
virtual void BeforeCompile ()
 
virtual void Transform ()
 
virtual void AfterCompile ()
 
void CompileList ()
 Use the remapper to create the display list.
 
- Protected Attributes inherited from MeshManager::MeshInfo
HuginBase::SrcPanoImage image
 
HuginBase::Panoramam_pano
 
double scale_factor
 
VisualizationStatem_visualization_state
 
MeshRemapperremap
 The ramapper we should use.
 
bool layout_mode_on
 

Detailed Description

subclass of MeshInfo for the preview It actually does nothing in addition to the base class

Definition at line 134 of file MeshManager.h.

Constructor & Destructor Documentation

◆ PreviewMeshInfo() [1/2]

MeshManager::PreviewMeshInfo::PreviewMeshInfo ( HuginBase::Panorama m_pano,
HuginBase::SrcPanoImage image,
VisualizationState visualization_state,
bool  layout_mode_on 
)
inline

Definition at line 137 of file MeshManager.h.

References MeshManager::MeshInfo::Update().

◆ PreviewMeshInfo() [2/2]

MeshManager::PreviewMeshInfo::PreviewMeshInfo ( const PreviewMeshInfo source)
inline

Definition at line 141 of file MeshManager.h.

References MeshManager::MeshInfo::Update().

Member Function Documentation

◆ GetCoord3D()

static Coord3D MeshManager::PreviewMeshInfo::GetCoord3D ( hugin_utils::FDiff2D coord,
VisualizationState state 
)
inlinestatic

Definition at line 146 of file MeshManager.h.

References threshold().

Referenced by PreviewMeshManager::GetCoord3D().

◆ GetMeshCoords3D()

static MeshCoords3D MeshManager::PreviewMeshInfo::GetMeshCoords3D ( MeshRemapper::Coords coords,
VisualizationState state 
)
inlinestatic

Definition at line 145 of file MeshManager.h.

References threshold().

Referenced by PreviewMeshManager::GetMeshCoords3D().


The documentation for this class was generated from the following file: