SbSphereSheetProjector Class |
Sphere-sheet projector.
Namespace: OIV.Inventor.Projectors
The SbSphereSheetProjector type exposes the following members.
Name | Description | |
---|---|---|
SbSphereSheetProjector | Calls SbSphereSheetProjector(true). | |
SbSphereSheetProjector(Boolean) | Constructor that uses a default sphere centered at the origin with radius 1.0. | |
SbSphereSheetProjector(SbSphere) | Calls SbSphereSheetProjector(sph, true). | |
SbSphereSheetProjector(SbSphere, Boolean) | Constructor that uses a supplied sphere. |
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.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetRotation | Gets a rotation given two points on this sphere projector. | |
GetSphere | Gets the sphere on which to project points. | |
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 sphere 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 sphere that faces the eye. | |
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. | |
SetFront | Sets whether the projector should intersect the half of the sphere that faces the eye. | |
SetOrientToEye | Sets whether the projector should always be oriented towards the eye. | |
SetSphere | Sets the sphere on which to project points. | |
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.SbSphereSheetProjector projects a window space point (usually based on the mouse location) onto the surface of a sphere with a hyperbolic sheet draped over it. This allows smooth transitions onto and off of the sphere. Two projected points can produce a rotation about the sphere's center. When the mouse position projects on to the sheet, the rotations will be as if the sheet is being dragged, causing the sphere to roll beneath it.
Incremental changes (delta rotation) can be computed during interactive sessions. Sphere projectors are typically used to write interactive 3D manipulators and viewers.