23 #ifndef MATERIAL_MODEL_H
24 #define MATERIAL_MODEL_H
33 #include <Graphic3d_MaterialAspect.hxx>
52 void fromProperties(
const QString& );
53 QString toProperties();
57 bool isPhysical()
const;
58 void setPhysical(
bool );
60 bool hasReflection( ReflectionType )
const;
61 void setReflection( ReflectionType,
bool );
63 QColor color( ReflectionType )
const;
64 void setColor( ReflectionType,
const QColor& );
66 double reflection( ReflectionType,
bool =
true )
const;
67 void setReflection( ReflectionType,
double,
bool =
true );
69 double shininess(
bool =
true)
const;
70 void setShininess(
double,
bool =
true );
72 double transparency()
const;
73 void setTransparency(
double );
75 Graphic3d_MaterialAspect getMaterialOCCAspect(
bool =
true );
#define MATERIAL_SALOME_EXPORT
Definition: Material.h:33
Definition: GEOM_VTKPropertyMaterial.hxx:34
Definition: Material_Model.h:39
ReflectionList myReflection
Definition: Material_Model.h:96
double myBackShininess
Definition: Material_Model.h:94
double myTransparency
Definition: Material_Model.h:95
QVector< ReflectionData > ReflectionList
Definition: Material_Model.h:90
@ Specular
Specular.
Definition: Material_Model.h:45
@ Diffuse
Diffuse.
Definition: Material_Model.h:44
@ Ambient
Ambient.
Definition: Material_Model.h:43
bool myIsPhysical
Definition: Material_Model.h:92
double myFrontShininess
Definition: Material_Model.h:93
Material properties resources manager.
Definition: Material_ResourceMgr.h:35
Definition: Material_Model.h:83
double front_coef
Definition: Material_Model.h:85
QColor color
Definition: Material_Model.h:84
double back_coef
Definition: Material_Model.h:86
bool enabled
Definition: Material_Model.h:87