#include <WEMPolygonPatch.h>

Public Member Functions | |
| WEMPolygonPatch (unsigned int bs=8192) | |
| Standard constructor. | |
| WEMPolygonPatch (WEM *wem, unsigned int bs=8192) | |
| Constructor which takes a pointer to the WEM this WEMPatch is in. | |
| WEMPolygonPatch (const WEMPolygonPatch &wemPatch) | |
| Copy constructor. | |
| virtual | ~WEMPolygonPatch () |
| Standard destructor. | |
| virtual void | dispose () |
| Dispose of internal data structures. | |
| virtual PatchTypes | getPatchType () const |
| Get mesh type. | |
| virtual unsigned int | getNumFaces () const |
| Returns the number of faces in the WEM. | |
| WEMIndexVector< WEMPolygon > * | getFaces () |
| Get pointer to faces. | |
| const WEMIndexVector < WEMPolygon > * | getFaces () const |
| Get pointer to faces. | |
| virtual WEMFace * | getFaceAt (unsigned int index) |
| Get face at given index. | |
| virtual const WEMFace * | getFaceAt (unsigned int index) const |
| Get face at given index. | |
| WEMPolygon * | getPolygonAt (unsigned int index) |
| Get WEMPolygon at given index. | |
| const WEMPolygon * | getPolygonAt (unsigned int index) const |
| Get WEMPolygon at given index. | |
| virtual WEMFace * | addFace () |
| Instantiates a new WEMPolygon and adds it to the internal faces vector. Returns a pointer to this newly added face. | |
| WEMPolygon * | addPolygon () |
| Instantiates a new WEMPolygon and adds it to the internal faces vector. Returns a pointer to this newly added face. | |
| void | delPolygon (WEMPolygon *polygon) |
| Deletes a polygon and erases it from the internal faces vector. | |
| void | convertIndexedFace (WEMIndexedFace *indexedFace) |
| Add indexed face to current patch. | |
Definition at line 24 of file WEMPolygonPatch.h.
| ml::WEMPolygonPatch::WEMPolygonPatch | ( | unsigned int | bs = 8192 |
) |
Standard constructor.
| ml::WEMPolygonPatch::WEMPolygonPatch | ( | WEM * | wem, | |
| unsigned int | bs = 8192 | |||
| ) |
| ml::WEMPolygonPatch::WEMPolygonPatch | ( | const WEMPolygonPatch & | wemPatch | ) |
Copy constructor.
| virtual ml::WEMPolygonPatch::~WEMPolygonPatch | ( | ) | [virtual] |
Standard destructor.
| virtual WEMFace* ml::WEMPolygonPatch::addFace | ( | ) | [virtual] |
Instantiates a new WEMPolygon and adds it to the internal faces vector. Returns a pointer to this newly added face.
Implements ml::WEMPatch.
| WEMPolygon* ml::WEMPolygonPatch::addPolygon | ( | ) |
Instantiates a new WEMPolygon and adds it to the internal faces vector. Returns a pointer to this newly added face.
| void ml::WEMPolygonPatch::convertIndexedFace | ( | WEMIndexedFace * | indexedFace | ) |
Add indexed face to current patch.
| void ml::WEMPolygonPatch::delPolygon | ( | WEMPolygon * | polygon | ) |
Deletes a polygon and erases it from the internal faces vector.
| virtual void ml::WEMPolygonPatch::dispose | ( | ) | [virtual] |
| virtual const WEMFace* ml::WEMPolygonPatch::getFaceAt | ( | unsigned int | index | ) | const [inline, virtual] |
Get face at given index.
Implements ml::WEMPatch.
Definition at line 57 of file WEMPolygonPatch.h.
References getFaceAt().
Referenced by getFaceAt().
| virtual WEMFace* ml::WEMPolygonPatch::getFaceAt | ( | unsigned int | index | ) | [inline, virtual] |
| const WEMIndexVector<WEMPolygon>* ml::WEMPolygonPatch::getFaces | ( | ) | const [inline] |
Get pointer to faces.
Definition at line 50 of file WEMPolygonPatch.h.
References getFaces().
Referenced by getFaces().
| WEMIndexVector<WEMPolygon>* ml::WEMPolygonPatch::getFaces | ( | ) | [inline] |
| virtual unsigned int ml::WEMPolygonPatch::getNumFaces | ( | ) | const [inline, virtual] |
Returns the number of faces in the WEM.
Reimplemented from ml::WEMPatch.
Definition at line 46 of file WEMPolygonPatch.h.
| virtual PatchTypes ml::WEMPolygonPatch::getPatchType | ( | ) | const [inline, virtual] |
Get mesh type.
Implements ml::WEMPatch.
Definition at line 41 of file WEMPolygonPatch.h.
References ml::WEM_PATCH_POLYGONS.
| const WEMPolygon* ml::WEMPolygonPatch::getPolygonAt | ( | unsigned int | index | ) | const [inline] |
Get WEMPolygon at given index.
Definition at line 61 of file WEMPolygonPatch.h.
References getPolygonAt().
Referenced by getPolygonAt().
| WEMPolygon* ml::WEMPolygonPatch::getPolygonAt | ( | unsigned int | index | ) | [inline] |
1.5.8