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=========================================================================*/
71
72#ifndef vtkFinitePlaneWidget_h
73#define vtkFinitePlaneWidget_h
74
75#include "vtkAbstractWidget.h"
76#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
77#include "vtkInteractionWidgetsModule.h" // For export macro
78
80class vtkHandleWidget;
81
82class VTKINTERACTIONWIDGETS_EXPORT vtkFinitePlaneWidget : public vtkAbstractWidget
83{
84public:
89
91
95 void PrintSelf(ostream& os, vtkIndent indent) override;
97
104
110
111protected:
114
117 {
118 Start = 0,
120 };
121#if !defined(VTK_LEGACY_REMOVE)
122 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
124#endif
125
126 // These methods handle events
130
135 int UpdateCursorShape(int interactionState);
136
137private:
139 void operator=(const vtkFinitePlaneWidget&) = delete;
140};
141
142#endif
represent the vtkFinitePlaneWidget.
static void SelectAction(vtkAbstractWidget *)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard vtkObject methods.
static vtkFinitePlaneWidget * New()
Instantiate the object.
void SetRepresentation(vtkFinitePlaneRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void MoveAction(vtkAbstractWidget *)
~vtkFinitePlaneWidget() override
int UpdateCursorShape(int interactionState)
Update the cursor shape based on the interaction state.
static void EndSelectAction(vtkAbstractWidget *)
a general widget for moving handles
a simple class to control print indentation
Definition vtkIndent.h:34
#define VTK_DEPRECATED_IN_9_2_0(reason)