66 NodeBase(
const std::string name = CLASS_TYPE);
71 virtual const std::string& GetType()
const override;
76 virtual void SetName(
const std::string& name);
81 virtual osg::Node* AsOSGNode();
86 virtual const osg::Node* AsOSGNode()
const;
trBase::SmrtPtr< osg::Node > mNode
This class hold custom user data.
osg::Node::NodeMask NodeMask
Holds the class type name for efficient comparisons.
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
trBase::SmrtPtr< trBase::UserDataContainer > mUserData
This class is part of the internal garbage collection system.
Base class for creating all the scenegraphs nodes.
This is a Base class that carries the Class name and Unique ID of all the derived classes...
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.