public class SbSphereSheetProjector extends SbSphereProjector
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:
SbCylinderProjector
, SbCylinderPlaneProjector
, SbCylinderSectionProjector
, SbCylinderSheetProjector
, SbLineProjector
, SbPlaneProjector
, SbSpherePlaneProjector
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SbSphereSheetProjector()
Calls SbSphereSheetProjector(true).
|
SbSphereSheetProjector(boolean orientToEye)
Constructor that uses a default sphere centered at the origin with radius 1.0.
|
SbSphereSheetProjector(SbSphere sph)
Calls SbSphereSheetProjector(sph, true).
|
SbSphereSheetProjector(SbSphere sph,
boolean orientToEye)
Constructor that uses a supplied sphere.
|
getRotation, getSphere, isFront, isOrientToEye, isPointInFront, projectAndGetRotation, setFront, setOrientToEye, setSphere
copy, getViewVolume, getWorkingSpace, intersect, project, setViewVolume, setWorkingSpace
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbSphereSheetProjector(SbSphere sph)
public SbSphereSheetProjector()
public SbSphereSheetProjector(boolean orientToEye)
The default view volume is undefined, and the working space is identity.
public SbSphereSheetProjector(SbSphere sph, boolean orientToEye)
The default view volume is undefined, and the working space is identity.
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com