MeshRemapper::Coords Class Reference

A class for exchanging pointers to coordinates. More...

#include <MeshRemapper.h>

List of all members.

Public Attributes

double(* tex_c )[2][2]
 The coordinate in the source image ranging from 0 to 1.
double(* vertex_c )[2][2]
 The coordinate in the panorama, in its pixel space.


Detailed Description

A class for exchanging pointers to coordinates.

Warning:
These are pointers to arrays, and GetNextFaceCoordinates is expected to set the pointers, they won't be pointing at an array of the correct size when passed in. The idea is that the MeshRemapper has some data structures already storing the values, and assignment of a pointer is quicker than assignment of 8 doubles. The pointer is used like an array to get the two different x positions though. the first actual array is the the positions in the opposite direction and the last array is x and y components of that vertex.

Definition at line 60 of file MeshRemapper.h.


Member Data Documentation

double(* MeshRemapper::Coords::tex_c)[2][2]

The coordinate in the source image ranging from 0 to 1.

Definition at line 64 of file MeshRemapper.h.

Referenced by A_Polygon::A_Polygon(), MeshRemapper::ClipFace(), MeshManager::PlaneOverviewMeshInfo::GetMeshCoords3D(), MeshManager::PanosphereOverviewMeshInfo::GetMeshCoords3D(), MeshRemapper::GiveClipFaceResult(), and MeshManager::MeshInfo::MeshCoords3D::MeshCoords3D().

double(* MeshRemapper::Coords::vertex_c)[2][2]

The coordinate in the panorama, in its pixel space.

Definition at line 66 of file MeshRemapper.h.

Referenced by A_Polygon::A_Polygon(), MeshManager::PlaneOverviewMeshInfo::GetMeshCoords3D(), MeshManager::PanosphereOverviewMeshInfo::GetMeshCoords3D(), MeshRemapper::GiveClipFaceResult(), and MeshManager::MeshInfo::MeshCoords3D::MeshCoords3D().


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