openscenegraph
|
#include <Projector>
Protected Member Functions | |
virtual | ~LineProjector () |
![]() | |
virtual | ~Projector () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
osg::ref_ptr< osg::LineSegment > | _line |
![]() | |
osg::Matrix | _localToWorld |
osg::Matrix | _worldToLocal |
bool | _worldToLocalDirty |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
LineProjector projects points onto the closest point on the given line.
osgManipulator::LineProjector::LineProjector | ( | ) |
osgManipulator::LineProjector::LineProjector | ( | const osg::LineSegment::vec_type & | s, |
const osg::LineSegment::vec_type & | e | ||
) |
|
protectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
|
inline |
|
protected |