ml::WEMQuadPatch Class Reference

This represents a WEMPatch consisting of quads only. More...

#include <WEMQuadPatch.h>

Inheritance diagram for ml::WEMQuadPatch:

ml::WEMPatch

List of all members.

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 ()
 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< WEMQuad > * getFaces ()
 Get pointer to faces.
const WEMIndexVector< WEMQuad > * getFaces () const
 Get pointer to faces.
virtual WEMFacegetFaceAt (unsigned int index)
 Get face at given index.
virtual const WEMFacegetFaceAt (unsigned int index) const
 Get face at given index.
WEMQuadgetQuadAt (unsigned int index)
 Get WEMQuad at given index.
const WEMQuadgetQuadAt (unsigned int index) const
 Get WEMQuad at given index.
virtual WEMFaceaddFace ()
 Instantiates a new WEMQuad and adds it to the internal faces vector. Returns a pointer to this newly added face.
WEMQuadaddQuad ()
 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.


Detailed Description

This represents a WEMPatch consisting of quads only.

Definition at line 23 of file WEMQuadPatch.h.


Constructor & Destructor Documentation

ml::WEMQuadPatch::WEMQuadPatch ( unsigned int  bs = 8192  ) 

Standard constructor.

ml::WEMQuadPatch::WEMQuadPatch ( WEM wem,
unsigned int  bs = 8192 
)

Constructor which takes a pointer to the WEM this WEMPatch is in.

In this method, the unique id is set.

ml::WEMQuadPatch::WEMQuadPatch ( const WEMQuadPatch wemPatch  ) 

Copy constructor.

virtual ml::WEMQuadPatch::~WEMQuadPatch (  )  [virtual]

Standard destructor.


Member Function Documentation

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]

Dispose of internal data structures.

Reimplemented from ml::WEMPatch.

virtual const WEMFace* ml::WEMQuadPatch::getFaceAt ( unsigned int  index  )  const [inline, virtual]

Get face at given index.

Implements ml::WEMPatch.

Definition at line 56 of file WEMQuadPatch.h.

References getFaceAt().

Referenced by getFaceAt().

virtual WEMFace* ml::WEMQuadPatch::getFaceAt ( unsigned int  index  )  [inline, virtual]

Get face at given index.

Implements ml::WEMPatch.

Definition at line 54 of file WEMQuadPatch.h.

const WEMIndexVector<WEMQuad>* ml::WEMQuadPatch::getFaces (  )  const [inline]

Get pointer to faces.

Definition at line 49 of file WEMQuadPatch.h.

References getFaces().

Referenced by getFaces().

WEMIndexVector<WEMQuad>* ml::WEMQuadPatch::getFaces (  )  [inline]

Get pointer to faces.

Definition at line 47 of file WEMQuadPatch.h.

virtual unsigned int ml::WEMQuadPatch::getNumFaces (  )  const [inline, virtual]

Returns the number of faces in the WEM.

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.

const WEMQuad* ml::WEMQuadPatch::getQuadAt ( unsigned int  index  )  const [inline]

Get WEMQuad at given index.

Definition at line 60 of file WEMQuadPatch.h.

References getQuadAt().

Referenced by getQuadAt().

WEMQuad* ml::WEMQuadPatch::getQuadAt ( unsigned int  index  )  [inline]

Get WEMQuad at given index.

Definition at line 58 of file WEMQuadPatch.h.


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

Generated on Sat Sep 3 18:39:41 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8