Public Member Functions | |
| aiFace (const aiFace &o) | |
| Copy constructor. Copy the index array. | |
| aiFace () | |
| Default constructor. | |
| bool | operator!= (const aiFace &o) const |
| Inverse comparison operator. | |
| const aiFace & | operator= (const aiFace &o) |
| Assignment operator. Copy the index array. | |
| bool | operator== (const aiFace &o) const |
| Comparison operator. | |
| ~aiFace () | |
| Default destructor. Delete the index array. | |
Public Attributes | |
| unsigned int * | mIndices |
| Pointer to the indices array. Size of the array is given in numIndices. | |
| unsigned int | mNumIndices |
| Number of indices defining this face. 3 for a triangle, >3 for polygon. | |
If mNumIndices is 3, we call the face 'triangle', for mNumIndices > 3 it's called 'polygon' (hey, that's just a definition!).
aiMesh::mPrimitiveTypes can be queried to quickly examine which types of primitive are actually present in a mesh. The aiProcess_SortByPType flag executes a special post-processing algorithm which splits meshes with *different* primitive types mixed up (e.g. lines and triangles) in several 'clean' submeshes. Furthermore there is a configuration option ( AI_CONFIG_PP_SBP_REMOVE) to force aiProcess_SortByPType to remove specific kinds of primitives from the imported scene, completely and forever. In many cases you'll probably want to set this setting to
| aiFace::aiFace | ( | ) | [inline] |
Default constructor.
| aiFace::~aiFace | ( | ) | [inline] |
Default destructor. Delete the index array.
| aiFace::aiFace | ( | const aiFace & | o | ) | [inline] |
Copy constructor. Copy the index array.
| bool aiFace::operator!= | ( | const aiFace & | o | ) | const [inline] |
Inverse comparison operator.
Checks whether the index array of two faces is NOT identical
Assignment operator. Copy the index array.
| bool aiFace::operator== | ( | const aiFace & | o | ) | const [inline] |
Comparison operator.
Checks whether the index array of two faces is identical
| unsigned int* aiFace::mIndices |
Pointer to the indices array. Size of the array is given in numIndices.
| unsigned int aiFace::mNumIndices |
Number of indices defining this face. 3 for a triangle, >3 for polygon.
1.5.8