30 #ifndef vtkScalarsToColorsItem_h 31 #define vtkScalarsToColorsItem_h 33 #include "vtkChartsCoreModule.h" 50 void GetBounds(
double bounds[4])
override;
58 vtkSetVector4Macro(UserBounds,
double);
59 vtkGetVector4Macro(UserBounds,
double)
75 vtkGetObjectMacro(PolyLinePen,
vtkPen);
86 vtkSetMacro(MaskAboveCurve,
bool);
87 vtkGetMacro(MaskAboveCurve,
bool);
92 ~vtkScalarsToColorsItem() override;
99 virtual
void ComputeBounds(
double* bounds);
106 virtual
void ComputeTexture() = 0;
108 vtkGetMacro(TextureWidth,
int);
110 void TransformDataToScreen(const
double dataX, const
double dataY,
111 double &screenX,
double &screenY);
112 void TransformScreenToData(const
double screenX, const
double screenY,
113 double &dataX,
double &dataY);
120 virtual
void ScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
void* calldata);
121 static
void OnScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
void *clientdata,
void* calldata);
124 double UserBounds[4];
135 vtkScalarsToColorsItem(const vtkScalarsToColorsItem &) = delete;
136 void operator=(const vtkScalarsToColorsItem &) = delete;
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 void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
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
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Abstract class for 2D plots.