VTK  9.1.0
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
30#ifndef vtkPlotBarRangeHandlesItem_h
31#define vtkPlotBarRangeHandlesItem_h
32
33#include "vtkChartsCoreModule.h" // For export macro
34#include "vtkPlotBar.h" // User defined plotbar
36#include "vtkSmartPointer.h" // Needed for vtkSmartPointer attribute
37
38class VTKCHARTSCORE_EXPORT vtkPlotBarRangeHandlesItem : public vtkPlotRangeHandlesItem
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
44
48 void GetBounds(double bounds[4]) override;
49
51
57
58protected:
60 ~vtkPlotBarRangeHandlesItem() override = default;
61
66 void SetActiveHandlePosition(double position) override;
67
68private:
70 void operator=(const vtkPlotBarRangeHandlesItem&) = delete;
71
73};
74
75#endif // vtkPlotBarRangeHandlesItem_h
a simple class to control print indentation
Definition: vtkIndent.h:113
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)
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:62
item to show and control a range on vtkAxis
void operator=(const vtkPlotRangeHandlesItem &)=delete
@ position
Definition: vtkX3D.h:267