VTK  9.5.2
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
59
60#ifndef vtkFinitePlaneWidget_h
61#define vtkFinitePlaneWidget_h
62
63#include "vtkAbstractWidget.h"
64#include "vtkInteractionWidgetsModule.h" // For export macro
65#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
66
67VTK_ABI_NAMESPACE_BEGIN
69class vtkHandleWidget;
70
71class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtkFinitePlaneWidget : public vtkAbstractWidget
72{
73public:
78
80
84 void PrintSelf(ostream& os, vtkIndent indent) override;
86
93
99
100protected:
103
106 {
107 Start = 0,
109 };
110
111 // These methods handle events
115
120 int UpdateCursorShape(int interactionState);
121
122private:
124 void operator=(const vtkFinitePlaneWidget&) = delete;
125};
126
127VTK_ABI_NAMESPACE_END
128#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:29
#define VTK_MARSHALAUTO