VTK  9.2.6
vtkPlotBarRangeHandlesItem.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPlotBarRangeHandlesItem.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15
32
33#ifndef vtkPlotBarRangeHandlesItem_h
34#define vtkPlotBarRangeHandlesItem_h
35
36#include "vtkChartsCoreModule.h" // For export macro
37#include "vtkPlotBar.h" // User defined plotbar
39#include "vtkSmartPointer.h" // Needed for vtkSmartPointer attribute
40
41class VTKCHARTSCORE_EXPORT vtkPlotBarRangeHandlesItem : public vtkPlotRangeHandlesItem
42{
43public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
47
51 void GetBounds(double bounds[4]) override;
52
54
60
61protected:
63 ~vtkPlotBarRangeHandlesItem() override = default;
64
69 void SetActiveHandlePosition(double position) override;
70
71private:
73 void operator=(const vtkPlotBarRangeHandlesItem&) = delete;
74
76};
77
78#endif // vtkPlotBarRangeHandlesItem_h
a simple class to control print indentation
Definition vtkIndent.h:40
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)
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:46
void operator=(const vtkPlotRangeHandlesItem &)=delete
Hold a reference to a vtkObjectBase instance.