51#ifndef _SB_SPHERE_PLANE_PROJECTOR_
52#define _SB_SPHERE_PLANE_PROJECTOR_
116 float edgeTol = 0.9f,
#define TRUE
Possible value of SbBool.
Base class for representing projectors.
Class for representing a rotation.
Class for representing a sphere.
virtual SbVec3f project(const SbVec2f &point)
Apply the projector using the given point, returning the point in three dimensions that it projects t...
virtual SbVec3f intersect(const SbLine &line)
Apply the projector using the given line in world coordinates, returning the point in three dimension...
SbSpherePlaneProjector(const SbSphere &sph, float edgeTol=0.9f, SbBool orientToEye=TRUE)
Constructor that uses a supplied sphere.
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)
Computes a rotation based on two points on this projector.
~SbSpherePlaneProjector()
Destructor.
virtual SbProjector * copy() const
Returns an instance that is a copy of this instance.
SbSpherePlaneProjector(float edgeTol=0.9f, SbBool orientToEye=TRUE)
Constructor that uses a default sphere centered at the origin with radius 1.0.
Sphere-section projector.