31 #ifndef vtkColorTransferControlPointsItem_h 32 #define vtkColorTransferControlPointsItem_h 34 #include "vtkChartsCoreModule.h" 100 vtkSetMacro(ColorFill,
bool);
101 vtkGetMacro(ColorFill,
bool);
108 void emitEvent(
unsigned long event,
void* params)
override;
113 void EditPoint(
float tX,
float tY)
override;
119 void ComputeBounds(
double* bounds)
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 void EditPoint(float vtkNotUsed(tX), float vtkNotUsed(tY))
vtkTypeUInt32 vtkMTimeType
virtual vtkMTimeType GetControlPointsMTime()=0
Must be reimplemented by subclasses to calculate the points to draw.
vtkColorTransferFunction * ColorTransferFunction
Abstract class for control points items.
virtual void DrawPoint(vtkContext2D *painter, vtkIdType index)
Internal function that paints a collection of points and optionally excludes some.
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
virtual void emitEvent(unsigned long event, void *params=nullptr)=0
virtual vtkIdType GetNumberOfPoints() const =0
Returns the total number of points.
Control points for vtkColorTransferFunction.
virtual vtkIdType RemovePoint(double *pos)=0
Remove a point of the function.
Defines a transfer function for mapping a property to an RGB color value.
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.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.