VTK  9.5.20250625
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
29
30VTK_ABI_NAMESPACE_BEGIN
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
42 void GetBounds(double bounds[4]) override;
43
45
48 vtkSetSmartPointerMacro(PlotBar, vtkPlotBar);
49 vtkGetSmartPointerMacro(PlotBar, vtkPlotBar);
51
52protected:
54 ~vtkPlotBarRangeHandlesItem() override = default;
55
60 void SetActiveHandlePosition(double position) override;
61
62private:
64 void operator=(const vtkPlotBarRangeHandlesItem&) = delete;
65
67};
68
69VTK_ABI_NAMESPACE_END
70#endif // vtkPlotBarRangeHandlesItem_h
a simple class to control print indentation
Definition vtkIndent.h:108
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
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:55
item to show and control a range on vtkAxis
void operator=(const vtkPlotRangeHandlesItem &)=delete
Hold a reference to a vtkObjectBase instance.
#define VTK_MARSHALAUTO