Go to the documentation of this file.
31 #ifndef vtkColorTransferControlPointsItem_h
32 #define vtkColorTransferControlPointsItem_h
34 #include "vtkChartsCoreModule.h"
101 vtkGetMacro(ColorFill,
bool);
115 virtual void emitEvent(
unsigned long event,
void* params);
vtkColorTransferControlPointsItem()
void SetColorTransferFunction(vtkColorTransferFunction *function)
Set the piecewise function to draw its points.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Class for drawing 2D primitives to a graphical context.
virtual bool UsingLogScale()
Returns true if control points are to be rendered in log-space.
Defines a transfer function for mapping a property to an RGB color value.
vtkTypeUInt64 vtkMTimeType
virtual void EditPoint(float tX, float tY)
Abstract class for control points items.
virtual vtkIdType RemovePoint(double *pos)
Remove a point of the function.
Control points for vtkColorTransferFunction.
virtual void DrawPoint(vtkContext2D *painter, vtkIdType index)
virtual void SetControlPoint(vtkIdType index, double *point)
Sets the x and y coordinates as well as the midpoint and sharpness of the control point corresponding...
virtual void ComputeBounds(double *bounds)
Compute the bounds for this item.
virtual ~vtkColorTransferControlPointsItem()
static vtkColorTransferControlPointsItem * New()
Creates a piecewise control points object.
a simple class to control print indentation
virtual vtkIdType AddPoint(double *newPos)
Add a point to the function.
virtual void GetControlPoint(vtkIdType index, double *point) const
Returns the x and y coordinates as well as the midpoint and sharpness of the control point correspond...
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkColorTransferFunction * ColorTransferFunction
virtual vtkMTimeType GetControlPointsMTime()
virtual vtkIdType GetNumberOfPoints() const
Return the number of points in the color transfer function.
virtual void emitEvent(unsigned long event, void *params)