osgManipulator::PlaneProjector Class Reference

PlaneProjector projects points onto the given line. More...

Inheritance diagram for osgManipulator::PlaneProjector:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 PlaneProjector ()
 PlaneProjector (const osg::Plane &plane)
void setPlane (const osg::Plane &plane)
const osg::PlanegetPlane () const
virtual bool project (const PointerInfo &pi, osg::Vec3 &projectedPoint) const
 Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane.

Protected Member Functions

virtual ~PlaneProjector ()

Protected Attributes

osg::Plane _plane


Detailed Description

PlaneProjector projects points onto the given line.

Constructor & Destructor Documentation

osgManipulator::PlaneProjector::PlaneProjector (  ) 

osgManipulator::PlaneProjector::PlaneProjector ( const osg::Plane plane  ) 

virtual osgManipulator::PlaneProjector::~PlaneProjector (  )  [protected, virtual]


Member Function Documentation

void osgManipulator::PlaneProjector::setPlane ( const osg::Plane plane  )  [inline]

const osg::Plane& osgManipulator::PlaneProjector::getPlane (  )  const [inline]

virtual bool osgManipulator::PlaneProjector::project ( const PointerInfo pi,
osg::Vec3 projectedPoint 
) const [virtual]

Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane.

Returns true on successful projection.

Implements osgManipulator::Projector.


Member Data Documentation

osg::Plane osgManipulator::PlaneProjector::_plane [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:40 2007 for the OpenSceneGraph by doxygen 1.5.3.