Structure for specifying callback functions for drawing. More...
Detailed Description
Structure for specifying callback functions for drawing.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
Use this structure to define the callback functions HOOPS Exchange Library will use to draw a model file entity.
Field Documentation
◆ m_pfuncPushMatrix
A3DCallbackDrawPushMatrix A3DDrawCallbacksData::m_pfuncPushMatrix |
◆ m_pfuncPopMatrix
A3DCallbackDrawPopMatrix A3DDrawCallbacksData::m_pfuncPopMatrix |
◆ m_pfuncMultMatrix
A3DCallbackDrawMultMatrix A3DDrawCallbacksData::m_pfuncMultMatrix |
Multiplies the matrix on the top of the stack by another matrix.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBegin
A3DCallbackDrawBegin A3DDrawCallbacksData::m_pfuncBegin |
Begins drawing.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0 The
pcName
argument can be NULL if there is no name. TheuiTriangleCount
argument is meaningful only when theeType
argument has a value ofkA3DDrawBeginEndRepresentationItem
; otherwise, its value is 0.
◆ m_pfuncEnd
A3DCallbackDrawEnd A3DDrawCallbacksData::m_pfuncEnd |
◆ m_pfuncSetTessellationPoints
A3DCallbackDrawSetTessellationPoints A3DDrawCallbacksData::m_pfuncSetTessellationPoints |
Returns all the points of a representation item tessellation.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncTriangle
A3DCallbackDrawTriangle A3DDrawCallbacksData::m_pfuncTriangle |
Draws a list of triangles.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
Each point of each triangle has its own normal.
◆ m_pfuncTriangleFan
A3DCallbackDrawTriangleFan A3DDrawCallbacksData::m_pfuncTriangleFan |
Draws a fan of triangles.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
Each point of the fan has its own normal.
◆ m_pfuncTriangleStripe
A3DCallbackDrawTriangleStripe A3DDrawCallbacksData::m_pfuncTriangleStripe |
Draws a triangle strip.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
Each point of the strip has its own normal.
◆ m_pfuncTriangleOneNormal
A3DCallbackDrawTriangleOneNormal A3DDrawCallbacksData::m_pfuncTriangleOneNormal |
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
.
◆ m_pfuncTriangleFanOneNormal
A3DCallbackDrawTriangleFanOneNormal A3DDrawCallbacksData::m_pfuncTriangleFanOneNormal |
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
◆ m_pfuncTriangleStripeOneNormal
A3DCallbackDrawTriangleStripeOneNormal A3DDrawCallbacksData::m_pfuncTriangleStripeOneNormal |
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.
◆ m_pfuncTriangleTextured
A3DCallbackDrawTriangleTextured A3DDrawCallbacksData::m_pfuncTriangleTextured |
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.
◆ m_pfuncTriangleFanTextured
A3DCallbackDrawTriangleFanTextured A3DDrawCallbacksData::m_pfuncTriangleFanTextured |
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.
◆ m_pfuncTriangleStripeTextured
A3DCallbackDrawTriangleStripeTextured A3DDrawCallbacksData::m_pfuncTriangleStripeTextured |
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.
◆ m_pfuncTriangleOneNormalTextured
A3DCallbackDrawTriangleOneNormalTextured A3DDrawCallbacksData::m_pfuncTriangleOneNormalTextured |
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.
◆ m_pfuncTriangleFanOneNormalTextured
A3DCallbackDrawTriangleFanOneNormalTextured A3DDrawCallbacksData::m_pfuncTriangleFanOneNormalTextured |
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.
◆ m_pfuncTriangleStripeOneNormalTextured
A3DCallbackDrawTriangleStripeOneNormalTextured A3DDrawCallbacksData::m_pfuncTriangleStripeOneNormalTextured |
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.
◆ m_pfuncMaterial
A3DCallbackDrawMaterial A3DDrawCallbacksData::m_pfuncMaterial |
Defines the material to be used for all subsequent entities.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncGetDrawContext
A3DCallbackDrawGetDrawContext A3DDrawCallbacksData::m_pfuncGetDrawContext |
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
◆ m_pfuncMarkupTriangle
A3DCallbackDrawMarkupTriangle A3DDrawCallbacksData::m_pfuncMarkupTriangle |
Draws a list of triangles without normals, for markups.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncUnProject
A3DCallbackDrawUnProject A3DDrawCallbacksData::m_pfuncUnProject |
◆ m_pfuncBeginFrameDraw
A3DCallbackDrawBeginFrameDraw A3DDrawCallbacksData::m_pfuncBeginFrameDraw |
Sets the environment to draw with screen coordinates.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndFrameDraw
A3DCallbackDrawEndFrameDraw A3DDrawCallbacksData::m_pfuncEndFrameDraw |
◆ m_pfuncBeginFixedSize
A3DCallbackDrawBeginFixedSize A3DDrawCallbacksData::m_pfuncBeginFixedSize |
Sets the environment to draw with a fixed size.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndFixedSize
A3DCallbackDrawEndFixedSize A3DDrawCallbacksData::m_pfuncEndFixedSize |
◆ m_pfuncCylinder
A3DCallbackDrawCylinder A3DDrawCallbacksData::m_pfuncCylinder |
◆ m_pfuncPolygon
A3DCallbackDrawPolygon A3DDrawCallbacksData::m_pfuncPolygon |
◆ m_pfuncBeginLineWidth
A3DCallbackDrawBeginLineWidth A3DDrawCallbacksData::m_pfuncBeginLineWidth |
Sets the environment to draw with a line width.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndLineWidth
A3DCallbackDrawEndLineWidth A3DDrawCallbacksData::m_pfuncEndLineWidth |
◆ m_pfuncPoint
A3DCallbackDrawPoint A3DDrawCallbacksData::m_pfuncPoint |
◆ m_pfuncFont
A3DCallbackDrawFont A3DDrawCallbacksData::m_pfuncFont |
◆ m_pfuncBeginLineStipple
A3DCallbackDrawBeginLineStipple A3DDrawCallbacksData::m_pfuncBeginLineStipple |
Sets the environment to draw with a line stipple.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndLineStipple
A3DCallbackDrawEndLineStipple A3DDrawCallbacksData::m_pfuncEndLineStipple |
◆ m_pfuncSymbol
A3DCallbackDrawSymbol A3DDrawCallbacksData::m_pfuncSymbol |
◆ m_pfuncPolyLine
A3DCallbackDrawPolyLine A3DDrawCallbacksData::m_pfuncPolyLine |
◆ m_pfuncText
A3DCallbackDrawText A3DDrawCallbacksData::m_pfuncText |
◆ m_pfuncPattern
A3DCallbackDrawPattern A3DDrawCallbacksData::m_pfuncPattern |
◆ m_pfuncPicture
A3DCallbackDrawPicture A3DDrawCallbacksData::m_pfuncPicture |
◆ m_pfuncBeginMaterial
A3DCallbackDrawBeginMaterial A3DDrawCallbacksData::m_pfuncBeginMaterial |
◆ m_pfuncEndMaterial
A3DCallbackDrawEndMaterial A3DDrawCallbacksData::m_pfuncEndMaterial |
Restore materials of the environment previously stored.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncColor
A3DCallbackDrawColor A3DDrawCallbacksData::m_pfuncColor |
Defines the color to be used for all subsequent entities.
- Deprecated:
- The Draw module is deprecated.
- Version
- 6.1