Public Member Functions | |
| LineProjector () | |
| LineProjector (const osg::LineSegment::vec_type &s, const osg::LineSegment::vec_type &e) | |
| void | setLine (const osg::LineSegment::vec_type &s, const osg::LineSegment::vec_type &e) |
| const osg::LineSegment::vec_type & | getLineStart () const |
| osg::LineSegment::vec_type & | getLineStart () |
| const osg::LineSegment::vec_type & | getLineEnd () const |
| osg::LineSegment::vec_type & | getLineEnd () |
| 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 line. | |
Protected Member Functions | |
| virtual | ~LineProjector () |
Protected Attributes | |
| osg::ref_ptr< osg::LineSegment > | _line |
| osgManipulator::LineProjector::LineProjector | ( | ) |
| osgManipulator::LineProjector::LineProjector | ( | const osg::LineSegment::vec_type & | s, | |
| const osg::LineSegment::vec_type & | e | |||
| ) |
| virtual osgManipulator::LineProjector::~LineProjector | ( | ) | [protected, virtual] |
| osg::LineSegment::vec_type& osgManipulator::LineProjector::getLineEnd | ( | ) | [inline] |
| const osg::LineSegment::vec_type& osgManipulator::LineProjector::getLineEnd | ( | ) | const [inline] |
| osg::LineSegment::vec_type& osgManipulator::LineProjector::getLineStart | ( | ) | [inline] |
| const osg::LineSegment::vec_type& osgManipulator::LineProjector::getLineStart | ( | ) | const [inline] |
| virtual bool osgManipulator::LineProjector::project | ( | const PointerInfo & | pi, | |
| osg::Vec3d & | projectedPoint | |||
| ) | const [virtual] |
Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given line.
Returns true on successful projection.
Implements osgManipulator::Projector.
| void osgManipulator::LineProjector::setLine | ( | const osg::LineSegment::vec_type & | s, | |
| const osg::LineSegment::vec_type & | e | |||
| ) | [inline] |
| Generated at Sat May 14 08:21:20 2011 for the OpenSceneGraph by doxygen 1.5.9. |