15#ifndef vtkPiecewisePointHandleItem_h 
   16#define vtkPiecewisePointHandleItem_h 
   18#include "vtkChartsCoreModule.h"  
   22VTK_ABI_NAMESPACE_BEGIN
 
  109  class InternalPiecewisePointHandleInfo;
 
  110  InternalPiecewisePointHandleInfo* Internal;
 
base class for items that are part of a vtkContextScene.
 
supports function callbacks
 
Class for drawing 2D primitives to a graphical context.
 
base class for items that are part of a vtkContextScene.
 
data structure to represent mouse events.
 
a simple class to control print indentation
 
abstract base class for most VTK objects
 
Defines a 1D piecewise function.
 
a vtkContextItem that draws handles around a point of a piecewise function
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
vtkWeakPointer< vtkPiecewiseFunction > GetPiecewiseFunction()
Set the PieceWiseFunction the handles will manipulate.
 
virtual void SetPiecewiseFunction(vtkPiecewiseFunction *piecewiseFunc)
Set the PieceWiseFunction the handles will manipulate.
 
vtkPiecewisePointHandleItem()
 
virtual void Redraw()
Redraw all the handles.
 
int IsOverHandle(float *pos)
Returns the index of the handle if pos is over any of the handles, otherwise return -1;.
 
bool MouseMoveEvent(const vtkContextMouseEvent &mouse) override
Mouse move event.
 
bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse) override
Mouse button down event.
 
static vtkPiecewisePointHandleItem * New()
 
vtkCallbackCommand * Callback
 
static void CallRedraw(vtkObject *sender, unsigned long event, void *receiver, void *params)
 
vtkWeakPointer< vtkPiecewiseFunction > PiecewiseFunction
 
bool Paint(vtkContext2D *painter) override
Paint event for the item.
 
bool Hit(const vtkContextMouseEvent &mouse) override
Returns true if the supplied x, y coordinate is inside the item.
 
vtkIdType CurrentPointIndex
 
bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse) override
Mouse button release event.
 
void SetParent(vtkAbstractContextItem *parent) override
Set the parent item, which should be a vtkControlPointItem.
 
~vtkPiecewisePointHandleItem() override
 
a weak reference to a vtkObject.