Go to the documentation of this file.
34 #ifndef vtkPiecewiseControlPointsItem_h
35 #define vtkPiecewiseControlPointsItem_h
37 #include "vtkChartsCoreModule.h"
84 vtkSetMacro(StrokeMode,
bool);
91 void emitEvent(
unsigned long event,
void* params =
nullptr)
override;
98 void EditPoint(
float tX,
float tY)
override;
virtual void GetControlPoint(vtkIdType index, double *point) const =0
Returns the x and y coordinates as well as the midpoint and sharpness of the control point correspond...
virtual vtkIdType GetNumberOfPoints() const =0
Returns the total number of points.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void SetControlPoint(vtkIdType index, double *point)=0
Sets the x and y coordinates as well as the midpoint and sharpness of the control point corresponding...
virtual vtkIdType AddPoint(double *newPos)=0
Add a point to the function.
Abstract class for control points items.
virtual void emitEvent(unsigned long event, void *params=nullptr)=0
virtual void EditPoint(float vtkNotUsed(tX), float vtkNotUsed(tY))
Control points for vtkPiecewiseFunction.
virtual vtkIdType RemovePoint(double *pos)=0
Remove a point of the function.
a simple class to control print indentation
Defines a 1D piecewise function.
vtkPiecewiseFunction * PiecewiseFunction
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkMTimeType GetControlPointsMTime()=0
vtkTypeUInt32 vtkMTimeType