16#ifndef vtkPlotParallelCoordinates_h
17#define vtkPlotParallelCoordinates_h
19#include "vtkChartsCoreModule.h"
25VTK_ABI_NAMESPACE_BEGIN
132 vtkSetMacro(ColorMode,
int);
136 vtkGetMacro(ColorMode,
int);
Factory class for drawing 2D charts.
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
Class for drawing a parallel coordinate plot given columns from a vtkTable.
void SetColorModeToDefault()
Set/Get the color mode for the plot.
void SetColorModeToDirectScalars()
Set/Get the color mode for the plot.
virtual void CreateDefaultLookupTable()
Create default lookup table.
void SetColorModeToMapScalars()
Set/Get the color mode for the plot.
bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex) override
Paint legend event for the XY plot, called whenever the legend needs the plot items symbol/mark/line ...
vtkPlotParallelCoordinates()
void GetBounds(double bounds[4]) override
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.
vtkUnsignedCharArray * Colors
Lookup Table for coloring points by scalar value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStdString ColorArrayName
Lookup Table for coloring points by scalar value.
vtkScalarsToColors * GetLookupTable()
Specify a lookup table for the mapper to use.
void SetInputData(vtkTable *table) override
This is a convenience function to set the input table.
vtkStdString GetColorArrayName()
Get the array name to color by.
bool UpdateCache() override
Update the internal cache.
bool ResetSelectionRange()
Reset the selection criteria for the chart.
~vtkPlotParallelCoordinates() override
static vtkPlotParallelCoordinates * New()
Creates a parallel coordinates chart.
bool SetSelectionRange(int axis, std::vector< float > axisSelection)
Set the selection criteria on the given axis in normalized space [0.0 ; 1.0] axisSelection should be ...
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
void SelectColorArray(vtkIdType arrayNum)
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which array to use f...
void SelectColorArray(const vtkStdString &arrayName)
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which array to use f...
void SetInputData(vtkTable *table, const vtkStdString &, const vtkStdString &) override
This is a convenience function to set the input table.
int ColorMode
Lookup Table for coloring points by scalar value.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
vtkTypeBool ScalarVisibility
Lookup Table for coloring points by scalar value.
bool SetSelectionRange(int axis, float low, float high)
Set the selection criteria on the given axis in normalized space (0.0 - 1.0) for a specific range.
Abstract class for 2D plots.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table and the x, y column for the plot.
Superclass for mapping scalar values to colors.
Wrapper around std::string to keep symbols short.
A table, which contains similar-typed columns of data.
dynamic, self-adjusting array of unsigned char
#define VTK_COLOR_MODE_MAP_SCALARS
#define VTK_COLOR_MODE_DEFAULT
#define VTK_COLOR_MODE_DIRECT_SCALARS