OSG
3.4.0
|
#include <Projector.h>
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 | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
LineProjector projects points onto the closest point on the given line.
Definition at line 89 of file Projector.h.
osgManipulator::LineProjector::LineProjector | ( | ) |
osgManipulator::LineProjector::LineProjector | ( | const osg::LineSegment::vec_type & | s, |
const osg::LineSegment::vec_type & | e | ||
) |
|
protectedvirtual |
|
inline |
Definition at line 102 of file Projector.h.
|
inline |
Definition at line 103 of file Projector.h.
|
inline |
Definition at line 99 of file Projector.h.
|
inline |
Definition at line 100 of file Projector.h.
|
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 |
Definition at line 97 of file Projector.h.
|
protected |
Definition at line 116 of file Projector.h.