Click or drag to resize
SbSphereSectionProjector Class

Sphere-section projector.

Inheritance Hierarchy

Namespace: OIV.Inventor.Projectors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SbSphereSectionProjector : SbSphereProjector

The SbSphereSectionProjector type exposes the following members.

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

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

Public methodSbSphereSectionProjector(SbSphere, Single)
Calls SbSphereSectionProjector(sph, edgeTol, true).
Public methodSbSphereSectionProjector(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.

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.

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.

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).
Public methodSetRadialFactor(Single)

Sets the radial rotation factor.

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.

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.SbSphereSectionProjector projects a window space point (usually based on the mouse location) onto the section of a sphere that has been sliced by a plane. Two projected points can produce a rotation about the sphere's center. The tolerance slice can be specified as a fraction of the radius of the sphere. The projection point will not extend beyond the sliced portion of the sphere.

Incremental changes (delta rotation) can be computed during interactive sessions. Sphere projectors are typically used to write interactive 3D manipulators and viewers.

See Also