36 mNode =
new osg::Group();
trBase::SmrtPtr< osg::Node > mNode
The node.
virtual void Accept(osg::NodeVisitor &nv)
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type.
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
virtual const std::string & GetType() const override
Returns the class type.
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.
Class for wrapping the osg node Internally it contains an OSG Group, that can be accessed by user if ...
virtual void SetName(const std::string &name)
Sets this instances name.
virtual void Traverse(osg::NodeVisitor &nv)
Traverse downwards : calls children's accept method with NodeVisitor.
virtual void Ascend(osg::NodeVisitor &nv)
Traverse upwards : calls parents' accept method with NodeVisitor.
virtual void SetName(const std::string &name)
Sets this instances name.
virtual osg::Node * AsOSGNode()
Returns a pointer to the internal OSG Node.
T * Get() const
Returns the stored internal pointer.
Node(const std::string name=CLASS_TYPE)
Constructor.