114 bool SetName(
const char *aName );
IFSG_NODE(const IFSG_NODE &aParent)=delete
virtual bool NewNode(IFSG_NODE &aParent)=0
const char * GetNodeTypeName(S3D::SGTYPES aNodeType) const
Return the text representation of the node type or NULL if the node somehow has an invalid type.
SGNODE * GetParent(void) const
Return a pointer to the parent SGNODE of this object or NULL if the object has no parent (ie.
bool SetParent(SGNODE *aParent)
Set the parent SGNODE of this object.
SGNODE * GetRawPtr(void) noexcept
Return the raw internal SGNODE pointer.
SGNODE * FindNode(const char *aNodeName)
Search the tree of linked nodes and returns a reference to the first node found with the given name.
virtual bool NewNode(SGNODE *aParent)=0
Create a new node to associate with this wrapper.
virtual bool Attach(SGNODE *aNode)=0
Associate a given SGNODE* with this wrapper.
const char * GetName(void)
Return a pointer to the node name (NULL if no name assigned).
void Destroy(void)
Delete the object held by this wrapper.
bool AddChildNode(SGNODE *aNode)
Add a node as a child owned by this node.
bool AddRefNode(SGNODE *aNode)
Add a reference to an existing node which is not owned by (not a child of) this node.
bool SetName(const char *aName)
Set the node's name.
S3D::SGTYPES GetNodeType(void) const
Return the type of this node instance.
The base class of all Scene Graph nodes.
defines the low level classes common to scene graph nodes
defines the types of intermediate scene graph objects