ChoosyRemapper Class Reference

A ChoosyRemapper combines the other MeshRemappers and picks which one it deems is best suited for each image. More...

#include <ChoosyRemapper.h>

Inheritance diagram for ChoosyRemapper:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ChoosyRemapper (HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state)
 ~ChoosyRemapper ()
void UpdateAndResetIndex ()
bool GetNextFaceCoordinates (Coords *result)

Private Types

 REMAP_NONE
 REMAP_VERTEX
 REMAP_TEX
enum  RemapperSelection { REMAP_NONE, REMAP_VERTEX, REMAP_TEX }

Private Attributes

RemapperSelection selection
MeshRemapperselected_remapper

Detailed Description

A ChoosyRemapper combines the other MeshRemappers and picks which one it deems is best suited for each image.

Definition at line 31 of file ChoosyRemapper.h.


Member Enumeration Documentation

enum ChoosyRemapper::RemapperSelection [private]

Enumerator:
REMAP_NONE 
REMAP_VERTEX 
REMAP_TEX 

Definition at line 40 of file ChoosyRemapper.h.


Constructor & Destructor Documentation

ChoosyRemapper::ChoosyRemapper ( HuginBase::Panorama m_pano,
HuginBase::SrcPanoImage image,
VisualizationState visualization_state 
)

Definition at line 33 of file ChoosyRemapper.cpp.

References REMAP_NONE, selected_remapper, and selection.

ChoosyRemapper::~ChoosyRemapper (  ) 

Definition at line 41 of file ChoosyRemapper.cpp.

References selected_remapper.


Member Function Documentation

bool ChoosyRemapper::GetNextFaceCoordinates ( Coords *  result  ) 

Definition at line 162 of file ChoosyRemapper.cpp.

References MeshRemapper::GetNextFaceCoordinates(), and selected_remapper.

void ChoosyRemapper::UpdateAndResetIndex (  )  [virtual]

Reimplemented from MeshRemapper.

Definition at line 46 of file ChoosyRemapper.cpp.

References HuginBase::PanoramaOptions::ALBERS_EQUAL_AREA_CONIC, HuginBase::PanoramaOptions::ARCHITECTURAL, HuginBase::PanoramaOptions::BIPLANE, HuginBase::PTools::Transform::createTransform(), HuginBase::PanoramaOptions::CYLINDRICAL, HuginBase::PanoramaOptions::EQUI_PANINI, HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaOptions::EQUISOLID, HuginBase::PanoramaOptions::FULL_FRAME_FISHEYE, HuginBase::PanoramaOptions::GENERAL_PANINI, VisualizationState::GetOptions(), HuginBase::PanoramaOptions::getProjection(), VisualizationState::GetProjectionInfo(), HuginBase::PanoramaOptions::HAMMER_AITOFF, MeshRemapper::height, MeshRemapper::image, celeste::info(), HuginBase::PanoramaOptions::LAMBERT, HuginBase::PanoramaOptions::LAMBERT_AZIMUTHAL, MeshRemapper::m_pano, HuginBase::PanoramaOptions::MERCATOR, HuginBase::PanoramaOptions::MILLER_CYLINDRICAL, HuginBase::PanoramaOptions::ORTHOGRAPHIC, HuginBase::PanoramaOptions::PANINI, REMAP_TEX, REMAP_VERTEX, selected_remapper, selection, HuginBase::PanoramaOptions::STEREOGRAPHIC, HuginBase::PanoramaOptions::THOBY_PROJECTION, MeshRemapper::transform, HuginBase::PTools::Transform::transformImgCoord(), HuginBase::PanoramaOptions::TRANSVERSE_MERCATOR, HuginBase::PanoramaOptions::TRIPLANE, MeshRemapper::UpdateAndResetIndex(), MeshRemapper::visualization_state, and MeshRemapper::width.


Member Data Documentation

MeshRemapper* ChoosyRemapper::selected_remapper [private]

Definition at line 42 of file ChoosyRemapper.h.

Referenced by ChoosyRemapper(), GetNextFaceCoordinates(), UpdateAndResetIndex(), and ~ChoosyRemapper().

RemapperSelection ChoosyRemapper::selection [private]

Definition at line 41 of file ChoosyRemapper.h.

Referenced by ChoosyRemapper(), and UpdateAndResetIndex().


The documentation for this class was generated from the following files:
Generated on 21 Oct 2014 for Hugintrunk by  doxygen 1.4.7