class SG_EXPORT osg::NodeCallback


Inheritance:


Public Fields

[more]Requirements _requirements
[more]ref_ptr<NodeCallback> _nestedCallback

Public Methods

[more] NodeCallback(const Requirements ncr=NO_REQUIREMENTS)
[more]virtual ~NodeCallback()
[more]inline void setRequirements(const Requirements ncr)
Set what values from traversal are required by this NodeCallback
[more]inline const Requirements getRequirements() const
Get what values from traversal are required by this NodeCallback
[more]virtual void operator()(Node*, NodeVisitor*)
Callback method call by the NodeVisitor when visiting a node
[more]void traverse(Node* node, NodeVisitor* nv)
Call any nested callbacks and then traverse the scene graph.
[more]void setNestedCallback(NodeCallback* nc)
[more]NodeCallback* getNestedCallback()
[more]inline void addNestedCallback(NodeCallback* nc)
[more]inline void removeNestedCallback(NodeCallback* nc)

Public Members

[more]enum Requirements
The range of values which can be accumulated by the NodeVisitor.


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

oenum Requirements
The range of values which can be accumulated by the NodeVisitor.

o NO_REQUIREMENTS

o REQUIRES_TRAVERSAL

o REQUIRES_PARENT_PATH

o REQUIRES_ACCUMULATED_MATRIX

o REQUIRES_ACCUMULATED_INVERSE

o NodeCallback(const Requirements ncr=NO_REQUIREMENTS)

ovirtual ~NodeCallback()

oinline void setRequirements(const Requirements ncr)
Set what values from traversal are required by this NodeCallback

oinline const Requirements getRequirements() const
Get what values from traversal are required by this NodeCallback

ovirtual void operator()(Node*, NodeVisitor*)
Callback method call by the NodeVisitor when visiting a node

ovoid traverse(Node* node, NodeVisitor* nv)
Call any nested callbacks and then traverse the scene graph.

ovoid setNestedCallback(NodeCallback* nc)

oNodeCallback* getNestedCallback()

oinline void addNestedCallback(NodeCallback* nc)

oinline void removeNestedCallback(NodeCallback* nc)

oRequirements _requirements

oref_ptr<NodeCallback> _nestedCallback


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.