31 mNode =
new osg::Node();
virtual const std::string & GetType() const override
Returns the class type.
trBase::SmrtPtr< osg::Node > mNode
This class hold custom user data.
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
virtual osg::Node * AsOSGNode()
Returns a pointer to the internal OSG Node.
This class is part of the internal garbage collection system.
virtual void SetName(const std::string &name)
Sets this instances name.
virtual trBase::UserDataContainer * GetUserData()
Returns the custom user data that could be stored in the class instance Note, that if the user did no...
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
virtual void SetName(const std::string &name)
Sets this instances name.
T * Get() const
Returns the stored internal pointer.
virtual void SetUserData(trBase::UserDataContainer *data)
Sets the user data for the current instance.
NodeBase(const std::string name=CLASS_TYPE)
ctor