SbExtrusionGenerator Class |
Factory that generates an extruded mesh from a polyline.
Namespace: OIV.Inventor.Misc
The SbExtrusionGenerator type exposes the following members.
Name | Description | |
---|---|---|
CreateFrom2DPoints(Queue, SbMatrix) | Obsolete.
Calls CreateFrom2DPoints(pointsInCam, camToLocal, -1.0f, 1.0f).
Obsolete since Open Inventor 8000.
| |
CreateFrom2DPoints(IListSbVec2f, SbMatrix) | Calls CreateFrom2DPoints(pointsInCam, localToCam, SbBox3f()). | |
CreateFrom2DPoints(Queue, SbMatrix, SbBox3f) | Obsolete. Create an extruded shape from points in camera space. | |
CreateFrom2DPoints(Queue, SbMatrix, Single) | Obsolete.
Calls CreateFrom2DPoints(pointsInCam, camToLocal, zMin, 1.0f).
Obsolete since Open Inventor 8000.
| |
CreateFrom2DPoints(Queue, SoPath, SbViewVolume) | Obsolete.
Calls CreateFrom2DPoints(pointsInCam, nodePath, volume, SbBox3f()).
Obsolete since Open Inventor 8000.
| |
CreateFrom2DPoints(IListSbVec2f, SbMatrix, SbBox3f) | Create an extruded shape from points in camera space. | |
CreateFrom2DPoints(IListSbVec2f, SbMatrix, Single) | Calls CreateFrom2DPoints(pointsInCam, camToLocal, zMin, 1.0f). | |
CreateFrom2DPoints(IListSbVec2f, SoPath, SbViewVolume) | Calls CreateFrom2DPoints(pointsInCam, nodePath, volume, SbBox3f()). | |
CreateFrom2DPoints(Queue, SbMatrix, Single, Single) | Obsolete. Create an extruded shape from points in camera space. | |
CreateFrom2DPoints(Queue, SoPath, SbViewVolume, SbBox3f) | Obsolete. Create an extruded shape from points in camera space. | |
CreateFrom2DPoints(IListSbVec2f, SbMatrix, Single, Single) | Create an extruded shape from points in camera space. | |
CreateFrom2DPoints(IListSbVec2f, SoPath, SbViewVolume, SbBox3f) | Create an extruded shape from points in camera space. | |
CreateFrom3DPoints(Queue, SoPath, SbViewVolume) | Obsolete.
Calls CreateFrom3DPoints(pointsInWorld, nodePath, volume, SbBox3f()).
Obsolete since Open Inventor 8000.
| |
CreateFrom3DPoints(IListSbVec3f, SoPath, SbViewVolume) | Calls CreateFrom3DPoints(pointsInWorld, nodePath, volume, SbBox3f()). | |
CreateFrom3DPoints(Queue, SoPath, SbViewVolume, SbBox3f) | Obsolete. Create an extruded shape from points in world space. | |
CreateFrom3DPoints(IListSbVec3f, SoPath, SbViewVolume, SbBox3f) | Create an extruded shape from points in world space. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class generates an extruded shape from a simple or a complex polyline. The line is extruded between the 2 planes parallel that can be specified with a boundingBox or directly in camera space (see OIV.Inventor.Misc.SbExtrusionGenerator.CreateFrom2DPoints(System.Collections.Generic.IList{{OIV.Inventor.SbVec2f}}, OIV.Inventor.SoPath, OIV.Inventor.SbViewVolume, OIV.Inventor.SbBox3f) methods) The generated shape is closed and contains only triangles in CCW order.
LIMITATIONS
Only vertices are handled in the generated shape, none of the normal, color or texCoord properties are taken into account.
NOTES
In an orthographic view, the polyline is extruded along the view vector (normal to the camera plane), but in a perspective view the generated shape is a truncated cone with a larger base farther from the camera, due to the perspective transform.
Local space refers to the space in which the shape will be expressed.