30 #ifndef vtkScalarsToColorsItem_h 31 #define vtkScalarsToColorsItem_h 33 #include "vtkChartsCoreModule.h" 52 void GetBounds(
double bounds[4])
override;
60 vtkSetVector4Macro(UserBounds,
double);
61 vtkGetVector4Macro(UserBounds,
double);
77 vtkGetObjectMacro(PolyLinePen,
vtkPen);
84 void SetHistogramTable(
vtkTable* histogramTable);
85 vtkGetObjectMacro(HistogramTable,
vtkTable);
96 vtkSetMacro(MaskAboveCurve,
bool);
97 vtkGetMacro(MaskAboveCurve,
bool);
109 #ifndef VTK_LEGACY_REMOVE 111 #endif // VTK_LEGACY_REMOVE 129 virtual void ComputeBounds(
double* bounds);
136 virtual void ComputeTexture() = 0;
138 vtkGetMacro(TextureWidth,
int);
145 virtual bool ConfigurePlotBar();
152 virtual void ScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
void* calldata);
153 static void OnScalarsToColorsModified(
154 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
157 double UserBounds[4];
159 bool Interpolate =
true;
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...