Workspace 6.21.5
|
A shader which colors a model based using an element mapper and a color scale. More...
#include <Rendering/SceneComponents/Shaders/elementcoloringshader.h>
Additional Inherited Members | |
Static Public Member Functions inherited from TypedShader< ElementColoringShader > | |
static void | registerImplementation (const SceneRendererTypeId &rendererId, const ShaderImplementationFactory &factory) |
Protected Member Functions inherited from TypedShader< ElementColoringShader > | |
TypedShader () | |
TypedShader (const TypedShader &shader) | |
TypedShader * | clone () const override=0 |
Protected Member Functions inherited from Shader | |
Shader () | |
Shader (const Shader &shader) | |
void | addImplementation (const SceneRendererContext &context, ShaderImplementation &impl) |
void | setId (int id) |
Include a detailed description of what this does.
ElementColoringShader | ( | const ElementColoringShader & | shader | ) |
|
override |
|
inlineoverridevirtual |
Sub-classes only need to overide this if they can apply Screen Space Ambient Occlusion
Reimplemented from Shader.
|
overridevirtual |
Subclasses must override this to specify whether they apply transparency to objects or not when they are enabled.
Implements Shader.
|
overridevirtual |
Implements TypedShader< ElementColoringShader >.
const ColorScale & getColorScale | ( | ) | const |
const Mesh::ElementMapper * getElementMapper | ( | ) | const |
bool getLightingEnabled | ( | ) | const |
SurfaceRepresentation getSurfaceRepresentation | ( | ) | const |
ElementColoringShader & operator= | ( | const ElementColoringShader & | shader | ) |
void setColorScale | ( | const DataAnalysis::ColorScale & | colorScale | ) |
void setElementMapper | ( | const Mesh::ElementMapper & | mapper | ) |
void setLightingEnabled | ( | bool | b | ) |
void setSurfaceRepresentation | ( | SurfaceRepresentation | r | ) |