CFx SDK Documentation 2024 SP0
|
#include <GiProgressiveMesh.h>
Public Types | |
enum | Status { kStatus_Ok = 0 , kStatus_DegenerateFacesIgnored = 1 , kStatus_NonManifoldFacesIgnored = 1 << 1 , kStatus_InvalidFacesIgnored = 1 << 2 , kStatus_ZeroNormalFacesIgnored = 1 << 3 , kStatus_NonTriangleFaceTriangulated = 1 << 4 } |
Static Public Member Functions | |
static OdGiProgressiveMeshGenerator * | createObject () |
This class represents interface of Progressive Mesh generator
Definition at line 665 of file GiProgressiveMesh.h.
Status of generated Progressive mesh
Enumerator | |
---|---|
kStatus_Ok | |
kStatus_DegenerateFacesIgnored | |
kStatus_NonManifoldFacesIgnored | |
kStatus_InvalidFacesIgnored | |
kStatus_ZeroNormalFacesIgnored | |
kStatus_NonTriangleFaceTriangulated |
Definition at line 671 of file GiProgressiveMesh.h.
|
pure virtual |
Generates progressive mesh from full-presented mesh
pVertexData | [in] A pointer to the vertex data |
pFaceData | [in] A pointer to the face data |
pEdgeData | [in] A pointer to the edge data |
|
static |
Creates instance of OdGiProgressiveMeshGenerator
|
pure virtual |
Creates progressive mesh from stream buffer in partial mode.
pBuff | [in] Pointer to the progressive mesh stream. |
pDataExtractor | [in] Pointer to the data extractor. |
pConverted | [in] Pointer to the Id Converter. |
version | [in] Progressive mesh stream version. |
|
pure virtual |
Creates progressive mesh from stream buffer
pBuff | [in] Pointer to the progressive mesh stream. |
pConverted | [in] Pointer to the Id Converter. |
version | [in] Progressive mesh stream version. |
|
pure virtual |
Returns mesh simplification options
|
pure virtual |
Returns mesh simplification options
|
pure virtual |
Specifies mesh simplification options
|
pure virtual |
Constructs full-presented mesh for progressive mesh generation
nPoints | [in] A number of input points |
points | [in] A pointer to the input points array |
faceListSize | [in] A size of face list |
faces | [in] A pointer to the faces list |