Go to the documentation of this file.
31 #ifndef vtkValuePainter_h
32 #define vtkValuePainter_h
34 #include "vtkRenderingOpenGLModule.h"
90 unsigned char *
color);
108 unsigned long typeflags,
bool forceCompileOnly);
122 vtkInternals *Internals;
static vtkInformationDoubleVectorKey * SCALAR_RANGE()
void SetInputComponentToProcess(int comp)
Set the component (0..numcomponents-1) of the specified array to be drawn.
static vtkInformationStringKey * ARRAY_NAME()
static vtkInformationIntegerKey * ARRAY_COMPONENT()
static vtkInformationIntegerKey * ARRAY_ID()
void SetInputArrayToProcess(int fieldAssociation, const char *name)
Set the array to be drawn.
static vtkValuePainter * New()
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
overridden to draw the chosen array value directly as color
represents an object (geometry & properties) in a rendered scene
void SetScalarRange(double min, double max)
Use the provided scalar range instead of the range of the input data array.
a simple class to control print indentation
object to represent cell connectivity
painter that renders arrays encoded into pixel colors.
static void ColorToValue(unsigned char *color, double min, double scale, double &value)
void DrawCells(int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkRenderer *renderer)
overridden implement drawlines, points, strips
abstract specification for renderers
static vtkInformationIntegerKey * SCALAR_MODE()
Optionally passed down from RenderPass pipeline to controls what data array to draw.
A standard implementation of vtkPolyDataPainter.
static void ValueToColor(double value, double min, double scale, unsigned char *color)
Internal convenience method to convert a value to a color TODO: make this templated and programmable.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void ProcessInformation(vtkInformation *)
overridden to look for informationkeys that specify what array to draw
void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType)