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

Public Member Functions | |
| TexCoordRemapper (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. | |
Private Member Functions | |
| void | SetSize () |
Private Attributes | |
| std::vector< std::vector< hugin_utils::FDiff2D > > | map |
| double | start_x |
| double | start_y |
| double | end_x |
| double | end_y |
| unsigned int | divisions_x |
| unsigned int | divisions_y |
| double | o_width |
| double | o_height |
| double | face_width |
| double | face_height |
| unsigned int | face_index |
| unsigned int | number_of_faces |
| double | vertex_coords [2][2][2] |
| double | texture_coords [2][2][2] |
| std::vector< MeshRemapper::ArrayCoords > | face_list |
| List for results when clipping faces. | |
|
||||||||||||||||
|
Definition at line 37 of file TexCoordRemapper.cpp. |
|
|
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 72 of file TexCoordRemapper.cpp. References MeshRemapper::ClipFace(), divisions_x, face_height, face_index, face_width, MeshRemapper::GiveClipFaceResult(), HuginBase::SrcPanoImage::isInside(), and map. |
|
|
Definition at line 153 of file TexCoordRemapper.cpp. References divisions_x, divisions_y, end_x, end_y, face_height, face_width, VisualizationState::GetScale(), VisualizationState::GetVisibleArea(), map, number_of_faces, o_height, o_width, start_x, and start_y. Referenced by UpdateAndResetIndex(). |
|
|
Reimplemented from MeshRemapper. Definition at line 45 of file TexCoordRemapper.cpp. References HuginBase::PTools::Transform::createTransform(), face_height, face_index, face_width, VisualizationState::GetOptions(), map, MeshRemapper::SetCrop(), SetSize(), start_x, start_y, and HuginBase::PTools::Transform::transformImgCoord(). |
|
|
Definition at line 53 of file TexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), and SetSize(). |
|
|
Definition at line 53 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 51 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 51 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 58 of file TexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), SetSize(), and UpdateAndResetIndex(). |
|
|
Definition at line 60 of file TexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), and UpdateAndResetIndex(). |
|
|
List for results when clipping faces.
Reimplemented from MeshRemapper. Definition at line 63 of file TexCoordRemapper.h. |
|
|
Definition at line 57 of file TexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), SetSize(), and UpdateAndResetIndex(). |
|
|
Definition at line 49 of file TexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), SetSize(), and UpdateAndResetIndex(). |
|
|
Definition at line 60 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 55 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 55 of file TexCoordRemapper.h. Referenced by SetSize(). |
|
|
Definition at line 51 of file TexCoordRemapper.h. Referenced by SetSize(), and UpdateAndResetIndex(). |
|
|
Definition at line 51 of file TexCoordRemapper.h. Referenced by SetSize(), and UpdateAndResetIndex(). |
|
|
Definition at line 62 of file TexCoordRemapper.h. |
|
|
Definition at line 61 of file TexCoordRemapper.h. |
1.3.9.1