|
openscenegraph
|
#include <Projector>
Protected Member Functions | |
| virtual | ~CylinderPlaneProjector () |
Protected Member Functions inherited from osgManipulator::CylinderProjector | |
| virtual | ~CylinderProjector () |
Protected Member Functions inherited from osgManipulator::Projector | |
| virtual | ~Projector () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| osg::Plane | _plane |
| osg::Vec3d | _planeLineStart |
| osg::Vec3d | _planeLineEnd |
| bool | _parallelPlane |
Protected Attributes inherited from osgManipulator::CylinderProjector | |
| osg::ref_ptr< osg::Cylinder > | _cylinder |
| osg::Vec3d | _cylinderAxis |
| bool | _front |
Protected Attributes inherited from osgManipulator::Projector | |
| osg::Matrix | _localToWorld |
| osg::Matrix | _worldToLocal |
| bool | _worldToLocalDirty |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
CylinderPlaneProjector projects a point onto a plane relative to the given cylinder. For most cases, the plane will be parallel to the cylinder axis oriented towards the eyepoint. When the eyepoint and cylinder axis are close to parallel, then it will project onto a plane perpendicular to the cylinder.
| osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector | ( | ) |
| osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector | ( | osg::Cylinder * | cylinder | ) |
|
protectedvirtual |
| osg::Quat osgManipulator::CylinderPlaneProjector::getRotation | ( | const osg::Vec3d & | p1, |
| const osg::Vec3d & | p2 | ||
| ) | const |
|
virtual |
Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. Returns true on successful projection.
| [in] | pi | Incoming intersection information |
| [out] | projectedPoint | Point located on the given plane |
Reimplemented from osgManipulator::CylinderProjector.
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |