Click or drag to resize
SbSpherePlaneProjector Class

Sphere-plane projector.

Inheritance Hierarchy

Namespace: OIV.Inventor.Projectors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SbSpherePlaneProjector : SbSphereSectionProjector

The SbSpherePlaneProjector type exposes the following members.

Constructors
  NameDescription
Public methodSbSpherePlaneProjector
Calls SbSpherePlaneProjector(0.9f, true).
Public methodSbSpherePlaneProjector(Single)
Calls SbSpherePlaneProjector(edgeTol, true).
Public methodSbSpherePlaneProjector(SbSphere)
Calls SbSpherePlaneProjector(sph, 0.9f, true).
Public methodSbSpherePlaneProjector(Single, Boolean)

Constructor that uses a default sphere centered at the origin with radius 1.0.

Public methodSbSpherePlaneProjector(SbSphere, Single)
Calls SbSpherePlaneProjector(sph, edgeTol, true).
Public methodSbSpherePlaneProjector(SbSphere, Single, Boolean)

Constructor that uses a supplied sphere.

Top
Methods
  NameDescription
Public methodCopy

Creates and returns an exact copy of the projector.

(Inherited from SbProjector.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetRadialFactor

Gets the radial rotation factor.

(Inherited from SbSphereSectionProjector.)
Public methodGetRotation

Gets a rotation given two points on this sphere projector.

(Inherited from SbSphereProjector.)
Public methodGetSphere

Gets the sphere on which to project points.

(Inherited from SbSphereProjector.)
Public methodGetTolerance

Gets the edge tolerance as a fraction of the radius of the sphere.

(Inherited from SbSphereSectionProjector.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewVolume

Get the view volume to use for the projection.

(Inherited from SbProjector.)
Public methodGetWorkingSpace

Get the transform space to work in.

(Inherited from SbProjector.)
Public methodIntersect

Applies the projector using the given line in world coordinates, returning the point in three dimensions that it projects to.

(Inherited from SbProjector.)
Public methodIsFront

Gets whether the projector should intersect the half of the sphere that faces the eye.

(Inherited from SbSphereProjector.)
Public methodIsOrientToEye

Gets whether the projector should always be oriented towards the eye.

(Inherited from SbSphereProjector.)
Public methodIsPointInFront

Gets whether the projector should intersect the half of the sphere that faces the eye.

(Inherited from SbSphereProjector.)
Public methodIsWithinTolerance

Finds whether this point on the sphere or tolerance plane is within tolerance.

(Inherited from SbSphereSectionProjector.)
Public methodProject

Apply the projector using the given point, returning the point in three dimensions that it projects to.

(Inherited from SbProjector.)
Public methodProjectAndGetRotation

Applies the projector using the given point, returning the point in three dimensions that it projects to.

(Inherited from SbSphereProjector.)
Public methodSetFront

Sets whether the projector should intersect the half of the sphere that faces the eye.

(Inherited from SbSphereProjector.)
Public methodSetOrientToEye

Sets whether the projector should always be oriented towards the eye.

(Inherited from SbSphereProjector.)
Public methodSetRadialFactor
Calls SetRadialFactor(0.0).
(Inherited from SbSphereSectionProjector.)
Public methodSetRadialFactor(Single)

Sets the radial rotation factor.

(Inherited from SbSphereSectionProjector.)
Public methodSetSphere

Sets the sphere on which to project points.

(Inherited from SbSphereProjector.)
Public methodSetTolerance

Sets the edge tolerance as a fraction of the radius of the sphere.

(Inherited from SbSphereSectionProjector.)
Public methodSetViewVolume

Set the view volume to use for the projection.

(Inherited from SbProjector.)
Public methodSetWorkingSpace

Set the transform space to work in.

(Inherited from SbProjector.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also