55 void setTransparency(
float transparency );
58 bool hasTransparency()
const;
61 float getTransparency()
const;
67 bool hasShininess()
const;
70 float getShininess()
const;
76 bool hasDiffuseColor()
const;
85 bool hasSpecularColor()
const;
94 bool hasAmbientColor()
const;
100 void setEmissiveColor(
const agx::Vec4f& color );
103 bool hasEmissiveColor()
const;
109 void setMaterialSpecification(
const agx::String& material );
115 bool hasMaterialSpecification()
const;
agx::Vec4f m_emissiveColor
agx::Vec4f m_diffuseColor
This namespace consists of a set of classes for handling geometric intersection tests including boole...
A class holding 4 dimensional vectors and providing basic arithmetic.
bool operator==(T val, InvalidIndexStruct)
agx::Vec4f m_specularColor
#define AGXPHYSICS_EXPORT
AGXOSG_EXPORT void setShininess(osg::Node *node, float shininess)
Set the shininess exponent for the Phong specular model.
AGXOSG_EXPORT void setSpecularColor(osg::Node *node, const agx::Vec4f &color)
Set the specular part of a material for a node.
Base class providing referencing counted objects.
agx::StringVector m_texturePaths
Class for storing rendering material.
agx::HashTable< agx::UInt32, RenderMaterialRef > RenderMaterialValueHashTable
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agx::Vec4f m_ambientColor
AGXOSG_EXPORT void setDiffuseColor(osg::Node *node, const agx::Vec4f &color)
Set the diffuse part of a material for a node.
Inheritance with partial specialization due to bug with ref_ptr containers.
agx::String m_materialSpecification
AGXOSG_EXPORT void setAmbientColor(osg::Node *node, const agx::Vec4f &color)
Set the ambient part of a material for a node.
AGX_DECLARE_POINTER_TYPES(SpaceListener)