public class SbSpherePlaneProjector extends SbSphereSectionProjector
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:
SbCylinderProjector
, SbCylinderPlaneProjector
, SbCylinderSectionProjector
, SbCylinderSheetProjector
, SbLineProjector
, SbPlaneProjector
, SbSphereSheetProjector
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SbSpherePlaneProjector()
Calls SbSpherePlaneProjector((float)0.9f, true).
|
SbSpherePlaneProjector(float edgeTol)
Calls SbSpherePlaneProjector(edgeTol, true).
|
SbSpherePlaneProjector(float edgeTol,
boolean orientToEye)
Constructor that uses a default sphere centered at the origin with radius 1.0.
|
SbSpherePlaneProjector(SbSphere sph)
Calls SbSpherePlaneProjector(sph, (float)0.9f, true).
|
SbSpherePlaneProjector(SbSphere sph,
float edgeTol)
Calls SbSpherePlaneProjector(sph, edgeTol, true).
|
SbSpherePlaneProjector(SbSphere sph,
float edgeTol,
boolean orientToEye)
Constructor that uses a supplied sphere.
|
getRadialFactor, getTolerance, isWithinTolerance, setRadialFactor, setRadialFactor, setTolerance
getRotation, getSphere, isFront, isOrientToEye, isPointInFront, projectAndGetRotation, setFront, setOrientToEye, setSphere
copy, getViewVolume, getWorkingSpace, intersect, project, setViewVolume, setWorkingSpace
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbSpherePlaneProjector(SbSphere sph)
public SbSpherePlaneProjector(SbSphere sph, float edgeTol)
public SbSpherePlaneProjector(float edgeTol)
public SbSpherePlaneProjector()
public SbSpherePlaneProjector(float edgeTol, boolean orientToEye)
The default view volume is undefined, and the working space is identity.
public SbSpherePlaneProjector(SbSphere sph, float edgeTol, 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