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. | |
WEMIndexedFace (const WEMIndexedFace &f) | |
Standard copy constructor. | |
virtual | ~WEMIndexedFace () |
Standard destructor. | |
unsigned int | getNumIndices () const |
Returns the number of nodes. | |
int | getIndexAt (unsigned int index) const |
Returns the index at the given index in the face. | |
void | addIndex (int index) |
Adds an index (dynamic). | |
unsigned int | getNumTextelIndices () const |
Returns the number of textels. | |
int | getTextelIndexAt (unsigned int index) const |
Returns the textel index at the given index in the face. | |
void | addTextelIndex (int index) |
Returns the textel index (dynamic). | |
Vector3 | getNormal () const |
Returns the normal. | |
void | setNormal (Vector3 normal) |
Sets the normal. | |
void | mirror () |
Mirrors the face. | |
WEMVector< WEMIndexedFace > * | tessellate (WEMPatch *wemPatch) |
Partitions concave polygons. | |
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.
Adds an index (dynamic).
Definition at line 42 of file WEMIndexedFace.h.
Returns the textel index (dynamic).
Definition at line 49 of file WEMIndexedFace.h.
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.
Returns the number of nodes.
Definition at line 38 of file WEMIndexedFace.h.
Returns the number of textels.
Definition at line 45 of file WEMIndexedFace.h.
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.
Sets the normal.
Definition at line 54 of file WEMIndexedFace.h.
WEMVector< WEMIndexedFace > * ml::WEMIndexedFace::tessellate | ( | WEMPatch * | wemPatch | ) |
Partitions concave polygons.