50#ifndef _SB_CYLINDER_PROJECTOR_
51#define _SB_CYLINDER_PROJECTOR_
53#include <Inventor/projectors/SbProjector.h>
Class for representing a cylinder.
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.
virtual SbRotation getRotation(const SbVec3f &point1, const SbVec3f &point2)=0
Gets a rotation given two points on this cylinder projector.
void setFront(SbBool isFront)
Sets whether the projector should intersect the half of the cylinder that faces the eye.
const SbCylinder & getCylinder() const
Gets the cylinder on which to project points.
SbBool isOrientToEye() const
Gets whether the projector should always be oriented towards the eye.
virtual SbVec3f intersect(const SbLine &line)=0
Applies the projector using the given line in world coordinates, returning the point in three dimensi...
SbBool isPointInFront(const SbVec3f &point) const
Gets whether the projector should intersect the half of the cylinder 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...
virtual ~SbCylinderProjector()
Destructor.
void setCylinder(const SbCylinder &cyl)
Sets the cylinder on which to project points.
void setOrientToEye(SbBool orientToEye)
Sets whether the projector should always be oriented towards the eye.
SbBool isFront() const
Gets whether the projector should intersect the half of the cylinder that faces the eye.
Base class for representing projectors.
Class for representing a rotation.