VTK  9.5.2
vtkImplicitCylinderWidget.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
78
79#ifndef vtkImplicitCylinderWidget_h
80#define vtkImplicitCylinderWidget_h
81
82#include "vtkAbstractWidget.h"
83#include "vtkInteractionWidgetsModule.h" // For export macro
84#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
85
86VTK_ABI_NAMESPACE_BEGIN
88
89class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtkImplicitCylinderWidget
90 : public vtkAbstractWidget
91{
92public:
97
99
103 void PrintSelf(ostream& os, vtkIndent indent) override;
105
112
120
125
126protected:
128 ~vtkImplicitCylinderWidget() override = default;
129
130 // Manage the state of the widget
133 {
134 Start = 0,
136 };
137
138 // These methods handle events
147
152 int UpdateCursorShape(int interactionState);
153
154private:
156 void operator=(const vtkImplicitCylinderWidget&) = delete;
157};
158
159VTK_ABI_NAMESPACE_END
160#endif
vtkWidgetRepresentation * WidgetRep
defining the representation for a vtkImplicitCylinderWidget
static void TranslationAxisLock(vtkAbstractWidget *)
static void ScaleAction(vtkAbstractWidget *)
static vtkImplicitCylinderWidget * New()
Instantiate the object.
static void EndSelectAction(vtkAbstractWidget *)
static void MoveCylinderAction(vtkAbstractWidget *)
vtkImplicitCylinderRepresentation * GetCylinderRepresentation()
Return the representation as a vtkImplicitCylinderRepresentation.
static void TranslationAxisUnLock(vtkAbstractWidget *)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard vtkObject methods.
static void TranslateAction(vtkAbstractWidget *)
void SetRepresentation(vtkImplicitCylinderRepresentation *rep)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
static void SelectAction(vtkAbstractWidget *)
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void MoveAction(vtkAbstractWidget *)
int UpdateCursorShape(int interactionState)
Update the cursor shape based on the interaction state.
~vtkImplicitCylinderWidget() override=default
a simple class to control print indentation
Definition vtkIndent.h:29
#define VTK_MARSHALAUTO