54#include <Inventor/SbLinear.h>
147 SbMatrix worldToWorking, workingToWorld;
Base class for representing projectors.
const SbMatrix & getWorkingSpace() const
Get the transform space to work in.
virtual ~SbProjector()
Destructor.
virtual SbVec3f intersect(const SbLine &line)=0
Applies the projector using the given line in world coordinates, returning the point in three dimensi...
virtual SbVec3f project(const SbVec2f &point)=0
Apply the projector using the given point, returning the point in three dimensions that it projects t...
virtual SbProjector * copy() const =0
Creates and returns an exact copy of the projector.
virtual void setWorkingSpace(const SbMatrix &space)
Set the transform space to work in.
virtual void setViewVolume(const SbViewVolume &vol)
Set the view volume to use for the projection.
const SbViewVolume & getViewVolume() const
Get the view volume to use for the projection.