BV_CHDataManager Class Reference

#include <BV_OBBTree.h>

List of all members.

Public Member Functions

 BV_CHDataManager (const TPointArray &points_in)
 Constructs the manager, welds input points.
const BV_CHEdgeInfofindEdge (int curr_v1_idx, int curr_v2_idx) const
 Find an edge between two vertices.
const BV_CHEdgeInfoedgeTraversalBegin (void)
 Traverse edges.
const BV_CHEdgeInfoedgeTraversalNext (void)
void edgeSanityCheck (void)
 Checks for valid edge counts. Debug.
void setAboutToReset (void)
void reset (void)
 Resets the manager for the next iteration.
void weldPoints (const TPointArray &points_in, TPointArray &merged_pts_out)
TPointArraygetPoints (void)
bool getDoRestart (void) const
void onTriangleDeleted (BV_CHTriangle *triangle_in)
 Called every time a triangle is created.
void onTriangleCreated (BV_CHTriangle *triangle_in)
 Called every time a triangle is deleted or is marked as deleted.
fpreal jigglePointTetra (BV_CHTriangle *coplanar_triangle, int iPointIndex)
 Jiggles a point to lie more than FLT_EPSILON away from the triangle.


Detailed Description

Definition at line 93 of file BV_OBBTree.h.


Constructor & Destructor Documentation

BV_CHDataManager::BV_CHDataManager ( const TPointArray points_in  ) 

Constructs the manager, welds input points.


Member Function Documentation

void BV_CHDataManager::edgeSanityCheck ( void   ) 

Checks for valid edge counts. Debug.

const BV_CHEdgeInfo* BV_CHDataManager::edgeTraversalBegin ( void   ) 

Traverse edges.

const BV_CHEdgeInfo* BV_CHDataManager::edgeTraversalNext ( void   ) 

const BV_CHEdgeInfo* BV_CHDataManager::findEdge ( int  curr_v1_idx,
int  curr_v2_idx 
) const

Find an edge between two vertices.

bool BV_CHDataManager::getDoRestart ( void   )  const [inline]

Definition at line 123 of file BV_OBBTree.h.

TPointArray& BV_CHDataManager::getPoints ( void   )  [inline]

Definition at line 121 of file BV_OBBTree.h.

fpreal BV_CHDataManager::jigglePointTetra ( BV_CHTriangle coplanar_triangle,
int  iPointIndex 
)

Jiggles a point to lie more than FLT_EPSILON away from the triangle.

void BV_CHDataManager::onTriangleCreated ( BV_CHTriangle triangle_in  ) 

Called every time a triangle is deleted or is marked as deleted.

void BV_CHDataManager::onTriangleDeleted ( BV_CHTriangle triangle_in  ) 

Called every time a triangle is created.

void BV_CHDataManager::reset ( void   ) 

Resets the manager for the next iteration.

void BV_CHDataManager::setAboutToReset ( void   ) 

Sets a flag telling the manager we will do a reset next, so that no triangle-edge management code is called to save time.

void BV_CHDataManager::weldPoints ( const TPointArray points_in,
TPointArray merged_pts_out 
)

Welds points from the points_in array and puts the new set of points into the merged_pts_out array. Currently welds within FLT_EPSILON.


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

Generated on Fri May 25 00:10:16 2012 for HDK by  doxygen 1.5.9