VTK  9.3.1
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
63#ifndef vtkFinitePlaneWidget_h
64#define vtkFinitePlaneWidget_h
65
66#include "vtkAbstractWidget.h"
67#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
68#include "vtkInteractionWidgetsModule.h" // For export macro
69#include "vtkLegacy.h" // for VTK_LEGACY_REMOVE
70
71VTK_ABI_NAMESPACE_BEGIN
73class vtkHandleWidget;
74
75class VTKINTERACTIONWIDGETS_EXPORT vtkFinitePlaneWidget : public vtkAbstractWidget
76{
77public:
82
84
88 void PrintSelf(ostream& os, vtkIndent indent) override;
90
97
103
104protected:
107
110 {
111 Start = 0,
112 Active
113 };
114#if !defined(VTK_LEGACY_REMOVE)
115 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
117#endif
118
119 // These methods handle events
123
128 int UpdateCursorShape(int interactionState);
129
130private:
132 void operator=(const vtkFinitePlaneWidget&) = delete;
133};
134
135VTK_ABI_NAMESPACE_END
136#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)