Callback-Function Type Definitions

Typedefs

typedef void(* A3DCallbackDrawBegin) (A3DEDrawBeginEndType eType, const A3DUTF8Char *pcName, A3DUns32 uiTrianglesCount)
 Begins drawing. More...
 
typedef void(* A3DCallbackDrawBeginFixedSize) (const A3DVector3dData *psPoint3d)
 Sets the environment to draw with a fixed size. More...
 
typedef void(* A3DCallbackDrawBeginFrameDraw) (const A3DVector3dData *psPoint3d, A3DBool bIsZoomable, A3DDouble dFixedSize)
 Sets the environment to draw with screen coordinates. More...
 
typedef void(* A3DCallbackDrawBeginLineStipple) (const A3DGraphStyleData *psGraphStyleData)
 Sets the environment to draw with a line stipple. More...
 
typedef void(* A3DCallbackDrawBeginLineWidth) (A3DDouble dWidth)
 Sets the environment to draw with a line width. More...
 
typedef void(* A3DCallbackDrawBeginMaterial) (void)
 Store current materials of the environment. More...
 
typedef void(* A3DCallbackDrawColor) (const A3DDouble adPoints[3])
 Defines the color to be used for all subsequent entities. More...
 
typedef void(* A3DCallbackDrawCylinder) (A3DDouble dBaseRadius, A3DDouble dTopRadius, A3DDouble dHeight)
 Draws a cylinder. More...
 
typedef void(* A3DCallbackDrawEnd) (A3DEDrawBeginEndType eType)
 Ends drawing. More...
 
typedef void(* A3DCallbackDrawEndFixedSize) (void)
 Ends the draw with fixed size. More...
 
typedef void(* A3DCallbackDrawEndFrameDraw) (void)
 Ends the draw with screen coordinates. More...
 
typedef void(* A3DCallbackDrawEndLineStipple) (void)
 Ends the draw with a line stipple. More...
 
typedef void(* A3DCallbackDrawEndLineWidth) (void)
 Ends the draw with a line width. More...
 
typedef void(* A3DCallbackDrawEndMaterial) (void)
 Restore materials of the environment previously stored. More...
 
typedef void(* A3DCallbackDrawFont) (const A3DFontKeyData *psFontKeyData)
 Defines a font. More...
 
typedef void(* A3DCallbackDrawGetDrawContext) (A3DDouble adProjection[16], A3DDouble adModelView[16], A3DInt32 aiViewport[4])
 Requests the projection, modelview matrix and the viewport. (See classical Open GL definition for more information.) More...
 
typedef void(* A3DCallbackDrawMarkupTriangle) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)
 Draws a list of triangles without normals, for markups. More...
 
typedef void(* A3DCallbackDrawMaterial) (A3DEDrawMaterialType eType, const A3DDouble *pdValues, A3DUns32 uiValuesSize)
 Defines the material to be used for all subsequent entities. More...
 
typedef void(* A3DCallbackDrawMultMatrix) (const A3DDouble adMatrix[16])
 Multiplies the matrix on the top of the stack by another matrix. More...
 
typedef void(* A3DCallbackDrawPattern) (A3DUns32 uiLoopsSize, A3DUns32 uiPatternId, A3DUns32 uiFilledMode, A3DUns32 uiBehaviour, const A3DDouble *pdPoints, const A3DUns32 *puiLoopsPointSize)
 Draws a pattern. More...
 
typedef void(* A3DCallbackDrawPicture) (const A3DGraphPictureData *psPictureData)
 Draws a picture at current position. More...
 
typedef void(* A3DCallbackDrawPoint) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)
 Draws a list of points. More...
 
typedef void(* A3DCallbackDrawPolygon) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)
 Draws a polygon. More...
 
typedef void(* A3DCallbackDrawPolyLine) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)
 Draws a polyline. More...
 
typedef void(* A3DCallbackDrawPopMatrix) (void)
 Pops the matrix off the stack. More...
 
typedef void(* A3DCallbackDrawProject) (const A3DVector3dData *psPoint, A3DVector3dData *psResult)
 Projects the point. More...
 
