Class SbSphereSheetProjector


public class SbSphereSheetProjector extends SbSphereProjector
Sphere-sheet projector. 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.

See Also:
  • Constructor Details

    • SbSphereSheetProjector

      public SbSphereSheetProjector(SbSphere sph)
      Calls SbSphereSheetProjector(sph, true).
    • SbSphereSheetProjector

      public SbSphereSheetProjector()
      Calls SbSphereSheetProjector(true).
    • SbSphereSheetProjector

      public SbSphereSheetProjector(boolean orientToEye)
      Constructor that uses a default sphere centered at the origin with radius 1.0. The orientToEye parameter determines whether the sheet is perpendicular to the eye, or perpendicular to the sphere's Z axis. Setting that parameter to true (the default) specifies that the sheet be perpendicular to the eye, which is most often the desired behavior.

      The default view volume is undefined, and the working space is identity.

    • SbSphereSheetProjector

      public SbSphereSheetProjector(SbSphere sph, boolean orientToEye)
      Constructor that uses a supplied sphere. The orientToEye parameter determines whether the sheet is perpendicular to the eye, or perpendicular to the sphere's Z axis. Setting that parameter to true (the default) specifies that the sheet be perpendicular to the eye, which is most often the desired behavior.

      The default view volume is undefined, and the working space is identity.