Structure for specifying callback functions for drawing.
More...
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.
◆ m_pfuncPushMatrix
Pushes the current matrix onto the stack.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPopMatrix
Pops the matrix off the stack.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ 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
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.
◆ m_pfuncEnd
Ends drawing.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncSetTessellationPoints
Returns all the points of a representation item tessellation.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ 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
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
Draws a triangle strip.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
Each point of the strip has its own normal.
◆ 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
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
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
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
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
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
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
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
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
Defines the material to be used for all subsequent entities.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ 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
Draws a list of triangles without normals, for markups.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncUnProject
Un-projects the point.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBeginFrameDraw
Sets the environment to draw with screen coordinates.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndFrameDraw
Ends the draw with screen coordinates.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBeginFixedSize
Sets the environment to draw with a fixed size.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndFixedSize
Ends the draw with fixed size.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncCylinder
Draws a cylinder.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPolygon
Draws a polygon.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBeginLineWidth
Sets the environment to draw with a line width.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndLineWidth
Ends the draw with a line width.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPoint
Draws a list of points.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncFont
Defines a font.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBeginLineStipple
Sets the environment to draw with a line stipple.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndLineStipple
Ends the draw with a line stipple.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncSymbol
Draws a symbol at the 3D position.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPolyLine
Draws a polyline.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncText
Draws a text at current position.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPattern
Draws a pattern.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncPicture
Draws a picture at current position.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncBeginMaterial
Store current materials of the environment.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncEndMaterial
Restore materials of the environment previously stored.
- Deprecated:
- The Draw module is deprecated.
- Version
- 2.0
◆ m_pfuncColor
Defines the color to be used for all subsequent entities.
- Deprecated:
- The Draw module is deprecated.
- Version
- 6.1