52 void AddNormal(
double aXValue,
double aYValue,
double aZValue );
56 bool WriteVRML( std::ostream& aFile,
bool aReuseFlag )
override;
The base class of all Scene Graph nodes.
Define a set of vertex normals for a scene graph object.
virtual bool SetParent(SGNODE *aParent, bool notify=true) override
Set the parent SGNODE of this object.
bool AddChildNode(SGNODE *aNode) noexcept override
void ReNameNodes(void) override
Rename a node and all its child nodes in preparation for write operations.
bool WriteCache(std::ostream &aFile, SGNODE *parentNode) override
Write this node's data to a binary cache file.
void AddNormal(double aXValue, double aYValue, double aZValue)
bool GetNormalList(size_t &aListSize, SGVECTOR *&aNormalList)
bool WriteVRML(std::ostream &aFile, bool aReuseFlag) override
Writes this node's data to a VRML file.
void SetNormalList(size_t aListSize, const SGVECTOR *aNormalList)
bool ReadCache(std::istream &aFile, SGNODE *parentNode) override
Reads binary format data from a cache file.
void unlinkRefNode(const SGNODE *aNode) noexcept override
Remove pointers to a referenced node.
SGNODE * FindNode(const char *aNodeName, const SGNODE *aCaller) noexcept override
Search the tree of linked nodes and return a reference to the first node found with the given name.
bool AddRefNode(SGNODE *aNode) noexcept override
void unlinkChildNode(const SGNODE *aNode) noexcept override
Remove references to an owned child.
std::vector< SGVECTOR > norms