35 #ifndef ANA_COLOR_MATERIAL_H 36 #define ANA_COLOR_MATERIAL_H 179 {
return( !
operator != ( mat ) ); }
bool operator==(const Material &mat) const
friend std::istream & operator>>(std::istream &, anatomist::Material &)
GLfloat Specular(int i) const
GLfloat Shininess() const
ghost mode (invisible to clicks)
void SetDiffuseA(float val)
specify which is the front face (normally CW in our indirect referentials): 0 is CW, 1 is CCW.
GLfloat * unlitColor() const
color used without lighting (filar meshes, wireframe)
bool operator!=(const Material &) const
polygons color interpolation
void SetDiffuseB(float val)
RenderProperty
Rendering properties flags.
GLfloat Diffuse(int i) const
int renderProperty(RenderProperty) const
a property set to -1 is neutral (use window or app default)
void SetDiffuseR(float val)
void SetDiffuse(float, float, float, float)
void setLineWidth(float w)
void SetAmbientG(float val)
This class has to be rewritten, it's really really a shame.......
void SetSpecularA(float val)
void setRenderProperty(RenderProperty, int)
void SetDiffuseG(float val)
GLfloat Emission(int i) const
void SetShininess(float val)
GLfloat Ambient(int i) const
void SetAmbientB(float val)
Material & operator=(const Material &)
void SetEmissionG(float val)
void SetSpecularG(float val)
void SetSpecular(float, float, float, float)
void SetAmbient(float, float, float, float)
void SetEmissionA(float val)
void SetEmissionB(float val)
void SetSpecularR(float val)
lighting effect according to vertices normals
if set, the normal in a mesh is actually its wireframe direction, and interpreted as if the wireframe...
void SetEmission(float, float, float, float)
void popGLState() const
Pops previous OpenGL state.
void setGLMaterial() const
setup OpenGL properties.
filter back side polygons
void setUnlitColor(float, float, float, float)
void SetSpecularB(float val)
void SetAmbientA(float val)
friend std::ostream & operator<<(std::ostream &, const anatomist::Material &)
void SetAmbientR(float val)
carto::Object genericDescription() const
void SetEmissionR(float val)