34 class UserDataContainer;
84 Node(
const std::string name = CLASS_TYPE);
94 Node(osg::Node& node,
const std::string name = CLASS_TYPE);
103 virtual const std::string& GetType()
const override;
112 virtual void SetName(
const std::string& name);
121 virtual osg::Node* AsOSGNode();
130 virtual const osg::Node* AsOSGNode()
const;
139 virtual void Accept(osg::NodeVisitor& nv);
148 virtual void Ascend(osg::NodeVisitor& nv);
157 virtual void Traverse(osg::NodeVisitor& nv);
176 using NodePath = std::vector<trBase::SmrtPtr<Node>>;
trBase::SmrtPtr< osg::Node > mNode
The node.
std::vector< trBase::SmrtPtr< Node > > NodePath
A vector of Nodes pointers which is used to describe the path from a root node to a descendant...
unsigned int 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...
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
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 Group, that can be accessed by user if ...