SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Material Class Reference

#include <Material.h>

Inheritance diagram for Material:
Persistent UsedWithLockingHandle< Mutex > UsedWithLockingHandleBase

Public Member Functions

 Material ()
 
 Material (const Color &, const Color &, const Color &, double)
 
 Material (const Color &)
 
 Material (const Material &)
 
Materialoperator= (const Material &)
 
 ~Material ()
 
Materialclone ()
 
virtual void io (Piostream &)
 
- Public Member Functions inherited from Persistent
virtual ~Persistent ()
 
- Public Member Functions inherited from UsedWithLockingHandle< Mutex >
 UsedWithLockingHandle (const char *name)
 
- Public Member Functions inherited from UsedWithLockingHandleBase
virtual ~UsedWithLockingHandleBase ()
 

Public Attributes

Color ambient
 
Color diffuse
 
Color specular
 
double shininess
 
Color emission
 
double reflectivity
 
double transparency
 
double refraction_index
 
- Public Attributes inherited from UsedWithLockingHandle< Mutex >
int ref_cnt
 
Mutex lock
 

Static Public Attributes

static PersistentTypeID type_id
 

Additional Inherited Members

- Static Public Member Functions inherited from Persistent
static PersistentTypeIDPtr find_derived (const std::string &classname, const std::string &basename)
 
static bool is_base_of (const std::string &parent, const std::string &type)
 
static void add_class (const std::string &type, const std::string &parent, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_mesh_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_field_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 

Constructor & Destructor Documentation

Material ( )
Material ( const Color &  ambient,
const Color &  diffuse,
const Color &  specular,
double  shininess 
)
Material ( const Color &  diffuse)
Material ( const Material copy)
~Material ( )

Member Function Documentation

Material * clone ( )
void io ( Piostream stream)
virtual

Reimplemented from Persistent.

Material & operator= ( const Material copy)

Member Data Documentation

Color ambient
Color diffuse
Color emission
double reflectivity
double refraction_index
double shininess
Color specular
double transparency
PersistentTypeID type_id
static

The documentation for this class was generated from the following files: