50#ifndef _SB_SPHERE_PROJECTOR_
51#define _SB_SPHERE_PROJECTOR_
Base class for representing projectors.
Class for representing a rotation.
Class for representing a sphere.
virtual SbVec3f project(const SbVec2f &point)=0
Applies the projector using the given point, returning the point in three dimensions that it projects...
virtual void setWorkingSpace(const SbMatrix &space)
Sets the transform space to work in.
SbBool isOrientToEye() const
Gets whether the projector should always be oriented towards the eye.
SbBool isFront() const
Gets whether the projector should intersect the half of the sphere that faces the eye.
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
Gets a rotation given two points on this sphere projector.
const SbSphere & getSphere() const
Gets the sphere on which to project points.
virtual SbVec3f intersect(const SbLine &line)=0
Applies the projector using the given line in world coordinates, returning the point in three dimensi...
void setOrientToEye(SbBool orientToEye)
Sets whether the projector should always be oriented towards the eye.
SbBool isPointInFront(const SbVec3f &point) const
Gets whether the projector should intersect the half of the sphere that faces the eye.
SbVec3f projectAndGetRotation(const SbVec2f &point, SbRotation &rot)
Applies the projector using the given point, returning the point in three dimensions that it projects...
void setSphere(const SbSphere &sph)
Sets the sphere on which to project points.
void setFront(SbBool inFront)
Sets whether the projector should intersect the half of the sphere that faces the eye.
virtual ~SbSphereProjector()
Destructor.