61 bool WriteVRML( std::ostream& aFile,
bool aReuseFlag )
override;
Define an RGB color set for a scenegraph object.
An object to maintain a coordinate index list.
Define a vertex coordinate set for a scenegraph object.
Define an indexed face set for a scenegraph.
void GatherCoordIndices(std::vector< int > &aIndexList)
Add all internal coordinate indices to the given list in preparation for a normals calculation.
void unlinkRefNode(const SGNODE *aNode) override
Remove pointers to a referenced node.
SGCOORDINDEX * m_CoordIndices
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 addNode(SGNODE *aNode, bool isChild)
bool CalcNormals(SGNODE **aPtr)
void ReNameNodes(void) override
Rename a node and all its child nodes in preparation for write operations.
virtual bool SetParent(SGNODE *aParent, bool notify=true) override
Set the parent SGNODE of this object.
void unlinkChildNode(const SGNODE *aNode) override
Remove references to an owned child.
void unlinkNode(const SGNODE *aNode, bool isChild)
bool AddRefNode(SGNODE *aNode) override
bool AddChildNode(SGNODE *aNode) override
bool WriteCache(std::ostream &aFile, SGNODE *parentNode) override
Write this node's data to a binary cache file.
bool WriteVRML(std::ostream &aFile, bool aReuseFlag) override
Writes this node's data to a VRML file.
bool ReadCache(std::istream &aFile, SGNODE *parentNode) override
Reads binary format data from a cache file.
The base class of all Scene Graph nodes.
Define a set of vertex normals for a scene graph object.