39 #ifndef vtkRangeHandlesItem_h
40 #define vtkRangeHandlesItem_h
42 #include "vtkChartsCoreModule.h"
63 void GetBounds(
double bounds[4])
override;
96 this->Superclass::SynchronizeRangeHandlesOff();
101 this->Superclass::SetHandleOrientation(Orientation::VERTICAL);
122 #endif // vtkRangeHandlesItem_h
void SynchronizeRangeHandlesOn() override
Overridden to force using desynchronized vertical handles.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetHandleOrientation(int vtkNotUsed(orientation)) override
Overridden to force using desynchronized vertical handles.
item to show and control a range on vtkAxis
void GetBounds(double bounds[4]) override
Recover the bounds of the item.
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
virtual void ComputeHandlesDrawRange()
Compute the handles draw range by using the handle width and the transfer function.
item to show and control the range of a vtkColorTransferFunction
bool Paint(vtkContext2D *painter) override
Paint both handles and the range if a handle is active or hovered.
virtual void SetActiveHandlePosition(double position)
Internal method to set the ActiveHandlePosition and compute the ActiveHandleRangeValue accordingly...
Defines a transfer function for mapping a property to an RGB color value.
virtual void GetHandlesRange(double range[2])
Recover the range currently set by the handles Use this method by observing EndInteractionEvent.
void SetSynchronizeRangeHandles(vtkTypeBool vtkNotUsed(synchronize)) override
Overridden to force using desynchronized vertical handles.
void operator=(const vtkPlotRangeHandlesItem &)=delete
static vtkPlotRangeHandlesItem * New()