MeVisLabToolboxReference
|
This represents a WEMPatch consisting of quads only. More...
#include <WEMQuadPatch.h>
Public Member Functions | |
WEMQuadPatch (unsigned int bs=8192) | |
Standard constructor. | |
WEMQuadPatch (WEM *wem, unsigned int bs=8192) | |
Constructor which takes a pointer to the WEM this WEMPatch is in. | |
WEMQuadPatch (const WEMQuadPatch &wemPatch) | |
Copy constructor. | |
virtual | ~WEMQuadPatch () |
Standard destructor. | |
virtual void | dispose () |
Disposes of internal data structures. | |
virtual PatchTypes | getPatchType () const |
Get mesh type. | |
virtual unsigned int | getNumFaces () const |
Returns the number of faces in the patch. | |
WEMIndexVector< WEMQuad > * | getFaces () |
Returns the pointer to the internal faces structure. | |
const WEMIndexVector< WEMQuad > * | getFaces () const |
Returns the pointer to the internal faces structure. | |
virtual WEMFace * | getFaceAt (unsigned int index) |
Returns the face at the given index. | |
virtual const WEMFace * | getFaceAt (unsigned int index) const |
Returns the face at the given index. | |
WEMQuad * | getQuadAt (unsigned int index) |
Returns the WEMQuad at the given index. | |
const WEMQuad * | getQuadAt (unsigned int index) const |
Returns the WEMQuad at the given index. | |
virtual WEMFace * | addFace () |
Instantiates a new WEMQuad and adds it to the internal faces vector. Returns a pointer to this newly added face. | |
WEMQuad * | addQuad () |
Instantiates a new WEMQuad and adds it to the internal faces vector. Returns a pointer to this newly added face. | |
void | delQuad (WEMQuad *quad) |
Deletes a quad and erases it from the internal faces vector. |
This represents a WEMPatch consisting of quads only.
Definition at line 23 of file WEMQuadPatch.h.
ml::WEMQuadPatch::WEMQuadPatch | ( | unsigned int | bs = 8192 | ) |
Standard constructor.
ml::WEMQuadPatch::WEMQuadPatch | ( | WEM * | wem, |
unsigned int | bs = 8192 |
||
) |
ml::WEMQuadPatch::WEMQuadPatch | ( | const WEMQuadPatch & | wemPatch | ) |
Copy constructor.
virtual ml::WEMQuadPatch::~WEMQuadPatch | ( | ) | [virtual] |
Standard destructor.
virtual WEMFace* ml::WEMQuadPatch::addFace | ( | ) | [virtual] |
Instantiates a new WEMQuad and adds it to the internal faces vector. Returns a pointer to this newly added face.
Implements ml::WEMPatch.
WEMQuad* ml::WEMQuadPatch::addQuad | ( | ) |
Instantiates a new WEMQuad and adds it to the internal faces vector. Returns a pointer to this newly added face.
void ml::WEMQuadPatch::delQuad | ( | WEMQuad * | quad | ) |
Deletes a quad and erases it from the internal faces vector.
virtual void ml::WEMQuadPatch::dispose | ( | ) | [virtual] |
Disposes of internal data structures.
Reimplemented from ml::WEMPatch.
virtual WEMFace* ml::WEMQuadPatch::getFaceAt | ( | unsigned int | index | ) | [inline, virtual] |
Returns the face at the given index.
Implements ml::WEMPatch.
Definition at line 54 of file WEMQuadPatch.h.
virtual const WEMFace* ml::WEMQuadPatch::getFaceAt | ( | unsigned int | index | ) | const [inline, virtual] |
Returns the face at the given index.
Implements ml::WEMPatch.
Definition at line 56 of file WEMQuadPatch.h.
References getFaceAt().
Referenced by getFaceAt().
const WEMIndexVector<WEMQuad>* ml::WEMQuadPatch::getFaces | ( | ) | const [inline] |
Returns the pointer to the internal faces structure.
Definition at line 49 of file WEMQuadPatch.h.
References getFaces().
Referenced by getFaces().
WEMIndexVector<WEMQuad>* ml::WEMQuadPatch::getFaces | ( | ) | [inline] |
Returns the pointer to the internal faces structure.
Definition at line 47 of file WEMQuadPatch.h.
virtual unsigned int ml::WEMQuadPatch::getNumFaces | ( | ) | const [inline, virtual] |
Returns the number of faces in the patch.
Reimplemented from ml::WEMPatch.
Definition at line 45 of file WEMQuadPatch.h.
virtual PatchTypes ml::WEMQuadPatch::getPatchType | ( | ) | const [inline, virtual] |
Get mesh type.
Implements ml::WEMPatch.
Definition at line 40 of file WEMQuadPatch.h.
References ml::WEM_PATCH_QUADS.
WEMQuad* ml::WEMQuadPatch::getQuadAt | ( | unsigned int | index | ) | [inline] |
Returns the WEMQuad at the given index.
Definition at line 58 of file WEMQuadPatch.h.
const WEMQuad* ml::WEMQuadPatch::getQuadAt | ( | unsigned int | index | ) | const [inline] |
Returns the WEMQuad at the given index.
Definition at line 60 of file WEMQuadPatch.h.
References getQuadAt().
Referenced by getQuadAt().