28#ifndef vtkPiecewiseControlPointsItem_h
29#define vtkPiecewiseControlPointsItem_h
31#include "vtkChartsCoreModule.h"
76 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...
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.
static vtkPiecewiseControlPointsItem * New()
Creates a piecewise control points object.
void emitEvent(unsigned long event, void *params=nullptr) override
vtkPiecewiseControlPointsItem()
void EditPoint(float tX, float tY) override
Defines a 1D piecewise function.
vtkTypeUInt32 vtkMTimeType