60 void GetColor(
int aIndex,
float&
red,
float& green,
float& blue );
The base class of all Scene Graph nodes.
The top node of a VRML2 model.
bool Read(WRLPROC &proc, WRL2BASE *aTopNode) override
std::vector< WRLVEC3F > colors
void GetColor(int aIndex, float &red, float &green, float &blue)
Retrieve the given color (or default 0.8, 0.8, 0.8 if index is invalid).
bool AddChildNode(WRL2NODE *aNode) override
bool AddRefNode(WRL2NODE *aNode) override
bool isDangling(void) override
Determine whether an object should be moved to a different parent during the VRML to SG* translation.
void GetColors(WRLVEC3F *&aColorList, size_t &aListSize)
Retrieve the current list of colors.
SGNODE * TranslateToSG(SGNODE *aParent) override
Produce a representation of the data using the intermediate scenegraph structures of the kicad_3dsg l...