openscenegraph
|
Protected Member Functions | |
virtual | ~CylinderPlaneProjector () |
![]() | |
virtual | ~CylinderProjector () |
![]() | |
virtual | ~Projector () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
osg::Plane | _plane |
bool | _onCylinder |
osg::Vec3d | _planeLineStart |
osg::Vec3d | _planeLineEnd |
![]() | |
osg::ref_ptr< osg::Cylinder > | _cylinder |
osg::Vec3d | _cylinderAxis |
bool | _front |
![]() | |
osg::Matrix | _localToWorld |
osg::Matrix | _worldToLocal |
bool | _worldToLocalDirty |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
CylinderPlaneProjector projects points onto the given cylinder.
osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector | ( | ) |
osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector | ( | osg::Cylinder * | cylinder | ) |
|
protectedvirtual |
osg::Quat osgManipulator::CylinderPlaneProjector::getRotation | ( | const osg::Vec3d & | p1, |
bool | p1OnCyl, | ||
const osg::Vec3d & | p2, | ||
bool | p2OnCyl | ||
) | const |
|
inline |
Returns true if the previous projection was on the cylinder and false if the projection was on the plane.
|
virtual |
Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. Returns true on successful projection.
Reimplemented from osgManipulator::CylinderProjector.
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |