MeVisLab Toolbox Reference
|
Defines the mesh component: an face holding a list of up to 100 indices. More...
#include <WEMIndexedFace.h>
Public Member Functions | |
WEMIndexedFace () | |
Standard constructor. More... | |
WEMIndexedFace (const WEMIndexedFace &f) | |
Standard copy constructor. More... | |
virtual | ~WEMIndexedFace () |
Standard destructor. More... | |
unsigned int | getNumIndices () const |
Returns the number of nodes. More... | |
int | getIndexAt (unsigned int index) const |
Returns the index at the given index in the face. More... | |
void | addIndex (int index) |
Adds an index (dynamic). More... | |
unsigned int | getNumTextelIndices () const |
Returns the number of textels. More... | |
int | getTextelIndexAt (unsigned int index) const |
Returns the textel index at the given index in the face. More... | |
void | addTextelIndex (int index) |
Returns the textel index (dynamic). More... | |
Vector3 | getNormal () const |
Returns the normal. More... | |
void | setNormal (Vector3 normal) |
Sets the normal. More... | |
void | mirror () |
Mirrors the face. More... | |
WEMVector< WEMIndexedFace > * | tessellate (WEMPatch *wemPatch) |
Partitions concave polygons. More... | |
Defines the mesh component: an face holding a list of up to 100 indices.
Definition at line 24 of file WEMIndexedFace.h.
ml::WEMIndexedFace::WEMIndexedFace | ( | ) |
Standard constructor.
ml::WEMIndexedFace::WEMIndexedFace | ( | const WEMIndexedFace & | f | ) |
Standard copy constructor.
|
virtual |
Standard destructor.
|
inline |
Adds an index (dynamic).
Definition at line 42 of file WEMIndexedFace.h.
|
inline |
Returns the textel index (dynamic).
Definition at line 49 of file WEMIndexedFace.h.
|
inline |
Returns the index at the given index in the face.
Definition at line 40 of file WEMIndexedFace.h.
|
inline |
Returns the normal.
Definition at line 52 of file WEMIndexedFace.h.
|
inline |
Returns the number of nodes.
Definition at line 38 of file WEMIndexedFace.h.
|
inline |
Returns the number of textels.
Definition at line 45 of file WEMIndexedFace.h.
|
inline |
Returns the textel index at the given index in the face.
Definition at line 47 of file WEMIndexedFace.h.
void ml::WEMIndexedFace::mirror | ( | ) |
Mirrors the face.
|
inline |
Sets the normal.
Definition at line 54 of file WEMIndexedFace.h.
WEMVector<WEMIndexedFace>* ml::WEMIndexedFace::tessellate | ( | WEMPatch * | wemPatch | ) |
Partitions concave polygons.