22 #ifndef vtkPiecewiseControlPointsItem_h
23 #define vtkPiecewiseControlPointsItem_h
25 #include "vtkChartsCoreModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
71 void emitEvent(
unsigned long event,
void* params =
nullptr)
override;
Abstract class for control points items.
a simple class to control print indentation
Control points for vtkPiecewiseFunction.
vtkIdType RemovePoint(double *pos) override
Remove a point of the function.
void GetControlPoint(vtkIdType index, double *point) const override
Returns the x and y coordinates as well as the midpoint and sharpness of the control point correspond...
virtual void SetPiecewiseFunction(vtkPiecewiseFunction *function)
Set the piecewise function to draw its points.
void SetControlPoint(vtkIdType index, double *point) override
Sets the x and y coordinates as well as the midpoint and sharpness of the control point corresponding...
static vtkPiecewiseControlPointsItem * New()
Creates a piecewise control points object.
vtkIdType GetNumberOfPoints() const override
Returns the total number of points.
vtkMTimeType GetControlPointsMTime() override
Must be reimplemented by subclasses to calculate the points to draw.
vtkPiecewiseFunction * PiecewiseFunction
~vtkPiecewiseControlPointsItem() override
vtkIdType AddPoint(double *newPos) override
Add a point to the function.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void emitEvent(unsigned long event, void *params=nullptr) override
vtkPiecewiseControlPointsItem()
void EditPoint(float tX, float tY) override
Defines a 1D piecewise function.
vtkTypeUInt32 vtkMTimeType