68#ifndef _SB_SPHERE_SHEET_PROJECTOR_
69#define _SB_SPHERE_SHEET_PROJECTOR_
117 bool orientToEye =
TRUE);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Base class for representing projectors.
Class for representing a rotation.
virtual SbVec3f project(const SbVec2f &point)
Apply the projector using the given point, returning the point in three dimensions that it projects t...
float planeDist
distance from sphere center
SbSphereSheetProjector(const SbSphere &sph, bool orientToEye=TRUE)
Constructors.
SbVec3f workingProjPoint
The projection point in working space.
SbVec3f planePoint
Information about the plane used for intersection testing.
virtual SbProjector * copy() const
Returns an instance that is a copy of this instance.
SbSphereSheetProjector(bool orientToEye=TRUE)
~SbSphereSheetProjector()
Destructor.
void setupPlane()
Sets up the plane use to project on to.
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)
Computes a rotation based on two points on this projector.
SbPlane tolPlane
the plane itself
SbVec3f planeDir
normal direction
Class for representing a sphere.