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;
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...
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...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetNumberOfPoints() const override
Returns the total number of points.
virtual void SetPiecewiseFunction(vtkPiecewiseFunction *function)
Set the piecewise function to draw its points.
Abstract class for control points items.
vtkIdType RemovePoint(double *pos) override
Remove a point of the function.
~vtkPiecewiseControlPointsItem() override
Control points for vtkPiecewiseFunction.
vtkMTimeType GetControlPointsMTime() override
a simple class to control print indentation
vtkIdType AddPoint(double *newPos) override
Add a point to the function.
Defines a 1D piecewise function.
vtkPiecewiseFunction * PiecewiseFunction
vtkPiecewiseControlPointsItem()
void EditPoint(float tX, float tY) override
void emitEvent(unsigned long event, void *params=nullptr) override
vtkTypeUInt32 vtkMTimeType
static vtkPiecewiseControlPointsItem * New()
Creates a piecewise control points object.