59 bool WriteVRML( std::ostream& aFile,
bool aReuseFlag )
override;
65 std::vector< SMESH >& meshes );
Define the basic data set required to represent a 3D model.
void unlinkChildNode(const SGNODE *aNode) override
Remove references to an owned child.
bool Prepare(const glm::dmat4 *aTransform, S3D::MATLIST &materials, std::vector< SMESH > &meshes)
bool AddChildNode(SGNODE *aNode) override
std::vector< SGSHAPE * > m_RShape
bool WriteVRML(std::ostream &aFile, bool aReuseFlag) override
Writes this node's data to a VRML file.
virtual bool SetParent(SGNODE *aParent, bool notify=true) override
Set the parent SGNODE of this object.
bool ReadCache(std::istream &aFile, SGNODE *parentNode) override
Reads binary format data from a cache file.
void unlinkNode(const SGNODE *aNode, bool isChild)
std::vector< SCENEGRAPH * > m_RTransforms
void ReNameNodes(void) override
Rename a node and all its child nodes in preparation for write operations.
std::vector< SGSHAPE * > m_Shape
std::vector< SCENEGRAPH * > m_Transforms
bool addNode(SGNODE *aNode, bool isChild)
SGNODE * FindNode(const char *aNodeName, const SGNODE *aCaller) override
Search the tree of linked nodes and return a reference to the first node found with the given name.
bool WriteCache(std::ostream &aFile, SGNODE *parentNode) override
Write this node's data to a binary cache file.
bool AddRefNode(SGNODE *aNode) override
void unlinkRefNode(const SGNODE *aNode) override
Remove pointers to a referenced node.
The base class of all Scene Graph nodes.
Define a complex 3D shape for a scenegraph object.