#include <Opcode.h>
Definition at line 54 of file Opcode.h.
MeshInterface::MeshInterface |
( |
| ) |
|
MeshInterface::~MeshInterface |
( |
| ) |
|
udword MeshInterface::CheckTopology |
( |
| ) |
const |
Checks the mesh itself is valid. Currently we only look for degenerate faces.
- Returns
- number of degenerate faces
Definition at line 182 of file OPC_MeshInterface.cpp.
Fetches a triangle given a triangle index.
- Parameters
-
vp | [out] required triangle's vertex pointers |
index | [in] triangle index |
Definition at line 119 of file Opcode.h.
bool MeshInterface::IsValid |
( |
| ) |
const |
Checks the mesh interface is valid, i.e. things have been setup correctly.
- Returns
- true if valid
Definition at line 164 of file OPC_MeshInterface.cpp.
bool MeshInterface::RemapClient |
( |
udword |
nb_indices, |
|
|
const udword * |
permutation |
|
) |
| const |
Remaps client's mesh according to a permutation.
- Parameters
-
nb_indices | [in] number of indices in the permutation (will be checked against number of triangles) |
permutation | [in] list of triangle indices |
- Returns
- true if success
Definition at line 269 of file OPC_MeshInterface.cpp.
Pointers control: setups object pointers. Must provide access to faces and vertices for a given object.
- Parameters
-
tris | [in] pointer to triangles |
verts | [in] pointer to vertices |
- Returns
- true if success
Definition at line 232 of file OPC_MeshInterface.cpp.
udword Opcode::MeshInterface::mNbTris |
|
private |
Number of triangles in the input model.
Definition at line 179 of file Opcode.h.
udword Opcode::MeshInterface::mNbVerts |
|
private |
Number of vertices in the input model.
Definition at line 180 of file Opcode.h.
Array of indexed triangles.
Definition at line 187 of file Opcode.h.
Array of vertices.
Definition at line 188 of file Opcode.h.
bool Opcode::MeshInterface::Single |
Use single or double precision vertices.
Definition at line 194 of file Opcode.h.
Point MeshInterface::VertexCache |
|
staticprivate |
The documentation for this class was generated from the following files: