35#ifndef _MO_MATERIAL_ELEMENT_
36#define _MO_MATERIAL_ELEMENT_
64 float transparency,
bool enhancedColoring);
70 float& transparency,
bool& enhancedColoring);
83 float& transparency,
bool& enhancedColoring);
88 virtual void print(FILE *fp)
const;
103 virtual SoElement* copyMatchInfo()
const;
107 static void initClass();
108 static void exitClass() ;
117 float m_transparency;
118 bool m_enhancedColoring;
#define MESHVIZXLM_DMAP_API
#define SO_ELEMENT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Property node that defin...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Stores the current mater...
virtual void print(FILE *fp) const
Prints element (for debugging).
static void set(SoState *state, SoNode *node, MoMaterial::ColoringType coloring, const SbColor &color, MoMaterial::ColoringType lineColoring, const SbColor &lineColor, MoMaterial::ColoringType markerColoring, const SbColor &markerColor, float transparency, bool enhancedColoring)
Sets the current material.
static bool getDefault(MoMaterial::ColoringType &coloring, SbColor &color, MoMaterial::ColoringType &lineColoring, SbColor &lineColor, MoMaterial::ColoringType &markerColoring, SbColor &markerColor, float &transparency, bool &enhancedColoring)
Returns the default Material from the state.
static bool getMaterial(SoState *state, MoMaterial::ColoringType &coloring, SbColor &color, MoMaterial::ColoringType &lineColoring, SbColor &lineColor, MoMaterial::ColoringType &markerColoring, SbColor &markerColor, float &transparency, bool &enhancedColoring)
Returns the current Material from the state.
static bool getEnhancedColoring(SoState *state)
static bool getColoringTypes(SoState *state, MoMaterial::ColoringType &coloring, MoMaterial::ColoringType &lineColoring, MoMaterial::ColoringType &markerColoring)
Returns the current coloring type Material from the state.
ColoringType
Color Coloring type
Abstract base class for all state elements.
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.