[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.


Member Data Documentation

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

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

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

The coordinate in the panorama, in its pixel space.


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

Generated on Mon Sep 20 01:01:34 2010 for Hugintrunk by doxygen 1.3.9.1