VTK  9.3.0
vtkFinitePlaneWidget.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
60#ifndef vtkFinitePlaneWidget_h
61#define vtkFinitePlaneWidget_h
62
63#include "vtkAbstractWidget.h"
64#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
65#include "vtkInteractionWidgetsModule.h" // For export macro
66#include "vtkLegacy.h" // for VTK_LEGACY_REMOVE
67
68VTK_ABI_NAMESPACE_BEGIN
70class vtkHandleWidget;
71
72class VTKINTERACTIONWIDGETS_EXPORT vtkFinitePlaneWidget : public vtkAbstractWidget
73{
74public:
79
81
85 void PrintSelf(ostream& os, vtkIndent indent) override;
87
94
100
101protected:
104
107 {
108 Start = 0,
109 Active
110 };
111#if !defined(VTK_LEGACY_REMOVE)
112 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
114#endif
115
116 // These methods handle events
120
125 int UpdateCursorShape(int interactionState);
126
127private:
129 void operator=(const vtkFinitePlaneWidget&) = delete;
130};
131
132VTK_ABI_NAMESPACE_END
133#endif
define the API for widget / widget representation
represent the vtkFinitePlaneWidget.
3D widget for manipulating a finite plane
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:29
#define VTK_DEPRECATED_IN_9_2_0(reason)