public class SbSphereProjector extends SbProjector
SbSphereProjector
is an abstract base class for projectors that use a sphere in their projection. Sphere projectors are typically used to write interactive 3D manipulators and viewers.
See also:
SbCylinderProjector
, SbCylinderPlaneProjector
, SbCylinderSectionProjector
, SbCylinderSheetProjector
, SbLineProjector
, SbPlaneProjector
, SbSpherePlaneProjector
, SbSphereSectionProjector
, SbSphereSheetProjector
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
SbRotation |
getRotation(SbVec3f point1,
SbVec3f point2)
Gets a rotation given two points on this sphere projector.
|
SbSphere |
getSphere()
Gets the sphere on which to project points.
|
boolean |
isFront()
Gets whether the projector should intersect the half of the sphere that faces the eye.
|
boolean |
isOrientToEye()
Gets whether the projector should always be oriented towards the eye.
|
boolean |
isPointInFront(SbVec3f point)
Gets whether the projector should intersect the half of the sphere that faces the eye.
|
SbRotation |
projectAndGetRotation(SbVec2f point)
Applies the projector using the given point, returning the point in three dimensions that it projects to.
|
void |
setFront(boolean inFront)
Sets whether the projector should intersect the half of the sphere that faces the eye.
|
void |
setOrientToEye(boolean orientToEye)
Sets whether the projector should always be oriented towards the eye.
|
void |
setSphere(SbSphere sph)
Sets the sphere on which to project points.
|
copy, getViewVolume, getWorkingSpace, intersect, project, setViewVolume, setWorkingSpace
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbRotation getRotation(SbVec3f point1, SbVec3f point2)
public boolean isOrientToEye()
public SbRotation projectAndGetRotation(SbVec2f point)
public SbSphere getSphere()
public void setFront(boolean inFront)
public void setOrientToEye(boolean orientToEye)
public boolean isPointInFront(SbVec3f point)
public void setSphere(SbSphere sph)
public boolean isFront()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com