typedef void(* A3DCallbackDrawPushMatrix) (void)
 Pushes the current matrix onto the stack. More...
 
typedef void(* A3DCallbackDrawSetTessellationPoints) (const A3DVector3dData *pasPoint, A3DUns32 uiPointsSize)
 Returns all the points of a representation item tessellation. More...
 
typedef void(* A3DCallbackDrawSymbol) (const A3DGraphVPicturePatternData *psPatternData, const A3DVector3dData *psPosition)
 Draws a symbol at the 3D position. More...
 
typedef void(* A3DCallbackDrawText) (const A3DUTF8Char *pcBuffer, A3DDouble dWidth, A3DDouble dHeight)
 Draws a text at current position. More...
 
typedef void(* A3DCallbackDrawTriangle) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a list of triangles. More...
 
typedef void(* A3DCallbackDrawTriangleFan) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a fan of triangles. More...
 
typedef void(* A3DCallbackDrawTriangleFanOneNormal) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a fan of triangles with one normal. More...
 
typedef void(* A3DCallbackDrawTriangleFanOneNormalTextured) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a fan of textured triangles, where each triangle has only one normal. More...
 
typedef void(* A3DCallbackDrawTriangleFanTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a fan of textured triangles. More...
 
typedef void(* A3DCallbackDrawTriangleOneNormal) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a list of triangles where each triangle has only one normal. More...
 
typedef void(* A3DCallbackDrawTriangleOneNormalTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a list of textured triangles where each triangle has only one normal. More...
 
typedef void(* A3DCallbackDrawTriangleStripe) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a triangle strip. More...
 
typedef void(* A3DCallbackDrawTriangleStripeOneNormal) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a triangle strip with one normal. More...
 
typedef void(* A3DCallbackDrawTriangleStripeOneNormalTextured) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a triangle strip with one normal. More...
 
typedef void(* A3DCallbackDrawTriangleStripeTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a triangle strip. More...
 
typedef void(* A3DCallbackDrawTriangleTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)
 Draws a list of textured triangles. More...
 
typedef void(* A3DCallbackDrawUnProject) (const A3DVector3dData *psPoint, A3DVector3dData *psResult)
 Un-projects the point. More...
 

Enumerations

enum  A3DEDrawBeginEndType {
  kA3DDrawBeginEndProductOccurrence,
  kA3DDrawBeginEndRepresentationItem,
  kA3DDrawBeginEndMarkup
}
 Enumeration for characterizing begin and end callbacks. More...
 
enum  A3DEDrawMaterialType {
  kA3DDrawMaterialAmbient,
  kA3DDrawMaterialDiffuse,
  kA3DDrawMaterialSpecular,
  kA3DDrawMaterialEmission,
  kA3DDrawMaterialShininess
}
 Enumeration for characterizing material. More...
 

Detailed Description

Deprecated:
The Draw module is deprecated.

Typedef Documentation

◆ A3DCallbackDrawPushMatrix

typedef void(* A3DCallbackDrawPushMatrix) (void)

Pushes the current matrix onto the stack.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPopMatrix

typedef void(* A3DCallbackDrawPopMatrix) (void)

Pops the matrix off the stack.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawMultMatrix

typedef void(* A3DCallbackDrawMultMatrix) (const A3DDouble adMatrix[16])

Multiplies the matrix on the top of the stack by another matrix.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBegin

typedef void(* A3DCallbackDrawBegin) (A3DEDrawBeginEndType eType, const A3DUTF8Char *pcName, A3DUns32 uiTrianglesCount)

Begins drawing.

Deprecated:
The Draw module is deprecated.
Version
2.0 The pcName argument can be NULL if there is no name. The uiTriangleCount argument is meaningful only when the eType argument has a value of kA3DDrawBeginEndRepresentationItem; otherwise, its value is 0.

◆ A3DCallbackDrawEnd

typedef void(* A3DCallbackDrawEnd) (A3DEDrawBeginEndType eType)

Ends drawing.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawSetTessellationPoints

typedef void(* A3DCallbackDrawSetTessellationPoints) (const A3DVector3dData *pasPoint, A3DUns32 uiPointsSize)

Returns all the points of a representation item tessellation.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawProject

typedef void(* A3DCallbackDrawProject) (const A3DVector3dData *psPoint, A3DVector3dData *psResult)

Projects the point.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawUnProject

typedef void(* A3DCallbackDrawUnProject) (const A3DVector3dData *psPoint, A3DVector3dData *psResult)

Un-projects the point.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawTriangle

typedef void(* A3DCallbackDrawTriangle) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a list of triangles.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of each triangle has its own normal.

◆ A3DCallbackDrawTriangleFan

typedef void(* A3DCallbackDrawTriangleFan) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a fan of triangles.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of the fan has its own normal.

◆ A3DCallbackDrawTriangleStripe

typedef void(* A3DCallbackDrawTriangleStripe) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a triangle strip.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of the strip has its own normal.

◆ A3DCallbackDrawTriangleOneNormal

typedef void(* A3DCallbackDrawTriangleOneNormal) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a list of triangles where each triangle has only one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each triangle has only one normal. Therefore, the number of normals is uiPointsSize/3.

◆ A3DCallbackDrawTriangleFanOneNormal

typedef void(* A3DCallbackDrawTriangleFanOneNormal) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a fan of triangles with one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

The fan has only one normal, psNormal.

Version
2.0

◆ A3DCallbackDrawTriangleStripeOneNormal

typedef void(* A3DCallbackDrawTriangleStripeOneNormal) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a triangle strip with one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

The strip has only one normal, which is identified by the psNormal argument.

◆ A3DCallbackDrawTriangleTextured

typedef void(* A3DCallbackDrawTriangleTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a list of textured triangles.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of each triangle has its own normal.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawTriangleFanTextured

typedef void(* A3DCallbackDrawTriangleFanTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a fan of textured triangles.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of the fan has its own normal.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawTriangleStripeTextured

typedef void(* A3DCallbackDrawTriangleStripeTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a triangle strip.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each point of the strip has its own normal.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawTriangleOneNormalTextured

typedef void(* A3DCallbackDrawTriangleOneNormalTextured) (const A3DVector3dData *pasNormals, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a list of textured triangles where each triangle has only one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

Each triangle has only one normal. Therefore, the number of normals is uiPointsSize/3.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawTriangleFanOneNormalTextured

typedef void(* A3DCallbackDrawTriangleFanOneNormalTextured) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a fan of textured triangles, where each triangle has only one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

The fan has only one normal, which is psNormal.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawTriangleStripeOneNormalTextured

typedef void(* A3DCallbackDrawTriangleStripeOneNormalTextured) (const A3DVector3dData *psNormal, const A3DVector3dData *pasPoints, A3DUns32 uiPointsSize)

Draws a triangle strip with one normal.

Deprecated:
The Draw module is deprecated.
Version
2.0

The strip has only one normal, which is returned in the psNormal argument.

Note
Textures are not yet implemented.

◆ A3DCallbackDrawColor

typedef void(* A3DCallbackDrawColor) (const A3DDouble adPoints[3])

Defines the color to be used for all subsequent entities.

Deprecated:
The Draw module is deprecated.
Version
6.1

◆ A3DCallbackDrawMaterial

typedef void(* A3DCallbackDrawMaterial) (A3DEDrawMaterialType eType, const A3DDouble *pdValues, A3DUns32 uiValuesSize)

Defines the material to be used for all subsequent entities.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBeginMaterial

typedef void(* A3DCallbackDrawBeginMaterial) (void)

Store current materials of the environment.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawEndMaterial

typedef void(* A3DCallbackDrawEndMaterial) (void)

Restore materials of the environment previously stored.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawGetDrawContext

typedef void(* A3DCallbackDrawGetDrawContext) (A3DDouble adProjection[16], A3DDouble adModelView[16], A3DInt32 aiViewport[4])

Requests the projection, modelview matrix and the viewport. (See classical Open GL definition for more information.)

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawMarkupTriangle

typedef void(* A3DCallbackDrawMarkupTriangle) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)

Draws a list of triangles without normals, for markups.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBeginFrameDraw

typedef void(* A3DCallbackDrawBeginFrameDraw) (const A3DVector3dData *psPoint3d, A3DBool bIsZoomable, A3DDouble dFixedSize)

Sets the environment to draw with screen coordinates.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawEndFrameDraw

typedef void(* A3DCallbackDrawEndFrameDraw) (void)

Ends the draw with screen coordinates.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBeginFixedSize

typedef void(* A3DCallbackDrawBeginFixedSize) (const A3DVector3dData *psPoint3d)

Sets the environment to draw with a fixed size.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawEndFixedSize

typedef void(* A3DCallbackDrawEndFixedSize) (void)

Ends the draw with fixed size.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawCylinder

typedef void(* A3DCallbackDrawCylinder) (A3DDouble dBaseRadius, A3DDouble dTopRadius, A3DDouble dHeight)

Draws a cylinder.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPolygon

typedef void(* A3DCallbackDrawPolygon) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)

Draws a polygon.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBeginLineWidth

typedef void(* A3DCallbackDrawBeginLineWidth) (A3DDouble dWidth)

Sets the environment to draw with a line width.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawEndLineWidth

typedef void(* A3DCallbackDrawEndLineWidth) (void)

Ends the draw with a line width.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPoint

typedef void(* A3DCallbackDrawPoint) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)

Draws a list of points.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawFont

typedef void(* A3DCallbackDrawFont) (const A3DFontKeyData *psFontKeyData)

Defines a font.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawBeginLineStipple

typedef void(* A3DCallbackDrawBeginLineStipple) (const A3DGraphStyleData *psGraphStyleData)

Sets the environment to draw with a line stipple.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawEndLineStipple

typedef void(* A3DCallbackDrawEndLineStipple) (void)

Ends the draw with a line stipple.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawSymbol

typedef void(* A3DCallbackDrawSymbol) (const A3DGraphVPicturePatternData *psPatternData, const A3DVector3dData *psPosition)

Draws a symbol at the 3D position.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPolyLine

typedef void(* A3DCallbackDrawPolyLine) (const A3DDouble *pdPoints, A3DUns32 uiPointSize)

Draws a polyline.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawText

typedef void(* A3DCallbackDrawText) (const A3DUTF8Char *pcBuffer, A3DDouble dWidth, A3DDouble dHeight)

Draws a text at current position.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPattern

typedef void(* A3DCallbackDrawPattern) (A3DUns32 uiLoopsSize, A3DUns32 uiPatternId, A3DUns32 uiFilledMode, A3DUns32 uiBehaviour, const A3DDouble *pdPoints, const A3DUns32 *puiLoopsPointSize)

Draws a pattern.

Deprecated:
The Draw module is deprecated.
Version
2.0

◆ A3DCallbackDrawPicture

typedef void(* A3DCallbackDrawPicture) (const A3DGraphPictureData *psPictureData)

Draws a picture at current position.

Deprecated:
The Draw module is deprecated.
Version
2.0

Enumeration Type Documentation

◆ A3DEDrawMaterialType

Enumeration for characterizing material.

Version
2.0
Enumerator
kA3DDrawMaterialAmbient 

Ambient color. RGBA.

kA3DDrawMaterialDiffuse 

Diffuse color. RGBA.

kA3DDrawMaterialSpecular 

Specular color. RGBA.

kA3DDrawMaterialEmission 

Emission color. RGBA.

kA3DDrawMaterialShininess 

Shininess color. Single value.

◆ A3DEDrawBeginEndType

Enumeration for characterizing begin and end callbacks.

Version
2.0
Enumerator
kA3DDrawBeginEndProductOccurrence 

Begins or ends drawing a A3DAsmProductOccurrence.

kA3DDrawBeginEndRepresentationItem 

Begins or ends drawing a A3DRiRepresentationItem.

kA3DDrawBeginEndMarkup 

Begins or ends drawing a A3DMkpMarkup.