Public Member Functions | Public Attributes | List of all members
CBuilder Class Reference
Inheritance diagram for CBuilder:
Inheritance graph
[legend]

Public Member Functions

 CBuilder (const char *fname, const DecompDesc &d)
 
virtual void ConvexDecompResult (ConvexResult &result)
 
void saveCOLLADA (FILE *fph, unsigned int index, ConvexResult *cr)
 
void saveCOLLADA (void)
 
void saveNxuStream (void)
 
void saveXML (FILE *fph, unsigned int index, ConvexResult *cr)
 
 ~CBuilder (void)
 
- Public Member Functions inherited from ConvexDecomposition::ConvexDecompInterface
virtual void ConvexDebugBound (const double *bmin, const double *bmax, unsigned int color)
 
virtual void ConvexDebugOBB (const double *sides, const double *matrix, unsigned int color)
 
virtual void ConvexDebugPoint (const double *p, double dist, unsigned int color)
 
virtual void ConvexDebugTri (const double *p1, const double *p2, const double *p3, unsigned int color)
 

Public Attributes

unsigned int mBaseCount
 
char mBaseName [512]
 
FILE * mFph
 
unsigned int mHullCount
 
ConvexResultVector mHulls
 
char mObjName [512]
 
float mSkinWidth
 

Detailed Description

Definition at line 61 of file DecomposeSample.cpp.

Constructor & Destructor Documentation

◆ CBuilder()

CBuilder::CBuilder ( const char *  fname,
const DecompDesc d 
)
inline

Definition at line 65 of file DecomposeSample.cpp.

◆ ~CBuilder()

CBuilder::~CBuilder ( void  )
inline

Definition at line 112 of file DecomposeSample.cpp.

Member Function Documentation

◆ ConvexDecompResult()

virtual void CBuilder::ConvexDecompResult ( ConvexResult result)
inlinevirtual

Implements ConvexDecomposition::ConvexDecompInterface.

Definition at line 125 of file DecomposeSample.cpp.

◆ saveCOLLADA() [1/2]

void CBuilder::saveCOLLADA ( FILE *  fph,
unsigned int  index,
ConvexResult cr 
)
inline

Definition at line 169 of file DecomposeSample.cpp.

◆ saveCOLLADA() [2/2]

void CBuilder::saveCOLLADA ( void  )
inline

Definition at line 222 of file DecomposeSample.cpp.

◆ saveNxuStream()

void CBuilder::saveNxuStream ( void  )
inline

Definition at line 414 of file DecomposeSample.cpp.

◆ saveXML()

void CBuilder::saveXML ( FILE *  fph,
unsigned int  index,
ConvexResult cr 
)
inline

Definition at line 378 of file DecomposeSample.cpp.

Member Data Documentation

◆ mBaseCount

unsigned int CBuilder::mBaseCount

Definition at line 532 of file DecomposeSample.cpp.

◆ mBaseName

char CBuilder::mBaseName[512]

Definition at line 534 of file DecomposeSample.cpp.

◆ mFph

FILE* CBuilder::mFph

Definition at line 531 of file DecomposeSample.cpp.

◆ mHullCount

unsigned int CBuilder::mHullCount

Definition at line 530 of file DecomposeSample.cpp.

◆ mHulls

ConvexResultVector CBuilder::mHulls

Definition at line 535 of file DecomposeSample.cpp.

◆ mObjName

char CBuilder::mObjName[512]

Definition at line 533 of file DecomposeSample.cpp.

◆ mSkinWidth

float CBuilder::mSkinWidth

Definition at line 529 of file DecomposeSample.cpp.


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


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Wed Mar 2 2022 00:04:59