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

Public Member Functions | |
| LayoutRemapper (HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state) | |
| virtual void | UpdateAndResetIndex () |
| virtual bool | GetNextFaceCoordinates (Coords *result) |
| Get the texture and vertex coordinates for the next face. | |
| void | setScale (double scale) |
| Set the size to draw the images. | |
Private Attributes | |
| double | scale |
| The number number of units between vertex coorinates that gives a pixel in the display. | |
| bool | done |
| ArrayCoords | face |
Must be given a scale to draw with, using SetScale.
Definition at line 32 of file LayoutRemapper.h.
|
||||||||||||||||
|
Definition at line 34 of file LayoutRemapper.cpp. References face. |
|
|
Get the texture and vertex coordinates for the next face. The coordinates are ordered [left / right][top / bottom][x coord / y coord].
Implements MeshRemapper. Definition at line 113 of file LayoutRemapper.cpp. |
|
|
Set the size to draw the images. Specify the maximum dimension you would like the image to have. The actual size of the image will have this maximum dimension, and the same aspect ratio as the original image file. Definition at line 128 of file LayoutRemapper.cpp. References scale. Referenced by MeshManager::MeshInfo::Update(). |
|
|
Reimplemented from MeshRemapper. Definition at line 52 of file LayoutRemapper.cpp. References HuginBase::PTools::Transform::createInvTransform(), done, face, VisualizationState::GetOptions(), M_PI, scale, and HuginBase::PTools::Transform::transformImgCoord(). |
|
|
Definition at line 48 of file LayoutRemapper.h. Referenced by GetNextFaceCoordinates(), and UpdateAndResetIndex(). |
|
|
Definition at line 49 of file LayoutRemapper.h. Referenced by GetNextFaceCoordinates(), LayoutRemapper(), and UpdateAndResetIndex(). |
|
|
The number number of units between vertex coorinates that gives a pixel in the display.
Reimplemented from MeshRemapper. Definition at line 47 of file LayoutRemapper.h. Referenced by setScale(), and UpdateAndResetIndex(). |
1.3.9.1