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