51#ifndef _SB_SPHERE_SECTION_PROJECTOR_
52#define _SB_SPHERE_SECTION_PROJECTOR_
54#include <Inventor/projectors/SbSphereProjector.h>
103 SbBool orientToEye = TRUE);
120 float edgeTol = 0.9f,
121 SbBool orientToEye = TRUE);
190 virtual void setupTolerance(
const SbLine *line = NULL );
Base class for representing projectors.
Class for representing a rotation.
Class for representing a sphere.
Sphere-section projector.
SbSphereSectionProjector(const SbSphere &sph, float edgeTol=0.9f, SbBool orientToEye=TRUE)
Constructor that uses a supplied sphere.
~SbSphereSectionProjector()
Destructor.
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)
Computes a rotation based on two points on this projector.
virtual SbProjector * copy() const
Returns an instance that is a copy of this instance.
void setRadialFactor(float rad=0.0)
Sets the radial rotation factor.
float getRadialFactor() const
Gets the radial rotation factor.
virtual SbVec3f intersect(const SbLine &line)
Applies the projector using the given line in world coordinates, returning the point in three dimensi...
SbBool isWithinTolerance(const SbVec3f &point)
Finds whether this point on the sphere or tolerance plane is within tolerance.
SbSphereSectionProjector(float edgeTol=0.9f, SbBool orientToEye=TRUE)
Constructor that uses a default sphere centered at the origin with radius 1.0.
virtual SbVec3f project(const SbVec2f &point)
Applies the projector using the given point, returning the point in three dimensions that it projects...
float getTolerance() const
Gets the edge tolerance as a fraction of the radius of the sphere.
void setTolerance(float edgeTol)
Sets the edge tolerance as a fraction of the radius of the sphere.