#include <VrmlData_Material.hxx>
Inheritance diagram for VrmlData_Material:

Public Member Functions | |
| Standard_EXPORT | VrmlData_Material () |
| Standard_EXPORT | VrmlData_Material (const VrmlData_Scene &theScene, const char *theName, const Standard_Real theAmbientIntensity=-1., const Standard_Real theShininess=-1., const Standard_Real theTransparency=-1.) |
| Standard_Real | AmbientIntensity () const |
| Standard_Real | Shininess () const |
| Standard_Real | Transparency () const |
| const Quantity_Color & | DiffuseColor () const |
| const Quantity_Color & | EmissiveColor () const |
| const Quantity_Color & | SpecularColor () const |
| void | SetAmbientIntensity (const Standard_Real theAmbientIntensity) |
| void | SetShininess (const Standard_Real theShininess) |
| void | SetTransparency (const Standard_Real theTransparency) |
| void | SetDiffuseColor (const Quantity_Color &theColor) |
| void | SetEmissiveColor (const Quantity_Color &theColor) |
| void | SetSpecularColor (const Quantity_Color &theColor) |
| virtual Standard_EXPORT | Handle (VrmlData_Node) Clone(const Handle(VrmlData_Node)&theOther) const |
| virtual Standard_EXPORT VrmlData_ErrorStatus | Read (VrmlData_InBuffer &theBuffer) |
| virtual Standard_EXPORT VrmlData_ErrorStatus | Write (const char *thePrefix) const |
| virtual Standard_EXPORT Standard_Boolean | IsDefault () const |
Private Attributes | |
| Standard_Real | myAmbientIntensity |
| Standard_Real | myShininess |
| Standard_Real | myTransparency |
| Quantity_Color | myDiffuseColor |
| Quantity_Color | myEmissiveColor |
| Quantity_Color | mySpecularColor |
|
|
Empty constructor |
|
||||||||||||||||||||||||
|
Constructor |
|
|
Query the Ambient Intensity value |
|
|
Query the Diffuse color |
|
|
Query the Emissive color |
|
|
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified. Reimplemented from VrmlData_Node. |
|
|
Returns True if the node is default, so that it should not be written. Reimplemented from VrmlData_Node. |
|
|
Read the Node from input stream. Implements VrmlData_Node. |
|
|
Set the Ambient Intensity value |
|
|
Query the Diffuse color |
|
|
Query the Emissive color |
|
|
Set the Shininess value |
|
|
Query the Specular color |
|
|
Set the Transparency value |
|
|
Query the Shininess value |
|
|
Query the Specular color |
|
|
Query the Transparency value |
|
|
Write the Node to the Scene output. Reimplemented from VrmlData_Node. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1