VTK  9.2.6
vtkFinitePlaneWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFinitePlaneWidget.h
5 
6  Copyright (c)
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 =========================================================================*/
75 #ifndef vtkFinitePlaneWidget_h
76 #define vtkFinitePlaneWidget_h
77 
78 #include "vtkAbstractWidget.h"
79 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
80 #include "vtkInteractionWidgetsModule.h" // For export macro
81 
83 class vtkHandleWidget;
84 
85 class VTKINTERACTIONWIDGETS_EXPORT vtkFinitePlaneWidget : public vtkAbstractWidget
86 {
87 public:
91  static vtkFinitePlaneWidget* New();
92 
94 
98  void PrintSelf(ostream& os, vtkIndent indent) override;
100 
106  void SetRepresentation(vtkFinitePlaneRepresentation* r);
107 
112  void CreateDefaultRepresentation() override;
113 
114 protected:
116  ~vtkFinitePlaneWidget() override;
117 
120  {
121  Start = 0,
122  Active
123  };
124 #if !defined(VTK_LEGACY_REMOVE)
125  VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
127 #endif
128 
129  // These methods handle events
130  static void SelectAction(vtkAbstractWidget*);
131  static void EndSelectAction(vtkAbstractWidget*);
132  static void MoveAction(vtkAbstractWidget*);
133 
138  int UpdateCursorShape(int interactionState);
139 
140 private:
142  void operator=(const vtkFinitePlaneWidget&) = delete;
143 };
144 
145 #endif
3D widget for manipulating a finite plane
#define VTK_DEPRECATED_IN_9_2_0(reason)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard macros implementing standard VTK methods.
a general widget for moving handles
virtual void CreateDefaultRepresentation()=0
Create the default widget representation if one is not set.
a simple class to control print indentation
Definition: vtkIndent.h:39
represent the vtkFinitePlaneWidget.
define the API for widget / widget representation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...