Pointwise Plugin SDK
|
The model unstructured element data class. More...
#include <CaeUnsElement.h>
Public Member Functions | |
PWGM_HELEMENT & | blockElement () |
Gets a non-const ref to the owning block's element handle. More... | |
const PWGM_HELEMENT & | blockElement () const |
Gets a const ref to the owning block's element handle. More... | |
PWP_UINT32 | blockId () const |
Gets the id (index) of the element's owning block. More... | |
CaeUnsEnumElementData () | |
Default constructor. More... | |
CaeUnsEnumElementData (const CaeUnsEnumElementData &src) | |
Copy constructor. More... | |
CaeUnsEnumElementData (const PWGM_ENUMELEMDATA &eed) | |
Cast/Copy constructor. More... | |
PWGM_ENUMELEMDATA & | enumElementData () |
Gets a non-const ref to the underlying PWGM_ENUMELEMDATA struct. More... | |
const PWGM_ENUMELEMDATA & | enumElementData () const |
Gets a const ref to the underlying PWGM_ENUMELEMDATA struct. More... | |
operator const PWGM_ENUMELEMDATA & () const | |
Const PWGM_ENUMELEMDATA casting operator. More... | |
operator const PWGM_HELEMENT & () const | |
Const PWGM_HELEMENT casting operator. More... | |
operator PWGM_ENUMELEMDATA & () | |
Non-const PWGM_ENUMELEMDATA casting operator. More... | |
operator PWGM_HELEMENT & () | |
Non-const PWGM_HELEMENT casting operator. More... | |
CaeUnsEnumElementData & | operator= (const CaeUnsEnumElementData &src) |
Assignment operator. More... | |
CaeUnsEnumElementData & | operator= (const PWGM_ENUMELEMDATA &eed) |
Assignment operator. More... | |
~CaeUnsEnumElementData () | |
Destructor. More... | |
![]() | |
CaeUnsElementData () | |
Default constructor. More... | |
CaeUnsElementData (const CaeUnsElementData &src) | |
Copy constructor. More... | |
CaeUnsElementData (const PWGM_ELEMDATA &ed) | |
Cast/Copy constructor. More... | |
PWGM_ELEMDATA & | elementData () |
Gets a non-const ref to the underlying PWGM_ELEMDATA struct. More... | |
const PWGM_ELEMDATA & | elementData () const |
Gets a const ref to the underlying PWGM_ELEMDATA struct. More... | |
PWP_UINT32 | indexAt (PWP_UINT32 ndx) const |
Gets the global index of ndx'th vertex. More... | |
bool | isOfType (ElementType type) const |
Returns true if element is of the specified ElementType. More... | |
bool | isOfType (PWGM_ENUM_ELEMTYPE type) const |
Returns true if element is of the specified PWGM_ENUM_ELEMTYPE. More... | |
bool | isValid () const |
Returns true if element type is not Invalid. More... | |
operator const PWGM_ELEMDATA & () const | |
Const PWGM_ELEMDATA casting operator. More... | |
operator PWGM_ELEMDATA & () | |
Non-const PWGM_ELEMDATA casting operator. More... | |
CaeUnsElementData & | operator= (const CaeUnsElementData &src) |
Assignment operator. More... | |
CaeUnsElementData & | operator= (const PWGM_ELEMDATA &ed) |
Assignment operator. More... | |
ElementType | type () const |
Gets the element type. More... | |
PWGM_HVERTEX | vertAt (PWP_UINT32 ndx) const |
Gets the handle of ndx'th vertex. More... | |
PWP_UINT32 | vertCount () const |
Gets the number of vertices in the element. More... | |
~CaeUnsElementData () | |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | ElementType { Bar = PWGM_ELEMTYPE_BAR, Hex = PWGM_ELEMTYPE_HEX, Quad = PWGM_ELEMTYPE_QUAD, Tri = PWGM_ELEMTYPE_TRI, Tet = PWGM_ELEMTYPE_TET, Wedge = PWGM_ELEMTYPE_WEDGE, Pyramid = PWGM_ELEMTYPE_PYRAMID, Point = PWGM_ELEMTYPE_POINT, NumTypes = PWGM_ELEMTYPE_SIZE, LastType = NumTypes - 1, Invalid = NumTypes } |
The valid element type id values. More... | |
![]() | |
static const PWP_UINT32 | MaxNumVerts = 8 |
The maximum number of vertices per element. More... | |
![]() | |
CaeUnsElementData (const PWGM_ELEMDATA &ed, const PWGM_HELEMENT &he) | |
Protected constructor used by the CaeUnsEnumElementData subclass. More... | |
![]() | |
PWGM_ENUMELEMDATA | eed_ |
The element data. More... | |
The model unstructured element data class.
The CaeUnsEnumElementData class represents the data available for an unstructured grid model element. This class's data is populated with a call to one of the overloaded CaeUnsElement::data() methods. Grid model element indices are consistent with the owner/neighbor cell indices returned by the CaeFaceStreamHandler interface.
This class is equivalent to CaeUnsElementData with the addition of information about the block that owns this element.
Definition at line 287 of file CaeUnsElement.h.
|
inline |
Default constructor.
Constructs an invalid element data object.
Definition at line 295 of file CaeUnsElement.h.
|
inline |
Copy constructor.
Definition at line 302 of file CaeUnsElement.h.
|
inline |
Cast/Copy constructor.
Definition at line 309 of file CaeUnsElement.h.
|
inline |
Destructor.
Definition at line 316 of file CaeUnsElement.h.
|
inline |
Gets a non-const ref to the owning block's element handle.
Definition at line 353 of file CaeUnsElement.h.
References CaeUnsElementData::eed_, and PWGM_ENUMELEMDATA::hBlkElement.
|
inline |
Gets a const ref to the owning block's element handle.
Definition at line 360 of file CaeUnsElement.h.
References CaeUnsElementData::eed_, and PWGM_ENUMELEMDATA::hBlkElement.
|
inline |
Gets the id (index) of the element's owning block.
This index can be used to construct an unstructured block object.
Definition at line 380 of file CaeUnsElement.h.
References CaeUnsElementData::eed_, PWGM_ENUMELEMDATA::hBlkElement, and PWGM_HELEMENT_PID.
|
inline |
Gets a non-const ref to the underlying PWGM_ENUMELEMDATA struct.
Definition at line 339 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.
|
inline |
Gets a const ref to the underlying PWGM_ENUMELEMDATA struct.
Definition at line 346 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.
|
inline |
Const PWGM_ENUMELEMDATA casting operator.
Definition at line 394 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.
|
inline |
Const PWGM_HELEMENT casting operator.
Definition at line 408 of file CaeUnsElement.h.
References CaeUnsElementData::eed_, and PWGM_ENUMELEMDATA::hBlkElement.
|
inline |
Non-const PWGM_ENUMELEMDATA casting operator.
Definition at line 387 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.
|
inline |
Non-const PWGM_HELEMENT casting operator.
Definition at line 401 of file CaeUnsElement.h.
References CaeUnsElementData::eed_, and PWGM_ENUMELEMDATA::hBlkElement.
|
inline |
Assignment operator.
Definition at line 322 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.
|
inline |
Assignment operator.
Definition at line 331 of file CaeUnsElement.h.
References CaeUnsElementData::eed_.