Pointwise Plugin SDK
|
Functions | |
PWP_PROTOTYPE_DECL PWP_BOOL | PwCaeElementType (CAEP_EXPORTER handle, PWGM_ENUM_ELEMTYPE which) |
Test if CAE exporter instance supports the given element type. More... | |
PWP_PROTOTYPE_DECL const char * | PwCaeEnumBCs (CAEP_EXPORTER handle, PWP_UINT32 ndx, CAEP_BCINFO *pBCInfo) |
Enumerate CAEP_BCINFO data for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL const char * | PwCaeEnumFileExt (CAEP_EXPORTER handle, PWP_UINT32 ndx) |
Enumerate supported file extensions for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL const char * | PwCaeEnumVCs (CAEP_EXPORTER handle, PWP_UINT32 ndx, CAEP_VCINFO *pVCInfo) |
Enumerate CAEP_VCINFO data for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL const char * | PwCaeFormat (CAEP_EXPORTER handle, CAEP_FORMATINFO *pFormatInfo) |
Get CAEP_FORMATINFO data for a CAE exporter handle. More... | |
PWP_PROTOTYPE_DECL PWP_UINT32 | PwCaeGetBCCount (CAEP_EXPORTER handle) |
Get the number of BC's for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL PWP_UINT32 | PwCaeGetFileExtCount (CAEP_EXPORTER handle) |
Get the number of supported file extensions for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL PWP_UINT32 | PwCaeGetVCCount (CAEP_EXPORTER handle) |
Get the number of VC's for a CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL PWP_BOOL | PwCaeGridWrite (CAEP_EXPORTER handle, PWGM_HGRIDMODEL model, const CAEP_WRITEINFO *pWriteInfo) |
Initiates writing a grid model. More... | |
PWP_PROTOTYPE_DECL CAEP_EXPORTER | PwCreateCaeById (PWP_UINT32 id) |
Create CAE exporter instance with given id. More... | |
PWP_PROTOTYPE_DECL CAEP_EXPORTER | PwCreateCaeByName (const char name[]) |
Create CAE exporter instance with given name. More... | |
PWP_PROTOTYPE_DECL PWP_VOID | PwDestroyCae (CAEP_EXPORTER *handle) |
Destroy CAE exporter instance. More... | |
PWP_PROTOTYPE_DECL const char * | PwEnumCaeFormat (PWP_UINT32 ndx, CAEP_FORMATINFO *pFormatInfo) |
Enumerate CAEP_FORMATINFO data for all supported CAE exporters. More... | |
PWP_PROTOTYPE_DECL PWP_UINT32 | PwGetCaeFormatCount () |
Get the number of supported CAE exporters. More... | |
PWP_PROTOTYPE_DECL PWP_BOOL PwCaeElementType | ( | CAEP_EXPORTER | handle, |
PWGM_ENUM_ELEMTYPE | which | ||
) |
Test if CAE exporter instance supports the given element type.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
which | The PWGM_ENUM_ELEMTYPE to test. |
Definition at line 157 of file apiCAEP.cxx.
References caeuH2Rti(), CAEP_RTITEM::elemType, PWGM_ELEMTYPE_BAR, PWGM_ELEMTYPE_HEX, PWGM_ELEMTYPE_POINT, PWGM_ELEMTYPE_PYRAMID, PWGM_ELEMTYPE_QUAD, PWGM_ELEMTYPE_TET, PWGM_ELEMTYPE_TRI, PWGM_ELEMTYPE_WEDGE, and PWP_FALSE.
PWP_PROTOTYPE_DECL const char* PwCaeEnumBCs | ( | CAEP_EXPORTER | handle, |
PWP_UINT32 | ndx, | ||
CAEP_BCINFO * | pBCInfo | ||
) |
Enumerate CAEP_BCINFO data for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
ndx | The BC index starting with 0. |
pBCInfo | Pointer to a CAEP_BCINFO buffer. |
Definition at line 182 of file apiCAEP.cxx.
References CAEP_RTITEM::BCCnt, caeuH2Rti(), CAEP_RTITEM::pBCInfo, and CAEP_BCINFO::phystype.
PWP_PROTOTYPE_DECL const char* PwCaeEnumFileExt | ( | CAEP_EXPORTER | handle, |
PWP_UINT32 | ndx | ||
) |
Enumerate supported file extensions for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
ndx | The file extension index starting with 0. |
Definition at line 197 of file apiCAEP.cxx.
References caeuH2Rti(), CAEP_RTITEM::ExtCnt, and CAEP_RTITEM::pFileExt.
PWP_PROTOTYPE_DECL const char* PwCaeEnumVCs | ( | CAEP_EXPORTER | handle, |
PWP_UINT32 | ndx, | ||
CAEP_VCINFO * | pVCInfo | ||
) |
Enumerate CAEP_VCINFO data for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
ndx | The VC index starting with 0. |
pVCInfo | Pointer to a CAEP_VCINFO buffer. |
Definition at line 207 of file apiCAEP.cxx.
References CAEP_FORMATINFO::allowedVolumeConditions, caeuH2Rti(), CAEP_RTITEM::FormatInfo, CAEP_VCINFO::phystype, CAEP_RTITEM::pVCInfo, and CAEP_RTITEM::VCCnt.
PWP_PROTOTYPE_DECL const char* PwCaeFormat | ( | CAEP_EXPORTER | handle, |
CAEP_FORMATINFO * | pFormatInfo | ||
) |
Get CAEP_FORMATINFO data for a CAE exporter handle.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
pFormatInfo | Pointer to a CAEP_FORMATINFO buffer. |
Definition at line 145 of file apiCAEP.cxx.
References caeuH2Rti(), CAEP_RTITEM::FormatInfo, and CAEP_FORMATINFO::name.
PWP_PROTOTYPE_DECL PWP_UINT32 PwCaeGetBCCount | ( | CAEP_EXPORTER | handle | ) |
Get the number of BC's for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
Definition at line 222 of file apiCAEP.cxx.
References CAEP_RTITEM::BCCnt, and caeuH2Rti().
PWP_PROTOTYPE_DECL PWP_UINT32 PwCaeGetFileExtCount | ( | CAEP_EXPORTER | handle | ) |
Get the number of supported file extensions for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
Definition at line 234 of file apiCAEP.cxx.
References caeuH2Rti(), and CAEP_RTITEM::ExtCnt.
PWP_PROTOTYPE_DECL PWP_UINT32 PwCaeGetVCCount | ( | CAEP_EXPORTER | handle | ) |
Get the number of VC's for a CAE exporter instance.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
Definition at line 246 of file apiCAEP.cxx.
References CAEP_FORMATINFO::allowedVolumeConditions, caeuH2Rti(), CAEP_RTITEM::FormatInfo, and CAEP_RTITEM::VCCnt.
PWP_PROTOTYPE_DECL PWP_BOOL PwCaeGridWrite | ( | CAEP_EXPORTER | handle, |
PWGM_HGRIDMODEL | model, | ||
const CAEP_WRITEINFO * | pWriteInfo | ||
) |
Initiates writing a grid model.
Instructs a plugin to write the given grid model according to the specified CAEP_WRITEINFO settings.
handle | A CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
model | A PWGM_HGRIDMODEL handle. The plugin uses this handle to access the grid model data. |
pWriteInfo | Pointer to a CAEP_WRITEINFO settings buffer. |
Definition at line 258 of file apiCAEP.cxx.
References caeuFileClose(), caeuFileOpen(), caeuH2Rti(), CAEP_RTITEM::model, PWP_FALSE, PWP_TRUE, pwpCwdPop(), CAEP_RTITEM::pWriteInfo, and runtimeWrite().
PWP_PROTOTYPE_DECL CAEP_EXPORTER PwCreateCaeById | ( | PWP_UINT32 | id | ) |
Create CAE exporter instance with given id.
id | The plugin-defined CAE exporter id. |
Definition at line 92 of file apiCAEP.cxx.
References caepRuntimeCreate(), and caeuFindFormatById().
PWP_PROTOTYPE_DECL CAEP_EXPORTER PwCreateCaeByName | ( | const char | name[] | ) |
Create CAE exporter instance with given name.
name | The plugin-defined CAE exporter name. |
Definition at line 103 of file apiCAEP.cxx.
References caepRuntimeCreate(), and caeuFindFormatByName().
PWP_PROTOTYPE_DECL PWP_VOID PwDestroyCae | ( | CAEP_EXPORTER * | handle | ) |
Destroy CAE exporter instance.
handle | Pointer to a CAEP_EXPORTER handle obtained from PwCreateCaeById() or PwCreateCaeByName(). |
Definition at line 114 of file apiCAEP.cxx.
References caepRuntimeDestroy(), and caeuH2Rti().
PWP_PROTOTYPE_DECL const char* PwEnumCaeFormat | ( | PWP_UINT32 | ndx, |
CAEP_FORMATINFO * | pFormatInfo | ||
) |
Enumerate CAEP_FORMATINFO data for all supported CAE exporters.
ndx | The format index starting with 0. |
pFormatInfo | Pointer to a CAEP_FORMATINFO buffer. |
Definition at line 127 of file apiCAEP.cxx.
References caepFormatCnt, caepRtItem, and CAEP_RTITEM::FormatInfo.
PWP_PROTOTYPE_DECL PWP_UINT32 PwGetCaeFormatCount | ( | ) |
Get the number of supported CAE exporters.
Definition at line 138 of file apiCAEP.cxx.
References caepFormatCnt.