Go to the documentation of this file.
9 #if !defined(PWGM_HIDE_UNSTRUCTURED_API)
11 #ifndef _CAEUNSGRIDMODEL_H_
12 #define _CAEUNSGRIDMODEL_H_
288 #endif // _CAEUNSGRIDMODEL_H_
290 #endif // PWGM_HIDE_UNSTRUCTURED_API
void * userData
The PwModStreamFaces user data ptr.
bool operator>(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
Grid element handle declaration.
virtual ~CaeUnsCustomIndexHandler()
Destructor.
virtual PWP_UINT32 streamBegin(const PWGM_BEGINSTREAM_DATA &data)
Virtual begin stream implementation.
void * userData
The PwModStreamFaces user data ptr.
const char * PwFaceOrderToText(PWGM_ENUM_FACEORDER faceOrder)
Maps a PWGM_ENUM_FACEORDER value to a human readable string.
The unstructured grid model class.
PWP_UINT32 PwModEnumElementCount(PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts)
Get the number of enumerated model block elements.
bool operator<(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
An opaque handle to a grid model.
The grid model base class.
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.
virtual ~CaeFaceStreamHandler()
Destructor.
The unstructured element group class.
static const char * faceOrderStr(PWGM_ENUM_FACEORDER order)
Maps a face order id to a string value.
bool operator==(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
static const char * elemTypeStr(PWGM_ENUM_ELEMTYPE type)
Maps an element type id to a string value.
PWGM_ENUM_ELEMTYPE
Element type ids.
virtual ~CaeUnsGridModel()
Destructor.
virtual PWGM_HELEMENT enumElementsImpl(PWP_UINT32 ndx) const =0
Get an element in the group.
Element count information.
Data passed to a PWGM_BEGINSTREAMCB callback function.
PWGM_HELEMENT PwModEnumElements(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model's block elements.
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.
virtual PWP_UINT64 mapIndex(const PWP_UINT64 pwgmNdx)=0
Pure virtual index mapping method.
The unstructured grid model face stream handler class.
An opaque handle to a grid vertex element.
PWP_UINT32 patchCount() const
Get the number of boundary patches in the model.
Pointwise Plugin API (PWP-API)
virtual PWP_UINT32 elementCountImpl(PWGM_ELEMCOUNTS *pDetails) const =0
Get the number of elements in the group.
PWP_UINT32 vertexCount() const
Get the number of unstructured vertices in the model.
PWGM_ENUM_FACEORDER
The orderings supported by face streaming.
virtual PWP_UINT32 streamFace(const PWGM_FACESTREAM_DATA &data)=0
Pure virtual face stream handler method.
bool operator!=(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
PWP_VOID defaultEnumElementOrder() const
Reset to the default element type order.
PWGM_HGRIDMODEL model_
The bound PWGM_HGRIDMODEL.
const char * PwElemTypeToText(PWGM_ENUM_ELEMTYPE type)
Maps a PWGM_ENUM_ELEMTYPE value to a human readable string.
bool appendEnumElementOrder(PWGM_ENUM_ELEMORDER order) const
Append an element type to the current face streaming order.
CaeUnsGridModel(PWGM_HGRIDMODEL model)
Constructor.