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. 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...
 

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: