30#ifndef VRML1_MATERIAL_H
31#define VRML1_MATERIAL_H
The base class of all Scene Graph nodes.
Represent the top node of a VRML1 model.
std::vector< WRLVEC3F > emissiveColor
bool AddChildNode(WRL1NODE *aNode) override
std::vector< WRLVEC3F > ambientColor
void Reclaim(SGNODE *aColor)
Destroy the given color node if it does not have a parent.
bool AddRefNode(WRL1NODE *aNode) override
SGNODE * TranslateToSG(SGNODE *aParent, WRL1STATUS *sp) override
Produce a representation of the data using the intermediate scenegraph structures of the kicad_3dsg l...
void checkRange(float &aValue)
std::vector< WRLVEC3F > diffuseColor
std::vector< float > transparency
void GetColor(SGCOLOR *aColor, int aIndex)
Compute an SGCOLOR representing the appearance of a vertex or face.
bool Read(WRLPROC &proc, WRL1BASE *aTopNode) override
std::vector< WRLVEC3F > specularColor
std::vector< float > shininess
SGNODE * GetAppearance(int aIndex)
Return an SGAPPEARANCE node representing the appearance for an IndexedFaceSet.
The base class of all VRML1 nodes.