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

Public Member Functions | |
| VertexCoordRemapper (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 | RecursiveUpdate (unsigned int node_id, unsigned int stretch_x, unsigned int stretch_y) |
| void | TestSubdivide (unsigned int node_id) |
| void | DiscontinuityFlip (double vertex_c[2]) |
| void | SetLengthAndAngle (TreeNode *node) |
Private Attributes | |
| double | tex_coords [2][2][2] |
| double | s_vertex_coords [2][2][2] |
| double | o_width |
| double | o_height |
| double | radius |
| double | lower_bound |
| double | upper_bound |
| double | lower_bound_h |
| double | upper_bound_h |
| double | x_midpoint |
| double | y_midpoint |
| double | x_add_360 |
| double | y_add_360 |
| bool | done_node |
| unsigned int | tree_node_id |
| unsigned short int | discontinuity_flags |
| HuginBase::PanoramaOptions::ProjectionFormat | output_projection |
| Tree | tree |
|
||||||||||||||||
|
Definition at line 105 of file VertexCoordRemapper.cpp. |
|
|
viewer) is not drawn. Definition at line 257 of file VertexCoordRemapper.cpp. References VisualizationState::GetProjectionInfo(), and OutputProjectionInfo::GetXAdd360(). Referenced by GetNextFaceCoordinates(). |
|
|
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 157 of file VertexCoordRemapper.cpp. References MeshRemapper::ClipFace(), discontinuity_flags, DiscontinuityFlip(), done_node, VertexCoordRemapper::TreeNode::flags, VertexCoordRemapper::Tree::GetInputCoordinates(), VertexCoordRemapper::Tree::GetNext(), MeshRemapper::GiveClipFaceResult(), HuginBase::SrcPanoImage::isInside(), VertexCoordRemapper::Tree::nodes, s_vertex_coords, tex_coords, transform_fail_flag, tree, tree_node_id, and VertexCoordRemapper::TreeNode::verts. |
|
||||||||||||||||
|
Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 775 of file VertexCoordRemapper.cpp. References VertexCoordRemapper::TreeNode::angle_x, VertexCoordRemapper::TreeNode::angle_y, VertexCoordRemapper::TreeNode::length_x, VertexCoordRemapper::TreeNode::length_y, hugin_utils::sqr(), and VertexCoordRemapper::TreeNode::verts. Referenced by TestSubdivide(). |
|
|
|
|
Definition at line 91 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(). |
|
|
Definition at line 88 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), and UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by TestSubdivide(), and UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by TestSubdivide(), and UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 94 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(). |
|
|
Definition at line 175 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(), TestSubdivide(), and UpdateAndResetIndex(). |
|
|
Definition at line 89 of file VertexCoordRemapper.h. Referenced by GetNextFaceCoordinates(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by TestSubdivide(), and UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by TestSubdivide(), and UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
|
|
Definition at line 75 of file VertexCoordRemapper.h. Referenced by UpdateAndResetIndex(). |
1.3.9.1