32 class UserDataContainer;
79 Node(
const std::string name = CLASS_TYPE);
88 virtual const std::string& GetType()
const override;
97 virtual void SetName(
const std::string& name);
106 virtual osg::Node* AsOSGNode();
115 virtual const osg::Node* AsOSGNode()
const;
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
unsigned int NodeMask
Holds the class type name for efficient comparisons.
This class is part of the internal garbage collection system.
This is a Base class that carries the Class name and Unique ID of all the derived classes...
Class for wrapping the osg node Internally it contains an OSG Node, that can be accessed by user if a...
trBase::SmrtPtr< osg::Node > mNode
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type.