Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
MeshRemapper::Coords Class Reference

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

#include <MeshRemapper.h>

Public Attributes

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

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]
double(* MeshRemapper::Coords::vertex_c)[2][2]

The documentation for this class was generated from the following file: