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