77#ifndef vtkApplyColors_h
78#define vtkApplyColors_h
81#include "vtkViewsInfovisModule.h"
107 vtkSetMacro(UsePointLookupTable,
bool);
108 vtkGetMacro(UsePointLookupTable,
bool);
109 vtkBooleanMacro(UsePointLookupTable,
bool);
117 vtkSetMacro(ScalePointLookupTable,
bool);
118 vtkGetMacro(ScalePointLookupTable,
bool);
119 vtkBooleanMacro(ScalePointLookupTable,
bool);
127 vtkSetVector3Macro(DefaultPointColor,
double);
128 vtkGetVector3Macro(DefaultPointColor,
double);
136 vtkSetMacro(DefaultPointOpacity,
double);
137 vtkGetMacro(DefaultPointOpacity,
double);
145 vtkSetVector3Macro(SelectedPointColor,
double);
146 vtkGetVector3Macro(SelectedPointColor,
double);
154 vtkSetMacro(SelectedPointOpacity,
double);
155 vtkGetMacro(SelectedPointOpacity,
double);
163 vtkSetStringMacro(PointColorOutputArrayName);
164 vtkGetStringMacro(PointColorOutputArrayName);
181 vtkSetMacro(UseCellLookupTable,
bool);
182 vtkGetMacro(UseCellLookupTable,
bool);
183 vtkBooleanMacro(UseCellLookupTable,
bool);
191 vtkSetMacro(ScaleCellLookupTable,
bool);
192 vtkGetMacro(ScaleCellLookupTable,
bool);
193 vtkBooleanMacro(ScaleCellLookupTable,
bool);
201 vtkSetVector3Macro(DefaultCellColor,
double);
202 vtkGetVector3Macro(DefaultCellColor,
double);
210 vtkSetMacro(DefaultCellOpacity,
double);
211 vtkGetMacro(DefaultCellOpacity,
double);
219 vtkSetVector3Macro(SelectedCellColor,
double);
220 vtkGetVector3Macro(SelectedCellColor,
double);
228 vtkSetMacro(SelectedCellOpacity,
double);
229 vtkGetMacro(SelectedCellOpacity,
double);
237 vtkSetStringMacro(CellColorOutputArrayName);
238 vtkGetStringMacro(CellColorOutputArrayName);
247 vtkSetMacro(UseCurrentAnnotationColor,
bool);
248 vtkGetMacro(UseCurrentAnnotationColor,
bool);
249 vtkBooleanMacro(UseCurrentAnnotationColor,
bool);
276 double DefaultPointColor[3];
278 double DefaultCellColor[3];
280 double SelectedPointColor[3];
282 double SelectedCellColor[3];
Abstract superclass for all arrays.
apply colors to a data set.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
bool ScaleCellLookupTable
void ProcessColorArray(vtkUnsignedCharArray *colorArr, vtkScalarsToColors *lut, vtkAbstractArray *arr, unsigned char color[4], bool scale)
char * PointColorOutputArrayName
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetPointLookupTable(vtkScalarsToColors *lut)
The lookup table to use for point colors.
vtkScalarsToColors * PointLookupTable
int FillInputPortInformation(int port, vtkInformation *info) override
Set the input type of the algorithm to vtkGraph.
virtual void SetCellLookupTable(vtkScalarsToColors *lut)
The lookup table to use for cell colors.
vtkScalarsToColors * CellLookupTable
double SelectedCellOpacity
bool UseCurrentAnnotationColor
double SelectedPointOpacity
static vtkApplyColors * New()
double DefaultCellOpacity
~vtkApplyColors() override
char * CellColorOutputArrayName
bool ScalePointLookupTable
double DefaultPointOpacity
vtkMTimeType GetMTime() override
Retrieve the modified time for this filter.
a simple class to control print indentation
Superclass for mapping scalar values to colors.
dynamic, self-adjusting array of unsigned char
vtkTypeUInt32 vtkMTimeType