SCIRun
5.0
|
#include <Material.h>
Public Member Functions | |
Material () | |
Material (const Color &, const Color &, const Color &, double) | |
Material (const Color &) | |
Material (const Material &) | |
Material & | operator= (const Material &) |
~Material () | |
Material * | clone () |
virtual void | io (Piostream &) |
![]() | |
virtual | ~Persistent () |
![]() | |
UsedWithLockingHandle (const char *name) | |
![]() | |
virtual | ~UsedWithLockingHandleBase () |
Public Attributes | |
Color | ambient |
Color | diffuse |
Color | specular |
double | shininess |
Color | emission |
double | reflectivity |
double | transparency |
double | refraction_index |
![]() | |
int | ref_cnt |
Mutex | lock |
Static Public Attributes | |
static PersistentTypeID | type_id |
Additional Inherited Members | |
![]() | |
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) |
Material | ( | ) |
Material | ( | const Color & | ambient, |
const Color & | diffuse, | ||
const Color & | specular, | ||
double | shininess | ||
) |
Material | ( | const Color & | diffuse | ) |
~Material | ( | ) |
Material * clone | ( | ) |
|
virtual |
Reimplemented from Persistent.
Color ambient |
Color diffuse |
Color emission |
double reflectivity |
double refraction_index |
double shininess |
Color specular |
double transparency |
|
static |