18 #ifndef vtkScalarsToColorsItem_h
19 #define vtkScalarsToColorsItem_h
21 #include "vtkChartsCoreModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
42 void GetBounds(
double bounds[4])
override;
50 vtkSetVector4Macro(UserBounds,
double);
51 vtkGetVector4Macro(UserBounds,
double);
67 vtkGetObjectMacro(PolyLinePen,
vtkPen);
74 void SetHistogramTable(
vtkTable* histogramTable);
75 vtkGetObjectMacro(HistogramTable,
vtkTable);
86 vtkSetMacro(MaskAboveCurve,
bool);
87 vtkGetMacro(MaskAboveCurve,
bool);
117 virtual void ComputeBounds(
double* bounds);
124 virtual void ComputeTexture() = 0;
126 vtkGetMacro(TextureWidth,
int);
133 virtual bool ConfigurePlotBar();
140 virtual void ScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
void* calldata);
141 static void OnScalarsToColorsModified(
142 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
145 double UserBounds[4];
147 bool Interpolate =
true;
163 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...