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