Draws model file entities using callback functions you provide. More...

Modules

 Callback-Function Type Definitions
 
 Flags for Drawing Model File Entities
 These flags apply to the A3DDraw and A3DDrawGetBoundingBox functions.
 

Data Structures

struct  A3DDrawCallbacksData
 Structure for specifying callback functions for drawing. More...
 

Functions

A3DStatus A3DDraw (const A3DAsmModelFile *pModelFile, A3DUns32 uiDrawFlags)
 Draws the model file 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...
 
A3DStatus A3DDrawInitCallbacks (A3DDrawCallbacksData *psCallbacks)
 Initializes the callbacks used for drawing. More...
 
A3DStatus A3DDrawMarkup (const A3DMkpMarkup *pMarkup, const A3DMiscCascadedAttributes *pFatherAttr)
 Draws the markup item 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...
 

Detailed Description

Draws model file entities using callback functions you provide.

Deprecated:
The Draw module is deprecated.

The functions and callback functions in this module allow you to draw PRC model files using drawing functions that you provide.

Function Documentation

◆ A3DDrawInitCallbacks()

A3DStatus A3DDrawInitCallbacks ( A3DDrawCallbacksData psCallbacks)

Initializes the callbacks used for drawing.

Deprecated:
The Draw module is deprecated.
Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values

◆ A3DDraw()

A3DStatus A3DDraw ( const A3DAsmModelFile pModelFile,
A3DUns32  uiDrawFlags 
)

Draws the model file entities, using the callbacks defined by A3DDrawInitCallbacks.

Deprecated:
The Draw module is deprecated.
Version
2.0

To set the uiDrawFlags argument, use the flags defined in Flags for Drawing Model File Entities.

Returns
A3D_SUCCESS in case of success or an error code
Return values

◆ A3DDrawRepresentationItem()

A3DStatus A3DDrawRepresentationItem ( const A3DRiRepresentationItem pRepItem,
const A3DMiscCascadedAttributes pFatherAttr 
)

Draws the representation item entities, using the callbacks defined by A3DDrawInitCallbacks.

Deprecated:
The Draw module is deprecated.
Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values

◆ A3DDrawMarkup()

A3DStatus A3DDrawMarkup ( const A3DMkpMarkup pMarkup,
const A3DMiscCascadedAttributes pFatherAttr 
)

Draws the markup item entities, using the callbacks defined by A3DDrawInitCallbacks.

Deprecated:
The Draw module is deprecated.
Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values

◆ A3DDrawGetBoundingBox()

A3DStatus A3DDrawGetBoundingBox ( const A3DAsmModelFile pModelFile,
A3DBoundingBoxData psBoundingBox,
A3DUns32  uiDrawFlags 
)

Calculates the bounding box of the model file entity, without using any callback functions.

Deprecated:
The Draw module is deprecated.
Version
2.0

To set the uiDrawFlags argument, use the flags defined in Flags for Drawing Model File Entities.

Returns
A3D_SUCCESS in case of success or an error code
Return values