Public Member Functions | |
| SphereProjector () | |
| SphereProjector (osg::Sphere *sphere) | |
| void | setSphere (osg::Sphere *sphere) |
| const osg::Sphere * | getSphere () 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 sphere. | |
| bool | isPointInFront (const PointerInfo &pi, const osg::Matrix &localToWorld) const |
| Returns true is the point is in front of the cylinder given the eye direction. | |
| void | setFront (bool front) |
Protected Member Functions | |
| virtual | ~SphereProjector () |
Protected Attributes | |
| osg::ref_ptr< osg::Sphere > | _sphere |
| bool | _front |
| osgManipulator::SphereProjector::SphereProjector | ( | ) |
| osgManipulator::SphereProjector::SphereProjector | ( | osg::Sphere * | sphere | ) |
| virtual osgManipulator::SphereProjector::~SphereProjector | ( | ) | [protected, virtual] |
| const osg::Sphere* osgManipulator::SphereProjector::getSphere | ( | ) | const [inline] |
| bool osgManipulator::SphereProjector::isPointInFront | ( | const PointerInfo & | pi, | |
| const osg::Matrix & | localToWorld | |||
| ) | const |
Returns true is the point is in front of the cylinder given the eye direction.
| virtual bool osgManipulator::SphereProjector::project | ( | const PointerInfo & | pi, | |
| osg::Vec3d & | projectedPoint | |||
| ) | const [virtual] |
Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere.
Returns true on successful projection.
Implements osgManipulator::Projector.
Reimplemented in osgManipulator::SpherePlaneProjector.
| void osgManipulator::SphereProjector::setFront | ( | bool | front | ) | [inline] |
| void osgManipulator::SphereProjector::setSphere | ( | osg::Sphere * | sphere | ) | [inline] |
bool osgManipulator::SphereProjector::_front [protected] |
| Generated at Sat May 14 08:21:20 2011 for the OpenSceneGraph by doxygen 1.5.9. |