61 #ifndef vtkApplyColors_h
62 #define vtkApplyColors_h
65 #include "vtkViewsInfovisModule.h"
67 VTK_ABI_NAMESPACE_BEGIN
92 vtkSetMacro(UsePointLookupTable,
bool);
93 vtkGetMacro(UsePointLookupTable,
bool);
94 vtkBooleanMacro(UsePointLookupTable,
bool);
102 vtkSetMacro(ScalePointLookupTable,
bool);
103 vtkGetMacro(ScalePointLookupTable,
bool);
104 vtkBooleanMacro(ScalePointLookupTable,
bool);
112 vtkSetVector3Macro(DefaultPointColor,
double);
113 vtkGetVector3Macro(DefaultPointColor,
double);
121 vtkSetMacro(DefaultPointOpacity,
double);
122 vtkGetMacro(DefaultPointOpacity,
double);
130 vtkSetVector3Macro(SelectedPointColor,
double);
131 vtkGetVector3Macro(SelectedPointColor,
double);
139 vtkSetMacro(SelectedPointOpacity,
double);
140 vtkGetMacro(SelectedPointOpacity,
double);
148 vtkSetStringMacro(PointColorOutputArrayName);
149 vtkGetStringMacro(PointColorOutputArrayName);
166 vtkSetMacro(UseCellLookupTable,
bool);
167 vtkGetMacro(UseCellLookupTable,
bool);
168 vtkBooleanMacro(UseCellLookupTable,
bool);
176 vtkSetMacro(ScaleCellLookupTable,
bool);
177 vtkGetMacro(ScaleCellLookupTable,
bool);
178 vtkBooleanMacro(ScaleCellLookupTable,
bool);
186 vtkSetVector3Macro(DefaultCellColor,
double);
187 vtkGetVector3Macro(DefaultCellColor,
double);
195 vtkSetMacro(DefaultCellOpacity,
double);
196 vtkGetMacro(DefaultCellOpacity,
double);
204 vtkSetVector3Macro(SelectedCellColor,
double);
205 vtkGetVector3Macro(SelectedCellColor,
double);
213 vtkSetMacro(SelectedCellOpacity,
double);
214 vtkGetMacro(SelectedCellOpacity,
double);
222 vtkSetStringMacro(CellColorOutputArrayName);
223 vtkGetStringMacro(CellColorOutputArrayName);
232 vtkSetMacro(UseCurrentAnnotationColor,
bool);
233 vtkGetMacro(UseCurrentAnnotationColor,
bool);
234 vtkBooleanMacro(UseCurrentAnnotationColor,
bool);
261 double DefaultPointColor[3];
263 double DefaultCellColor[3];
265 double SelectedPointColor[3];
267 double SelectedCellColor[3];
282 VTK_ABI_NAMESPACE_END
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
double DefaultCellOpacity
~vtkApplyColors() override
char * CellColorOutputArrayName
static vtkApplyColors * New()
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