18 #ifndef vtkScalarsToColorsItem_h
19 #define vtkScalarsToColorsItem_h
21 #include "vtkChartsCoreModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
41 void GetBounds(
double bounds[4])
override;
49 vtkSetVector4Macro(UserBounds,
double);
50 vtkGetVector4Macro(UserBounds,
double);
66 vtkGetObjectMacro(PolyLinePen,
vtkPen);
73 void SetHistogramTable(
vtkTable* histogramTable);
74 vtkGetObjectMacro(HistogramTable,
vtkTable);
85 vtkSetMacro(MaskAboveCurve,
bool);
86 vtkGetMacro(MaskAboveCurve,
bool);
116 virtual void ComputeBounds(
double* bounds);
123 virtual void ComputeTexture() = 0;
125 vtkGetMacro(TextureWidth,
int);
132 virtual bool ConfigurePlotBar();
139 virtual void ScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
void* calldata);
140 static void OnScalarsToColorsModified(
141 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
144 double UserBounds[4];
146 bool Interpolate =
true;
162 VTK_ABI_NAMESPACE_END
vtkNew< vtkPlotBar > PlotBar
Wrapper around std::string to keep symbols short.
vtkNew< vtkPoints2D > Shape
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location, vtkIdType *segmentId)
Function to query a plot for the nearest point to the specified coordinate.
Abstract class for ScalarsToColors items.
Class for drawing 2D primitives to a graphical context.
supports function callbacks
a simple class to control print indentation
represent and manipulate 2D points
topologically and geometrically regular array of data
vtkNew< vtkCallbackCommand > Callback
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Abstract class for 2D plots.
Class for drawing an XY plot given two columns from a vtkTable.
A table, which contains similar-typed columns of data.
vtkNew< vtkPen > PolyLinePen
virtual vtkStdString GetTooltipLabel(const vtkVector2d &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex)
Generate and return the tooltip label string for this plot The segmentIndex parameter is ignored...