SbSpherePlaneProjector Class |
Sphere-plane projector.
Namespace: OIV.Inventor.Projectors
The SbSpherePlaneProjector type exposes the following members.
Name | Description | |
---|---|---|
SbSpherePlaneProjector | Calls SbSpherePlaneProjector(0.9f, true). | |
SbSpherePlaneProjector(Single) | Calls SbSpherePlaneProjector(edgeTol, true). | |
SbSpherePlaneProjector(SbSphere) | Calls SbSpherePlaneProjector(sph, 0.9f, true). | |
SbSpherePlaneProjector(Single, Boolean) | Constructor that uses a default sphere centered at the origin with radius 1.0. | |
SbSpherePlaneProjector(SbSphere, Single) | Calls SbSpherePlaneProjector(sph, edgeTol, true). | |
SbSpherePlaneProjector(SbSphere, Single, 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.) | |
GetRadialFactor | Gets the radial rotation factor. | |
GetRotation | Gets a rotation given two points on this sphere projector. | |
GetSphere | Gets the sphere on which to project points. | |
GetTolerance | Gets the edge tolerance as a fraction of the radius of the sphere. | |
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. | |
IsWithinTolerance | Finds whether this point on the sphere 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. | |
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. | |
SetRadialFactor | Calls SetRadialFactor(0.0). (Inherited from SbSphereSectionProjector.) | |
SetRadialFactor(Single) | Sets the radial rotation factor. | |
SetSphere | Sets the sphere on which to project points. | |
SetTolerance | Sets the edge tolerance as a fraction of the radius of the sphere. | |
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.SbSpherePlaneProjector projects a window space point (usually based on the mouse location) onto a surface defined by a sphere and plane cutting through the sphere. Two projected points can produce a rotation about the sphere's center. When the mouse position projects onto the plane, the rotations will be as if the plane 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.