SbCylinderPlaneProjector Class |
Cylinder-plane projector.
Namespace: OIV.Inventor.Projectors
The SbCylinderPlaneProjector type exposes the following members.
Name | Description | |
---|---|---|
SbCylinderPlaneProjector | Calls SbCylinderPlaneProjector(0.9f, true). | |
SbCylinderPlaneProjector(Single) | Calls SbCylinderPlaneProjector(edgeTol, true). | |
SbCylinderPlaneProjector(SbCylinder) | Calls SbCylinderPlaneProjector(cyl, 0.9f, true). | |
SbCylinderPlaneProjector(Single, Boolean) | Constructor that uses a default cylinder aligned with the Y axis with radius 1.0. | |
SbCylinderPlaneProjector(SbCylinder, Single) | Calls SbCylinderPlaneProjector(cyl, edgeTol, true). | |
SbCylinderPlaneProjector(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.SbCylinderPlaneProjector projects a window space point (usually based on the mouse location) onto a surface defined by a cylinder and plane cutting through the cylinder. Two projected points can produce a rotation along the cylinder's axis. When the mouse position projects onto the plane, the rotations will be as if the plane is being dragged, causing the cylinder to roll beneath it.
Incremental changes (delta rotation) can be computed during interactive sessions. Cylinder projectors are typically used to write interactive 3D manipulators and viewers.