Go to the documentation of this file.
9 #if !defined(PWGM_HIDE_UNSTRUCTURED_API)
139 (PWGM_HELEMENT_OUT_GMIMPL(h1) == PWGM_HELEMENT_OUT_GMIMPL(h2));
172 else if (PWGM_HELEMENT_OUT_GMIMPL(h1) < PWGM_HELEMENT_OUT_GMIMPL(h2)) {
181 return (h1 != h2) && !(h1 < h2);
202 (PWGM_HVERTEX_OUT_GMIMPL(h1) == PWGM_HVERTEX_OUT_GMIMPL(h2));
223 else if (PWGM_HVERTEX_OUT_GMIMPL(h1) < PWGM_HVERTEX_OUT_GMIMPL(h2)) {
232 return (h1 != h2) && !(h1 < h2);
235 #endif // PWGM_HIDE_UNSTRUCTURED_API
static PWP_UINT32 faceCB(PWGM_FACESTREAM_DATA *data)
void * userData
The PwModStreamFaces user data ptr.
Grid element handle declaration.
virtual PWP_UINT32 streamBegin(const PWGM_BEGINSTREAM_DATA &data)
Virtual begin stream implementation.
void * userData
The PwModStreamFaces user data ptr.
static PWP_UINT64 ndxMapperCB(const PWP_UINT64 pwgmNdx, void *data)
bool operator==(const PWGM_HELEMENT &h1, const PWGM_HELEMENT &h2)
PWP_UINT32 PwModVertexCount(PWGM_HGRIDMODEL model)
Get the number of model vertex elements.
PWP_UINT32 PwModDomainCount(PWGM_HGRIDMODEL model)
Get the number of domain elements in the model.
The unstructured grid model class.
#define PWGM_HVERTEX_ID(h)
gets the vertex's guid from the handle
An opaque handle to a grid model.
PWP_VOID PwModDefaultEnumElementOrder(PWGM_HGRIDMODEL model)
Reset the enumElements() ordering sequence to the default (none).
#define PWGM_HELEMENT_PTYPE(h)
gets the element's parent handle type
The grid model base class.
static PWP_UINT32 endCB(PWGM_ENDSTREAM_DATA *data)
virtual PWP_UINT32 streamEnd(const PWGM_ENDSTREAM_DATA &data)
Virtual end stream implementation.
Pointwise Grid Model API Specification (PWGM-API)
PWGM_ENUM_ELEMORDER
Types of element orderings.
bool operator>(const PWGM_HELEMENT &h1, const PWGM_HELEMENT &h2)
#define PWGM_HELEMENT_ID(h)
gets the element's guid from the handle
virtual ~CaeUnsGridModel()
Destructor.
bool operator<(const PWGM_HELEMENT &h1, const PWGM_HELEMENT &h2)
Data passed to a PWGM_BEGINSTREAMCB callback function.
void * userData
The PwModStreamFaces user data ptr.
bool customIndexSchemeReady(CaeUnsCustomIndexHandler &handler) const
Notify export framework that custom index mapper is ready for use.
bool streamFaces(PWGM_ENUM_FACEORDER order, CaeFaceStreamHandler &handler) const
Initiate ordered face streaming to the given handler.
The unstructured grid model index mapper handler class.
CaeUnsGridModel & operator=(const CaeUnsGridModel &rhs)
Assignment operator.
Data passed to a PWGM_ENDSTREAMCB callback function.
Data passed to a PWGM_FACESTREAMCB callback function.
bool operator!=(const PWGM_HELEMENT &h1, const PWGM_HELEMENT &h2)
virtual PWP_UINT64 mapIndex(const PWP_UINT64 pwgmNdx)=0
Pure virtual index mapping method.
PWP_BOOL PwModStreamFaces(PWGM_HGRIDMODEL model, PWGM_ENUM_FACEORDER order, PWGM_BEGINSTREAMCB beginCB, PWGM_FACESTREAMCB faceCB, PWGM_ENDSTREAMCB endCB, void *userData)
Stream the grid model's faces to a callback function in the specified order.
The unstructured grid model face stream handler class.
An opaque handle to a grid vertex element.
#define PWGM_HELEMENT_PID(h)
gets the element's parent id
PWP_UINT32 patchCount() const
Get the number of boundary patches in the model.
Pointwise Plugin API (PWP-API)
PWP_BOOL PwModAppendEnumElementOrder(PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order)
Append an element order to the enumElements() ordering sequence.
PWP_UINT32 vertexCount() const
Get the number of unstructured vertices in the model.
static PWP_UINT32 beginCB(PWGM_BEGINSTREAM_DATA *data)
PWGM_ENUM_FACEORDER
The orderings supported by face streaming.
PWP_BOOL PwModCustomIndexSchemeReady(PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb, void *data)
Notifys the Pointwise export framework that the custom, unstructured index map is ready.
virtual PWP_UINT32 streamFace(const PWGM_FACESTREAM_DATA &data)=0
Pure virtual face stream handler method.
PWP_VOID defaultEnumElementOrder() const
Reset to the default element type order.
PWGM_HGRIDMODEL model_
The bound PWGM_HGRIDMODEL.
bool appendEnumElementOrder(PWGM_ENUM_ELEMORDER order) const
Append an element type to the current face streaming order.
CaeUnsGridModel(PWGM_HGRIDMODEL model)
Constructor.