20#include <vtkPolyDataAlgorithm.h>
46 void PrintSelf(ostream& os, vtkIndent indent)
override;
74 vtkInformationVector** inputVector,
75 vtkInformationVector* outputVector)
override;
Definition of the VtkAlgorithmProperties class.
Contains properties for the visualization of objects as VtkVisPipelineItems.
VTK filter object for colouring vtkPolyData objects based on z-coordinates.
VtkColorLookupTable * BuildColorTable()
Calculates the color lookup table based on set parameters.
void SetTableRangeScaling(double scale)
Sets the scaling of the color look-up table boundaries. This is used in VtkVisTabWidget when a parent...
vtkGetObjectMacro(ColorLookupTable, VtkColorLookupTable)
Returns the underlying colour look up table object.
double _tableRangeScaling
~VtkColorByHeightFilter() override
vtkMTimeType GetMTime() override
This filter gets updated when the color look-up table was modified.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints the mesh data to an output stream.
vtkTypeMacro(VtkColorByHeightFilter, vtkPolyDataAlgorithm)
void SetTableRange(double min, double max)
Sets the boundaries for the color look-up table.
static VtkColorByHeightFilter * New()
Create new objects with New() because of VTKs object reference counting.
void SetUserProperty(QString name, QVariant value) override
Sets user properties.
VtkColorLookupTable * ColorLookupTable
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
The filter logic.
Calculates and stores a colour lookup table.