Pointwise Plugin SDK
|
Functions | |
PWP_UINT32 | PwBlkElementCount (PWGM_HBLOCK block, PWGM_ELEMCOUNTS *pCounts) |
Get the number of block elements. More... | |
PWGM_HELEMENT | PwBlkEnumElements (PWGM_HBLOCK block, PWP_UINT32 ndx) |
Sequentially enumerate the block elements. More... | |
PWP_BOOL | PwDomCondition (PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData) |
Get the domain condition data. More... | |
PWP_UINT32 | PwDomElementCount (PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts) |
Get the number of domain elements. More... | |
PWGM_HELEMENT | PwDomEnumElements (PWGM_HDOMAIN domain, PWP_UINT32 ndx) |
Sequentially enumerate the domain elements. More... | |
PWP_BOOL | PwElemDataMod (PWGM_HELEMENT element, PWGM_ELEMDATA *pElemData) |
Get the element data relative to the model's index space. More... | |
PWP_BOOL | PwElemDataModEnum (PWGM_HELEMENT element, PWGM_ENUMELEMDATA *pElemData) |
Get the enumerated element data relative to the model's index space. More... | |
const char * | PwElemTypeToText (PWGM_ENUM_ELEMTYPE type) |
Maps a PWGM_ENUM_ELEMTYPE value to a human readable string. More... | |
const char * | PwFaceOrderToText (PWGM_ENUM_FACEORDER faceOrder) |
Maps a PWGM_ENUM_FACEORDER value to a human readable string. More... | |
PWP_BOOL | PwModAppendEnumElementOrder (PWGM_HGRIDMODEL model, PWGM_ENUM_ELEMORDER order) |
Append an element order to the enumElements() ordering sequence. More... | |
PWP_BOOL | PwModCustomIndexSchemeReady (PWGM_HGRIDMODEL model, PWGM_INDEXMAPPERCB cb, void *cbData) |
Notifys the Pointwise export framework that the custom, unstructured index map is ready. More... | |
PWP_VOID | PwModDefaultEnumElementOrder (PWGM_HGRIDMODEL model) |
Reset the enumElements() ordering sequence to the default (none). More... | |
PWP_UINT32 | PwModDomainCount (PWGM_HGRIDMODEL model) |
Get the number of domain elements in the model. More... | |
PWGM_HDOMAIN | PwModEnumDomains (PWGM_HGRIDMODEL model, PWP_UINT32 ndx) |
Sequentially enumerate the model domain elements. More... | |
PWP_UINT32 | PwModEnumElementCount (PWGM_HGRIDMODEL model, PWGM_ELEMCOUNTS *pCounts) |
Get the number of enumerated model block elements. More... | |
PWGM_HELEMENT | PwModEnumElements (PWGM_HGRIDMODEL model, PWP_UINT32 ndx) |
Sequentially enumerate the model's block elements. More... | |
PWGM_HVERTEX | PwModEnumVertices (PWGM_HGRIDMODEL model, PWP_UINT32 ndx) |
Sequentially enumerate the model vertex elements. More... | |
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. More... | |
PWP_UINT32 | PwModVertexCount (PWGM_HGRIDMODEL model) |
Get the number of model vertex elements. More... | |
PWP_BOOL | PwVertDataMod (PWGM_HVERTEX vertex, PWGM_VERTDATA *pVertData) |
Get the vertex data relative to the model's index space. More... | |
PWP_BOOL | PwVertIndexMod (PWGM_HVERTEX vertex, PWP_UINT32 *pIndex) |
Get the vertex index relative to the model's index space. More... | |
PWP_BOOL | PwVertXyzVal (PWGM_HVERTEX vertex, PWGM_ENUM_XYZ which, PWGM_XYZVAL *pVal) |
Get a vertex's x, y, or z component value. More... | |
These functions are ONLY used to access unstructured grid models.
PWP_UINT32 PwBlkElementCount | ( | PWGM_HBLOCK | block, |
PWGM_ELEMCOUNTS * | pCounts | ||
) |
Get the number of block elements.
block | A block handle. |
pCounts | Pointer to a PWGM_ELEMCOUNTS buffer. |
Definition at line 309 of file apiGridModel.cxx.
References PWGM_HBLOCK_ISVALID.
PWGM_HELEMENT PwBlkEnumElements | ( | PWGM_HBLOCK | block, |
PWP_UINT32 | ndx | ||
) |
Sequentially enumerate the block elements.
block | A block handle. |
ndx | The element index starting at 0. |
Definition at line 317 of file apiGridModel.cxx.
References PWGM_HBLOCK_ISVALID.
PWP_BOOL PwDomCondition | ( | PWGM_HDOMAIN | domain, |
PWGM_CONDDATA * | pCondData | ||
) |
Get the domain condition data.
domain | A domain handle. |
pCondData | Pointer to a PWGM_CONDDATA buffer. |
Definition at line 341 of file apiGridModel.cxx.
References PWGM_HDOMAIN_ISVALID, and PWP_FALSE.
Referenced by CaeUnsPatch::condition().
PWP_UINT32 PwDomElementCount | ( | PWGM_HDOMAIN | domain, |
PWGM_ELEMCOUNTS * | pCounts | ||
) |
Get the number of domain elements.
domain | A domain handle. |
pCounts | Pointer to a PWGM_ELEMCOUNTS buffer. |
Definition at line 325 of file apiGridModel.cxx.
References PWGM_HDOMAIN_ISVALID.
PWGM_HELEMENT PwDomEnumElements | ( | PWGM_HDOMAIN | domain, |
PWP_UINT32 | ndx | ||
) |
Sequentially enumerate the domain elements.
domain | A domain handle. |
ndx | The element index starting at 0. |
Definition at line 333 of file apiGridModel.cxx.
References PWGM_HDOMAIN_ISVALID.
PWP_BOOL PwElemDataMod | ( | PWGM_HELEMENT | element, |
PWGM_ELEMDATA * | pElemData | ||
) |
Get the element data relative to the model's index space.
element | A element handle. |
pElemData | Pointer to a PWGM_ELEMDATA buffer. |
Definition at line 377 of file apiGridModel.cxx.
References PWGM_HELEMENT_ISVALID, and PWP_FALSE.
Referenced by CaeUnsElement::data().
PWP_BOOL PwElemDataModEnum | ( | PWGM_HELEMENT | element, |
PWGM_ENUMELEMDATA * | pElemData | ||
) |
Get the enumerated element data relative to the model's index space.
element | A model element handle obtained from PwModEnumElements(). |
pElemData | Pointer to a PWGM_ENUMELEMDATA buffer. |
Definition at line 386 of file apiGridModel.cxx.
References PWGM_HELEMENT_ISVALID, and PWP_FALSE.
Referenced by CaeUnsElement::data().
const char* PwElemTypeToText | ( | PWGM_ENUM_ELEMTYPE | type | ) |
Maps a PWGM_ENUM_ELEMTYPE value to a human readable string.
type | A PWGM_ENUM_ELEMTYPE value. |
Definition at line 415 of file apiGridModel.cxx.
References PWGM_ELEMTYPE_BAR, PWGM_ELEMTYPE_HEX, PWGM_ELEMTYPE_POINT, PWGM_ELEMTYPE_PYRAMID, PWGM_ELEMTYPE_QUAD, PWGM_ELEMTYPE_TET, PWGM_ELEMTYPE_TRI, and PWGM_ELEMTYPE_WEDGE.
Referenced by CaeUnsGridModel::elemTypeStr().
const char* PwFaceOrderToText | ( | PWGM_ENUM_FACEORDER | faceOrder | ) |
Maps a PWGM_ENUM_FACEORDER value to a human readable string.
faceOrder | A PWGM_ENUM_FACEORDER value. |
Definition at line 394 of file apiGridModel.cxx.
References PWGM_FACEORDER_BCGROUPSFIRST, PWGM_FACEORDER_BCGROUPSLAST, PWGM_FACEORDER_BCGROUPSONLY, PWGM_FACEORDER_BCGROUPSONLY_BYVC, PWGM_FACEORDER_BOUNDARYFIRST, PWGM_FACEORDER_BOUNDARYONLY, PWGM_FACEORDER_DONTCARE, PWGM_FACEORDER_INTERIORFIRST, PWGM_FACEORDER_INTERIORONLY, and PWGM_FACEORDER_VCGROUPSBCLAST.
Referenced by CaeUnsGridModel::faceOrderStr().
PWP_BOOL PwModAppendEnumElementOrder | ( | PWGM_HGRIDMODEL | model, |
PWGM_ENUM_ELEMORDER | order | ||
) |
Append an element order to the enumElements() ordering sequence.
model | The grid model handle. |
order | The first/next element order in the enumeration sequence. |
Definition at line 293 of file apiGridModel.cxx.
Referenced by CaeUnsGridModel::appendEnumElementOrder(), and PwModDefaultEnumElementOrder().
PWP_BOOL PwModCustomIndexSchemeReady | ( | PWGM_HGRIDMODEL | model, |
PWGM_INDEXMAPPERCB | cb, | ||
void * | cbData | ||
) |
Notifys the Pointwise export framework that the custom, unstructured index map is ready.
model | The grid model handle. |
cb | The Custom IndexScheme mapper callback function. |
cbData | The data passed to cb |
This is only needed if IndexScheme is set to Custom in runtimeCreate().
After the mesh data has been succesfully exported, but before returning from runtimeWrite(), the plugin must call PwModCustomIndexSchemeReady() to notify the Pointwise export framework that the custom index map is ready.
While in this call, the Pointwise export framework invokes the PWGM_INDEXMAPPERCB callback as needed to map vertex indices.
The vertex map is no longer needed by the Pointwise export framework after this call returns. The plugin may free any vertex map resources.
Definition at line 258 of file apiGridModel.cxx.
References PWP_FALSE.
Referenced by CaeUnsGridModel::customIndexSchemeReady().
PWP_VOID PwModDefaultEnumElementOrder | ( | PWGM_HGRIDMODEL | model | ) |
Reset the enumElements() ordering sequence to the default (none).
model | The grid model handle. |
Definition at line 301 of file apiGridModel.cxx.
References PwModAppendEnumElementOrder().
Referenced by CaeUnsGridModel::defaultEnumElementOrder().
PWP_UINT32 PwModDomainCount | ( | PWGM_HGRIDMODEL | model | ) |
Get the number of domain elements in the model.
model | The grid model handle. |
Definition at line 226 of file apiGridModel.cxx.
Referenced by CaeUnsGridModel::patchCount().
PWGM_HDOMAIN PwModEnumDomains | ( | PWGM_HGRIDMODEL | model, |
PWP_UINT32 | ndx | ||
) |
Sequentially enumerate the model domain elements.
model | The grid model handle. |
ndx | The block index starting at 0. |
Definition at line 234 of file apiGridModel.cxx.
Referenced by CaeUnsPatch::moveTo().
PWP_UINT32 PwModEnumElementCount | ( | PWGM_HGRIDMODEL | model, |
PWGM_ELEMCOUNTS * | pCounts | ||
) |
Get the number of enumerated model block elements.
model | The grid model handle. |
pCounts | Pointer to a PWGM_ELEMCOUNTS buffer. |
Definition at line 277 of file apiGridModel.cxx.
PWGM_HELEMENT PwModEnumElements | ( | PWGM_HGRIDMODEL | model, |
PWP_UINT32 | ndx | ||
) |
Sequentially enumerate the model's block elements.
model | The grid model handle. |
ndx | The enumerated model element index starting at 0. |
Definition at line 285 of file apiGridModel.cxx.
PWGM_HVERTEX PwModEnumVertices | ( | PWGM_HGRIDMODEL | model, |
PWP_UINT32 | ndx | ||
) |
Sequentially enumerate the model vertex elements.
model | The grid model handle. |
ndx | The vertex index starting at 0. |
Definition at line 242 of file apiGridModel.cxx.
Referenced by CaeUnsVertex::moveTo().
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.
model | The grid model handle. |
order | The face streaming order. |
beginCB | This callback is invoked by stream once before any cell faces are streamed. This callback should return a non-zero value to continue processing. |
faceCB | This callback is invoked by stream once for every cell face in the grid model. This callback should return a non-zero value to continue processing. |
endCB | This callback is invoked by stream once after all cell faces are streamed. This callback should return a non-zero value to indicate success. |
userData | This optional ptr is passed to the callback functions through the userData member of the PWGM_BEGINSTREAM_DATA, PWGM_FACESTREAM_DATA, and PWGM_ENDSTREAM_DATA structures. Typically, userData points to export state information such as pRti. userData can be set to NULL. |
Definition at line 266 of file apiGridModel.cxx.
References beginCB(), endCB(), faceCB(), and PWP_FALSE.
Referenced by CaeUnsGridModel::streamFaces().
PWP_UINT32 PwModVertexCount | ( | PWGM_HGRIDMODEL | model | ) |
Get the number of model vertex elements.
model | The grid model handle. |
Definition at line 250 of file apiGridModel.cxx.
Referenced by CaeUnsGridModel::vertexCount().
PWP_BOOL PwVertDataMod | ( | PWGM_HVERTEX | vertex, |
PWGM_VERTDATA * | pVertData | ||
) |
Get the vertex data relative to the model's index space.
vertex | A vertex handle. |
pVertData | Pointer to a PWGM_VERTDATA buffer. |
Definition at line 350 of file apiGridModel.cxx.
References PWGM_HVERTEX_ISVALID, and PWP_FALSE.
Referenced by CaeUnsVertex::dataMod().
PWP_BOOL PwVertIndexMod | ( | PWGM_HVERTEX | vertex, |
PWP_UINT32 * | pIndex | ||
) |
Get the vertex index relative to the model's index space.
vertex | A vertex handle. |
pIndex | Pointer to a PWP_UINT32 value. |
Definition at line 359 of file apiGridModel.cxx.
References PWGM_HVERTEX_ISVALID, and PWP_FALSE.
Referenced by CaeUnsVertex::indexMod().
PWP_BOOL PwVertXyzVal | ( | PWGM_HVERTEX | vertex, |
PWGM_ENUM_XYZ | which, | ||
PWGM_XYZVAL * | pVal | ||
) |
Get a vertex's x, y, or z component value.
vertex | A vertex handle. |
which | The XYZ component id to retrieve. |
pVal | Pointer to a PWGM_XYZVAL value. |
Definition at line 368 of file apiGridModel.cxx.
References PWGM_HVERTEX_ISVALID, and PWP_FALSE.
Referenced by CaeUnsVertex::xyzVal().