Public Member Functions |
| PickVisitor (const osg::Viewport *viewport, const osg::Matrixd &proj, const osg::Matrixd &view, float mx, float my) |
void | runNestedPickVisitor (osg::Node &node, const osg::Viewport *viewport, const osg::Matrix &proj, const osg::Matrix &view, float mx, float my) |
void | apply (osg::Projection &projection) |
void | apply (osg::Camera &camera) |
| IntersectVisitor () |
virtual | ~IntersectVisitor () |
| META_NodeVisitor ("osgUtil","IntersectVisitor") void reset() |
void | addLineSegment (osg::LineSegment *seg) |
HitList & | getHitList (const osg::LineSegment *seg) |
int | getNumHits (const osg::LineSegment *seg) |
LineSegmentHitListMap & | getSegHitList () |
bool | hits () |
void | setLODSelectionMode (LODSelectionMode mode) |
LODSelectionMode | getLODSelectionMode () const |
void | setEyePoint (const osg::Vec3 &eye) |
virtual osg::Vec3 | getEyePoint () const |
virtual float | getDistanceToEyePoint (const osg::Vec3 &pos, bool withLODScale) const |
virtual void | apply (osg::Node &) |
virtual void | apply (osg::Geode &node) |
virtual void | apply (osg::Billboard &node) |
virtual void | apply (osg::Group &node) |
virtual void | apply (osg::Transform &node) |
virtual void | apply (osg::Switch &node) |
virtual void | apply (osg::LOD &node) |
| NodeVisitor (TraversalMode tm=TRAVERSE_NONE) |
| NodeVisitor (VisitorType type, TraversalMode tm=TRAVERSE_NONE) |
virtual | ~NodeVisitor () |
virtual const char * | libraryName () const |
virtual const char * | className () const |
virtual void | reset () |
void | setVisitorType (VisitorType type) |
VisitorType | getVisitorType () const |
void | setTraversalNumber (unsigned int fn) |
unsigned int | getTraversalNumber () const |
void | setFrameStamp (FrameStamp *fs) |
const FrameStamp * | getFrameStamp () const |
void | setTraversalMask (Node::NodeMask mask) |
Node::NodeMask | getTraversalMask () const |
void | setNodeMaskOverride (Node::NodeMask mask) |
Node::NodeMask | getNodeMaskOverride () const |
bool | validNodeMask (const osg::Node &node) const |
void | setTraversalMode (TraversalMode mode) |
TraversalMode | getTraversalMode () const |
void | setUserData (Referenced *obj) |
Referenced * | getUserData () |
const Referenced * | getUserData () const |
void | traverse (Node &node) |
void | pushOntoNodePath (Node *node) |
void | popFromNodePath () |
NodePath & | getNodePath () |
const NodePath & | getNodePath () const |
virtual osg::Vec3 | getViewPoint () const |
virtual float | getDistanceFromEyePoint (const Vec3 &, bool) const |
virtual float | getDistanceToViewPoint (const Vec3 &, bool) const |
virtual void | apply (ProxyNode &node) |
virtual void | apply (CoordinateSystemNode &node) |
virtual void | apply (ClipNode &node) |
virtual void | apply (TexGenNode &node) |
virtual void | apply (LightSource &node) |
virtual void | apply (CameraView &node) |
virtual void | apply (MatrixTransform &node) |
virtual void | apply (PositionAttitudeTransform &node) |
virtual void | apply (Sequence &node) |
virtual void | apply (PagedLOD &node) |
virtual void | apply (ClearNode &node) |
virtual void | apply (OccluderNode &node) |
virtual void | apply (OcclusionQueryNode &node) |
void | setDatabaseRequestHandler (DatabaseRequestHandler *handler) |
DatabaseRequestHandler * | getDatabaseRequestHandler () |
const DatabaseRequestHandler * | getDatabaseRequestHandler () const |
void | setImageRequestHandler (ImageRequestHandler *handler) |
ImageRequestHandler * | getImageRequestHandler () |
const ImageRequestHandler * | getImageRequestHandler () const |
| Referenced () |
| Referenced (bool threadSafeRefUnref) |
| Referenced (const Referenced &) |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Picking intersection visitor specialises the IntersectVistor to allow more convinient handling of mouse picking.