MeVisLab Toolbox Reference
ml::WEMIndexedFace Class 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.
 

Detailed Description

Defines the mesh component: an face holding a list of up to 100 indices.

Definition at line 24 of file WEMIndexedFace.h.

Constructor & Destructor Documentation

◆ WEMIndexedFace() [1/2]

ml::WEMIndexedFace::WEMIndexedFace ( )

Standard constructor.

◆ WEMIndexedFace() [2/2]

ml::WEMIndexedFace::WEMIndexedFace ( const WEMIndexedFace & f)

Standard copy constructor.

◆ ~WEMIndexedFace()

virtual ml::WEMIndexedFace::~WEMIndexedFace ( )
virtual

Standard destructor.

Member Function Documentation

◆ addIndex()

void ml::WEMIndexedFace::addIndex ( int index)
inline

Adds an index (dynamic).

Definition at line 42 of file WEMIndexedFace.h.

◆ addTextelIndex()

void ml::WEMIndexedFace::addTextelIndex ( int index)
inline

Returns the textel index (dynamic).

Definition at line 49 of file WEMIndexedFace.h.

◆ getIndexAt()

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.

◆ getNormal()

Vector3 ml::WEMIndexedFace::getNormal ( ) const
inline

Returns the normal.

Definition at line 52 of file WEMIndexedFace.h.

◆ getNumIndices()

unsigned int ml::WEMIndexedFace::getNumIndices ( ) const
inline

Returns the number of nodes.

Definition at line 38 of file WEMIndexedFace.h.

◆ getNumTextelIndices()

unsigned int ml::WEMIndexedFace::getNumTextelIndices ( ) const
inline

Returns the number of textels.

Definition at line 45 of file WEMIndexedFace.h.

◆ getTextelIndexAt()

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.

◆ mirror()

void ml::WEMIndexedFace::mirror ( )

Mirrors the face.

◆ setNormal()

void ml::WEMIndexedFace::setNormal ( Vector3 normal)
inline

Sets the normal.

Definition at line 54 of file WEMIndexedFace.h.

◆ tessellate()

WEMVector< WEMIndexedFace > * ml::WEMIndexedFace::tessellate ( WEMPatch * wemPatch)

Partitions concave polygons.


The documentation for this class was generated from the following file: