Pointwise Plugin SDK
|
Functions | |
PWP_BOOL | PwInRange (PWGM_INDEX3 ijk, const PWGM_STR_RANGE *pRange) |
Determines if an PWGM_INDEX3 is within a PWGM_STR_RANGE. More... | |
PWGM_INDEX3 | PwXform2Apply (const PWGM_INDEX_XFORM2 *pX2, PWGM_INDEX3 ijk) |
Apply a PWGM_INDEX_XFORM2 transform to a PWGM_INDEX3 value. More... | |
PWGM_ENUM_IJK | PwXform2Follows (const PWGM_INDEX_XFORM2 *pX2, PWGM_ENUM_IJK localAxis, PWP_BOOL *pFlipped) |
For a given localAxis, determine the corresponding axis in the transformed system. More... | |
PWP_BOOL | PwXform2to3 (const PWGM_INDEX_XFORM2 *pX2, PWGM_INDEX_XFORM *pX3) |
Convert a 2D transform matrix to it's 3D equivalent. More... | |
PWP_BOOL | PwXform3to2 (const PWGM_INDEX_XFORM *pX3, PWGM_INDEX_XFORM2 *pX2) |
Convert a 3D transform matrix to it's 2D equivalent. More... | |
PWGM_INDEX3 | PwXformApply (const PWGM_INDEX_XFORM *pX3, PWGM_INDEX3 ijk) |
Apply a PWGM_INDEX_XFORM transform to a PWGM_INDEX3 value. More... | |
PWGM_ENUM_IJK | PwXformFollows (const PWGM_INDEX_XFORM *pX3, PWGM_ENUM_IJK localAxis, PWP_BOOL *pFlipped) |
For a given localAxis, determine the corresponding axis in the transformed system. More... | |
These utility functions are ONLY used to access structured grid models. These functions are defined locally and do NOT get routed to the framework.
PWP_BOOL PwInRange | ( | PWGM_INDEX3 | ijk, |
const PWGM_STR_RANGE * | pRange | ||
) |
Determines if an PWGM_INDEX3 is within a PWGM_STR_RANGE.
ijk | The PWGM_INDEX3 value to check. |
pRange | Const pointer to the PWGM_STR_RANGE. |
Definition at line 751 of file apiGridModel.cxx.
References PWGM_STR_RANGE::beg, PWGM_STR_RANGE::end, PWGM_INDEX3::i, PWGM_INDEX3::j, and PWGM_INDEX3::k.
Referenced by CaeStrGridModel::inRange().
PWGM_INDEX3 PwXform2Apply | ( | const PWGM_INDEX_XFORM2 * | pX2, |
PWGM_INDEX3 | ijk | ||
) |
Apply a PWGM_INDEX_XFORM2 transform to a PWGM_INDEX3 value.
pX2 | Const pointer to the PWGM_INDEX_XFORM2. |
ijk | The PWGM_INDEX3 value to transform. It will not be changed. |
Definition at line 727 of file apiGridModel.cxx.
References PWGM_INDEX3::i, PWGM_INDEX3::j, PWGM_INDEX3::k, and PWGM_INDEX_XFORM2::m.
Referenced by CaeStrGridModel::xform2Apply().
PWGM_ENUM_IJK PwXform2Follows | ( | const PWGM_INDEX_XFORM2 * | pX2, |
PWGM_ENUM_IJK | localAxis, | ||
PWP_BOOL * | pFlipped | ||
) |
For a given localAxis, determine the corresponding axis in the transformed system.
pX2 | Const pointer to the PWGM_INDEX_XFORM2. |
localAxis | The local axis of interest. |
pFlipped | Flag set to PWP_TRUE if the returned axis direction is the opposite of localAxis. Pointer may be NULL. |
Definition at line 738 of file apiGridModel.cxx.
References PwXform2to3(), and PwXformFollows().
Referenced by CaeStrGridModel::xform2Follows().
PWP_BOOL PwXform2to3 | ( | const PWGM_INDEX_XFORM2 * | pX2, |
PWGM_INDEX_XFORM * | pX3 | ||
) |
Convert a 2D transform matrix to it's 3D equivalent.
pX2 | Const pointer to a PWGM_INDEX_XFORM2 input buffer. |
pX3 | Pointer to a PWGM_INDEX_XFORM output buffer. |
Definition at line 616 of file apiGridModel.cxx.
References PWGM_INDEX_XFORM2::m, PWGM_INDEX_XFORM::m, PWP_FALSE, and PWP_TRUE.
Referenced by PwXform2Follows(), and CaeStrGridModel::xform2to3().
PWP_BOOL PwXform3to2 | ( | const PWGM_INDEX_XFORM * | pX3, |
PWGM_INDEX_XFORM2 * | pX2 | ||
) |
Convert a 3D transform matrix to it's 2D equivalent.
pX3 | Const pointer to a PWGM_INDEX_XFORM input buffer. |
pX2 | Pointer to a PWGM_INDEX_XFORM2 output buffer. |
Definition at line 646 of file apiGridModel.cxx.
References PWGM_INDEX_XFORM2::m, PWGM_INDEX_XFORM::m, PWP_FALSE, and PWP_TRUE.
Referenced by CaeStrGridModel::xform3to2().
PWGM_INDEX3 PwXformApply | ( | const PWGM_INDEX_XFORM * | pX3, |
PWGM_INDEX3 | ijk | ||
) |
Apply a PWGM_INDEX_XFORM transform to a PWGM_INDEX3 value.
pX3 | Const pointer to the PWGM_INDEX_XFORM. |
ijk | The PWGM_INDEX3 value to transform. It will not be changed. |
Definition at line 669 of file apiGridModel.cxx.
References PWGM_INDEX3::i, PWGM_INDEX3::j, PWGM_INDEX3::k, and PWGM_INDEX_XFORM::m.
Referenced by CaeStrGridModel::xformApply().
PWGM_ENUM_IJK PwXformFollows | ( | const PWGM_INDEX_XFORM * | pX3, |
PWGM_ENUM_IJK | localAxis, | ||
PWP_BOOL * | pFlipped | ||
) |
For a given localAxis, determine the corresponding axis in the transformed system.
pX3 | Const pointer to the PWGM_INDEX_XFORM. |
localAxis | The local axis of interest. |
pFlipped | Flag set to PWP_TRUE if the returned axis direction is the opposite of localAxis. Pointer may be NULL. |
Definition at line 683 of file apiGridModel.cxx.
References PWGM_INDEX3::i, PWGM_INDEX3::j, PWGM_INDEX3::k, PWGM_INDEX_XFORM::m, PWGM_IJK_I, PWGM_IJK_J, PWGM_IJK_K, PWP_FALSE, and PWP_TRUE.
Referenced by PwXform2Follows(), and CaeStrGridModel::xformFollows().