Draws model file entities using callback functions you provide. More...
Modules | |
Callback-Function Type Definitions | |
Flags for Drawing Model File Entities | |
Data Structures | |
struct | A3DDrawCallbacksData |
Structure for specifying callback functions for drawing. More... | |
Functions | |
A3DStatus | A3DDrawInitCallbacks (A3DDrawCallbacksData *psCallbacks) |
Initializes the callbacks used for drawing. More... | |
A3DStatus | A3DDraw (const A3DAsmModelFile *pModelFile, A3DUns32 uiDrawFlags) |
Draws the model file entities, using the callbacks defined by A3DDrawInitCallbacks. More... | |
A3DStatus | A3DDrawRepresentationItem (const A3DRiRepresentationItem *pRepItem, const A3DMiscCascadedAttributes *pFatherAttr) |
Draws the representation item entities, using the callbacks defined by A3DDrawInitCallbacks. More... | |
A3DStatus | A3DDrawMarkup (const A3DMkpMarkup *pMarkup, const A3DMiscCascadedAttributes *pFatherAttr) |
Draws the markup item entities, using the callbacks defined by A3DDrawInitCallbacks. More... | |
A3DStatus | A3DDrawGetBoundingBox (const A3DAsmModelFile *pModelFile, A3DBoundingBoxData *psBoundingBox, A3DUns32 uiDrawFlags) |
Calculates the bounding box of the model file entity, without using any callback functions. More... | |
Draws model file entities using callback functions you provide.
The functions and callback functions in this module allow you to draw PRC model files using drawing functions that you provide.
A3DStatus A3DDrawInitCallbacks | ( | A3DDrawCallbacksData * | psCallbacks | ) |
Initializes the callbacks used for drawing.
A3DStatus A3DDraw | ( | const A3DAsmModelFile * | pModelFile, |
A3DUns32 | uiDrawFlags | ||
) |
Draws the model file entities, using the callbacks defined by A3DDrawInitCallbacks.
To set the uiDrawFlags
argument, use the flags defined in Flags for Drawing Model File Entities.
A3DStatus A3DDrawRepresentationItem | ( | const A3DRiRepresentationItem * | pRepItem, |
const A3DMiscCascadedAttributes * | pFatherAttr | ||
) |
Draws the representation item entities, using the callbacks defined by A3DDrawInitCallbacks.
A3DStatus A3DDrawMarkup | ( | const A3DMkpMarkup * | pMarkup, |
const A3DMiscCascadedAttributes * | pFatherAttr | ||
) |
Draws the markup item entities, using the callbacks defined by A3DDrawInitCallbacks.
A3DStatus A3DDrawGetBoundingBox | ( | const A3DAsmModelFile * | pModelFile, |
A3DBoundingBoxData * | psBoundingBox, | ||
A3DUns32 | uiDrawFlags | ||
) |
Calculates the bounding box of the model file entity, without using any callback functions.
To set the uiDrawFlags
argument, use the flags defined in Flags for Drawing Model File Entities.