Go to the documentation of this file.
32 #ifndef vtkCompositeControlPointsItem_h
33 #define vtkCompositeControlPointsItem_h
61 ColorPointsFunction = 1,
62 OpacityPointsFunction = 2,
63 ColorAndOpacityPointsFunction = 3
virtual void DrawPoint(vtkContext2D *painter, vtkIdType index)
data structure to represent mouse events.
#define vtkGetObjectMacro(name, type)
vtkCompositeControlPointsItem()
virtual unsigned long int GetControlPointsMTime()
void MergeTransferFunctions()
void SilentMergeTransferFunctions()
virtual ~vtkCompositeControlPointsItem()
#define vtkTypeMacro(thisClass, superclass)
virtual void EditPointCurve(vtkIdType idx)
Class for drawing 2D primitives to a graphical context.
virtual vtkIdType RemovePoint(double *pos)
a vtkContextItem that draws handles around a point of a piecewise function
Defines a transfer function for mapping a property to an RGB color value.
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
vtkPiecewiseFunction * OpacityFunction
virtual bool UsingLogScale()
Control points for vtkColorTransferFunction.
GLenum const GLfloat * params
virtual void emitEvent(unsigned long event, void *params)
a simple class to control print indentation
virtual void SetControlPoint(vtkIdType index, double *point)
virtual void EditPoint(float tX, float tY)
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &mouse)
#define vtkGetMacro(name, type)
virtual vtkIdType AddPoint(double *newPos)
void SetOpacityFunction(vtkPiecewiseFunction *opacity)
vtkPiecewisePointHandleItem * OpacityPointHandle
Defines a 1D piecewise function.
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
#define VTKCHARTSCORE_EXPORT
bool UseOpacityPointHandles
virtual void GetControlPoint(vtkIdType index, double *pos) const
static vtkCompositeControlPointsItem * New()
Control points for vtkCompositeFunction.
virtual void SetColorTransferFunction(vtkColorTransferFunction *function)
virtual vtkIdType GetNumberOfPoints() const