OSG
3.4.0
|
#include <Projector.h>
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 |
osg::Vec3d | _planeLineStart |
osg::Vec3d | _planeLineEnd |
bool | _parallelPlane |
![]() | |
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 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.
Definition at line 272 of file Projector.h.
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 |
Definition at line 305 of file Projector.h.
|
mutableprotected |
Definition at line 303 of file Projector.h.
|
mutableprotected |
Definition at line 304 of file Projector.h.
|
mutableprotected |
Definition at line 304 of file Projector.h.