Go to the documentation of this file.
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;
void emitEvent(unsigned long event, void *params) override
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...
vtkColorTransferControlPointsItem()
void SetColorTransferFunction(vtkColorTransferFunction *function)
Set the piecewise function to draw its points.
void EditPoint(float tX, float tY) override
void ComputeBounds(double *bounds) override
Compute the bounds for this item.
Class for drawing 2D primitives to a graphical context.
vtkIdType AddPoint(double *newPos) override
Add a point to the function.
~vtkColorTransferControlPointsItem() override
Defines a transfer function for mapping a property to an RGB color value.
vtkIdType GetNumberOfPoints() const override
Return the number of points in the color transfer function.
Abstract class for control points items.
Control points for vtkColorTransferFunction.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkColorTransferControlPointsItem * New()
Creates a piecewise control points object.
a simple class to control print indentation
void DrawPoint(vtkContext2D *painter, vtkIdType index) override
vtkIdType RemovePoint(double *pos) override
Remove a point of the function.
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...
vtkColorTransferFunction * ColorTransferFunction
vtkMTimeType GetControlPointsMTime() override
vtkTypeUInt32 vtkMTimeType