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::Vec3d &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

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

virtual bool osgManipulator::PlaneProjector::project ( const PointerInfo pi,
osg::Vec3d 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.

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


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Wed Apr 22 19:50:01 2009 for the OpenSceneGraph by doxygen 1.5.8.