55 #include "ui_QtMaterialDialogUi.h" 57 #include "../Math/VectorT.hh" 58 #include "../GL/gl.hh" 103 QColor convertColor(
Vec4f _color);
104 Vec4f convertColor( QColor _color);
107 const Vec4f& _color );
111 void changeBaseColor(QColor _newColor);
112 void changeAmbientColor(QColor _newColor);
113 void changeDiffuseColor(QColor _newColor);
114 void changeSpecularColor(QColor _newColor);
115 void changeOverlayColor(QColor _newColor);
116 void changeShine(
int _new);
117 void changePointSize(
double _new);
118 void changeLineWidth(
double _new);
119 void changeRoundPoints(
bool _b);
120 void changeLineSmooth(
bool _b);
121 void changeBackfaceCulling(
bool _b);
122 void changeAlphaTest(
bool _b);
123 void changeAlphaValue(
int _new);
124 void changeBlending(
bool _b);
125 void changeBlendingParam1(
const QString& _name);
126 void changeBlendingParam2(
const QString& _name);
127 void changeColorMaterial(
bool _b);
128 void changeMultiSampling(
bool _b);
130 void changeActive(
bool toggle);
132 void enableProperty();
133 void enableProperty(
int i);
134 void enableProperty(
double d);
136 QString paramToStr(GLenum param);
147 unsigned int applyProperties_;
149 Vec4f color_, bak_color_,
150 ambient_, bak_ambient_,
151 diffuse_, bak_diffuse_,
152 specular_, bak_specular_,
153 overlay_, bak_overlay_;
154 float shine_, bak_shine_;
155 float point_size_, bak_point_size_;
156 float line_width_, bak_line_width_;
157 bool round_points_, bak_round_points_;
158 bool line_smooth_, bak_line_smooth_;
159 bool backfaceCulling_, bak_backfaceCulling_;
160 bool alphaTest_, bak_alphaTest_;
161 float alphaValue_, bak_alphaValue_;
162 bool blending_, bak_blending_;
163 GLenum blendParam1_, bak_blendParam1_;
164 GLenum blendParam2_, bak_blendParam2_;
165 bool colorMaterial_, bak_colorMaterial_;
166 bool multiSampling_, bak_multiSampling_;
168 bool baseColorActive_, bak_baseColorActive_;
169 bool materialActive_, bak_materialActive_;
170 bool pointSizeActive_, bak_pointSizeActive_;
171 bool lineWidthActive_, bak_lineWidthActive_;
172 bool roundPointsActive_, bak_roundPointsActive_;
173 bool lineSmoothActive_, bak_lineSmoothActive_;
174 bool alphaTestActive_, bak_alphaTestActive_;
175 bool blendingActive_, bak_blendingActive_;
176 bool backfaceCullingActive_, bak_backfaceCullingActive_;
177 bool colorMaterialActive_, bak_colorMaterialActive_;
178 bool multiSamplingActive_, bak_multiSamplingActive_;
182 Ui::QtMaterialDialogUi ui_;
Namespace providing different geometric functions concerning angles.