25 #if defined(_WIN32) && !defined(__MINGW32__) // MSVC only
26 #pragma warning( disable : 4290)
29 #ifndef VTK_MANAGER_Component_PROPERTIES_H
30 #define VTK_MANAGER_Component_PROPERTIES_H
34 using namespace camitk;
57 Q_PROPERTY(
double ambient READ getAmbient WRITE setAmbient )
60 Q_PROPERTY(
double diffuse READ getDiffuse WRITE setDiffuse )
63 Q_PROPERTY(
double specular READ getSpecular WRITE setSpecular )
66 Q_PROPERTY(
double specularPower READ getSpecularPower WRITE setSpecularPower )
69 Q_PROPERTY(
double opacity READ getOpacity WRITE setOpacity )
81 Q_PROPERTY(QColor specularColor READ getSpecularColor WRITE setSpecularColor )
116 double getAmbient()
const;
119 double getDiffuse()
const;
122 double getSpecular()
const;
125 double getSpecularPower()
const;
128 double getOpacity()
const;
137 QColor getSpecularColor()
const;
154 void setAmbient(
const double input );
157 void setDiffuse(
const double input );
160 void setSpecular(
const double input );
163 void setSpecularPower(
const double input );
166 void setOpacity(
const double input );
175 void setSpecularColor(
const QColor input );
205 #endif // VTK_MANAGER_Component_PROPERTIES_H