SbCylinderSectionProjector Class |
Cylinder-section projector.
Namespace: OIV.Inventor.Projectors
The SbCylinderSectionProjector type exposes the following members.
Name | Description | |
---|---|---|
SbCylinderSectionProjector | Calls SbCylinderSectionProjector(0.9f, true). | |
SbCylinderSectionProjector(Single) | Calls SbCylinderSectionProjector(edgeTol, true). | |
SbCylinderSectionProjector(SbCylinder) | Calls SbCylinderSectionProjector(cyl, 0.9f, true). | |
SbCylinderSectionProjector(Single, Boolean) | Constructor that uses a default cylinder aligned with the Y axis with radius 1.0. | |
SbCylinderSectionProjector(SbCylinder, Single) | Calls SbCylinderSectionProjector(cyl, edgeTol, true). | |
SbCylinderSectionProjector(SbCylinder, Single, Boolean) | Constructor. |
Name | Description | |
---|---|---|
Copy | Creates and returns an exact copy of the projector. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetCylinder | Gets the cylinder on which to project points. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetRotation | Gets a rotation given two points on this cylinder projector. | |
GetTolerance | Gets the edge tolerance as a fraction of the radius of the cylinder. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetViewVolume | Get the view volume to use for the projection. | |
GetWorkingSpace | Get the transform space to work in. | |
Intersect | Applies the projector using the given line in world coordinates, returning the point in three dimensions that it projects to. | |
IsFront | Gets whether the projector should intersect the half of the cylinder that faces the eye. | |
IsOrientToEye | Gets whether the projector should always be oriented towards the eye. | |
IsPointInFront | Gets whether the projector should intersect the half of the cylinder that faces the eye. | |
IsWithinTolerance | Finds whether this point on the cylinder or tolerance plane is within tolerance. | |
Project | Apply the projector using the given point, returning the point in three dimensions that it projects to. | |
ProjectAndGetRotation | Applies the projector using the given point, returning the point in three dimensions that it projects to. | |
SetCylinder | Sets the cylinder on which to project points. | |
SetFront | Sets whether the projector should intersect the half of the cylinder that faces the eye. | |
SetOrientToEye | Sets whether the projector should always be oriented towards the eye. | |
SetTolerance | Sets the edge tolerance as a fraction of the radius of the cylinder. | |
SetViewVolume | Set the view volume to use for the projection. | |
SetWorkingSpace | Set the transform space to work in. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
OIV.Inventor.Projectors.SbCylinderSectionProjector projects a window space point (usually based on the mouse location) onto the section of a cylinder that has been sliced by a plane. Two projected points can produce a rotation along the cylinder's axis. The tolerance slice can be specified as a fraction of the radius of the cylinder. The projection point will not extend beyond the sliced portion of the cylinder.
Incremental changes (delta rotation) can be computed during interactive sessions. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.