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

Public Member Functions

void GetChildrenIds (const unsigned int node_num, unsigned int children[4], unsigned int &num_children)
 
void ResetIndex ()
 
unsigned int GetNext ()
 
unsigned int GetParentId (const unsigned int nodenum)
 
unsigned int GetParentId (unsigned int x, unsigned int y, unsigned int row_size, unsigned depth)
 
unsigned int GetDepth (const unsigned int nodenum)
 
void GetPosition (const unsigned int nodenum, unsigned int &x, unsigned int &y, unsigned int &row_size, unsigned int &depth)
 
unsigned int GetIndex (const unsigned int x, const unsigned int y, const unsigned int row_size, unsigned int depth)
 
void GetInputCoordinates (unsigned int node_num, double coords[2][2][2])
 
unsigned int GetTransform (unsigned int src_x, unsigned int src_y, unsigned int depth, unsigned int stop_x, unsigned int stop_y, double &dest_x, double &dest_y)
 

Public Attributes

double x_crop_scale
 
double y_crop_scale
 
double x_crop_offs
 
double y_crop_offs
 
TreeNode nodes [1+4+16+64+256+1024+4096]
 

Private Attributes

unsigned int cur_tree_node
 

Detailed Description

Definition at line 129 of file VertexCoordRemapper.h.

Member Function Documentation

void VertexCoordRemapper::Tree::GetChildrenIds ( const unsigned int  node_num,
unsigned int  children[4],
unsigned int &  num_children 
)
unsigned int VertexCoordRemapper::Tree::GetDepth ( const unsigned int  nodenum)

Definition at line 816 of file VertexCoordRemapper.cpp.

unsigned int VertexCoordRemapper::Tree::GetIndex ( const unsigned int  x,
const unsigned int  y,
const unsigned int  row_size,
unsigned int  depth 
)

Definition at line 847 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::RecursiveUpdate().

void VertexCoordRemapper::Tree::GetInputCoordinates ( unsigned int  node_num,
double  coords[2][2][2] 
)
unsigned int VertexCoordRemapper::Tree::GetNext ( )

Definition at line 922 of file VertexCoordRemapper.cpp.

References flags, split_flag_x, and split_flag_y.

Referenced by VertexCoordRemapper::GetNextFaceCoordinates().

unsigned int VertexCoordRemapper::Tree::GetParentId ( const unsigned int  nodenum)
unsigned int VertexCoordRemapper::Tree::GetParentId ( unsigned int  x,
unsigned int  y,
unsigned int  row_size,
unsigned  depth 
)
void VertexCoordRemapper::Tree::GetPosition ( const unsigned int  nodenum,
unsigned int &  x,
unsigned int &  y,
unsigned int &  row_size,
unsigned int &  depth 
)
unsigned int VertexCoordRemapper::Tree::GetTransform ( unsigned int  src_x,
unsigned int  src_y,
unsigned int  depth,
unsigned int  stop_x,
unsigned int  stop_y,
double &  dest_x,
double &  dest_y 
)
void VertexCoordRemapper::Tree::ResetIndex ( )

Definition at line 917 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::UpdateAndResetIndex().

Member Data Documentation

unsigned int VertexCoordRemapper::Tree::cur_tree_node
private

Definition at line 173 of file VertexCoordRemapper.h.

TreeNode VertexCoordRemapper::Tree::nodes[1+4+16+64+256+1024+4096]
double VertexCoordRemapper::Tree::x_crop_offs

Definition at line 157 of file VertexCoordRemapper.h.

Referenced by VertexCoordRemapper::UpdateAndResetIndex().

double VertexCoordRemapper::Tree::x_crop_scale

Definition at line 157 of file VertexCoordRemapper.h.

Referenced by VertexCoordRemapper::UpdateAndResetIndex().

double VertexCoordRemapper::Tree::y_crop_offs

Definition at line 157 of file VertexCoordRemapper.h.

Referenced by VertexCoordRemapper::UpdateAndResetIndex().

double VertexCoordRemapper::Tree::y_crop_scale

Definition at line 157 of file VertexCoordRemapper.h.

Referenced by VertexCoordRemapper::UpdateAndResetIndex().


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