CFx SDK Documentation 2024 SP0
|
#include <GiProgressiveMesh.h>
Public Types | |
enum | ProgressiveMeshStreamVersion { kVersion1 , kVersion2 , kVersionActual = kVersion2 } |
enum | ProgressiveMeshAutoSelectLOD { kCustom = 0 , kSqrInterpolation = 1 , kSqrtInterpolation = 2 } |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class represents interface of Progressive Mesh
Definition at line 279 of file GiProgressiveMesh.h.
Enumerates level of details auto selection type
Enumerator | |
---|---|
kCustom | |
kSqrInterpolation | |
kSqrtInterpolation |
Definition at line 294 of file GiProgressiveMesh.h.
Defines Progressive Mesh stream version
Enumerator | |
---|---|
kVersion1 | |
kVersion2 | |
kVersionActual |
Definition at line 285 of file GiProgressiveMesh.h.
|
pure virtual |
Retrives LOD auto select options
|
pure virtual |
Retrives LOD auto select options
|
pure virtual |
Retunrs current level of details
|
pure virtual |
Loads all unloaded progresive mesh data and ends partial mode.
|
pure virtual |
Returns extents of fully-detailed progressive mesh
|
pure virtual |
Retrives LOD auto select callback for ProgressiveMeshAutoSelectLOD::kCustom
|
pure virtual |
Calculates RAM usage for this OdGiProgressiveMesh object.
|
pure virtual |
Checks whether progressive mesh is in partial mode or not.
|
pure virtual |
Returns number of faces of progressive mesh on current level of details
|
pure virtual |
Retunrs maximum level of details
|
pure virtual |
Returns number of vertices of progressive mesh on current level of details
|
pure virtual |
Obtains edge data of progressive mesh on current level of details
data | [out] OdGiProgressiveMeshEdgeData instance to store results |
flags | [in] Set of OdGiProgressiveMeshEdgeData::EdgeDataFlags bits that specifies required edge data fields |
|
pure virtual |
Obtains face data of progressive mesh on current level of details
data | [out] OdGiProgressiveMeshFaceData instance to store results |
flags | [in] Set of OdGiProgressiveMeshFaceData::FaceDataFlags bits that specifies required face data fields |
|
pure virtual |
|
pure virtual |
Obtains vertex data of progressive mesh on current level of details
data | [out] OdGiProgressiveMeshVertexData instance to store results |
flags | [in] Set of OdGiProgressiveMeshVertexData::VertexDataFlags bits that specifies required vertex data fields |
OdGiProgressiveMesh::ODRX_DECLARE_MEMBERS | ( | OdGiProgressiveMesh | ) |
|
pure virtual |
Selects most appropriate level of details for specified view
pView | [in] Pointer to the view |
pModelToWorldTransform | [in] Pointer to the "model to world" transformation matrix, may be NULL |
|
pure virtual |
Specifies LOD auto select options
options | [in] LOD auto select options |
|
pure virtual |
Specifies LOD auto select callback for ProgressiveMeshAutoSelectLOD::kCustom
pCallback | [in] LOD auto select callback |
|
pure virtual |
Switchs progressive mesh to the specified level of details
|
pure virtual |
Writes progressive mesh into the stream