OpenSceneGraph
3.0.1
|
PlaneProjector projects points onto the given line. More...
Public Member Functions | |
PlaneProjector () | |
PlaneProjector (const osg::Plane &plane) | |
void | setPlane (const osg::Plane &plane) |
const osg::Plane & | getPlane () 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 |
PlaneProjector projects points onto the given line.
osgManipulator::PlaneProjector::PlaneProjector | ( | const osg::Plane & | plane | ) |
virtual osgManipulator::PlaneProjector::~PlaneProjector | ( | ) | [protected, virtual] |
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] |
osg::Plane osgManipulator::PlaneProjector::_plane [protected] |
![]() | Generated at Thu Sep 27 2012 17:03:17 for the OpenSceneGraph by doxygen 1.7.6.1. |