VTK  9.3.0
vtkPlotBarRangeHandlesItem.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
21 #ifndef vtkPlotBarRangeHandlesItem_h
22 #define vtkPlotBarRangeHandlesItem_h
23 
24 #include "vtkChartsCoreModule.h" // For export macro
25 #include "vtkPlotBar.h" // User defined plotbar
27 #include "vtkSmartPointer.h" // Needed for vtkSmartPointer attribute
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKCHARTSCORE_EXPORT vtkPlotBarRangeHandlesItem : public vtkPlotRangeHandlesItem
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
40  void GetBounds(double bounds[4]) override;
41 
43 
49 
50 protected:
52  ~vtkPlotBarRangeHandlesItem() override = default;
53 
58  void SetActiveHandlePosition(double position) override;
59 
60 private:
62  void operator=(const vtkPlotBarRangeHandlesItem&) = delete;
63 
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif // vtkPlotBarRangeHandlesItem_h
a simple class to control print indentation
Definition: vtkIndent.h:29
show and control the range of a vtkAxis used with a vtkPlotBar
void SetActiveHandlePosition(double position) override
Internal method to set the ActiveHandlePosition and compute the ActiveHandleRangeValue accordingly.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPlotBarRangeHandlesItem * New()
~vtkPlotBarRangeHandlesItem() override=default
vtkPlotBarRangeHandlesItem()=default
vtkSetSmartPointerMacro(PlotBar, vtkPlotBar)
Get/Set the plot bar object to work with.
vtkGetSmartPointerMacro(PlotBar, vtkPlotBar)
Get/Set the plot bar object to work with.
void GetBounds(double bounds[4]) override
Recover the bounds of the item.
Class for drawing an XY plot given two columns from a vtkTable.
Definition: vtkPlotBar.h:35
item to show and control a range on vtkAxis
void operator=(const vtkPlotRangeHandlesItem &)=delete
@ position
Definition: vtkX3D.h:261