VTK  9.5.2
vtkAxesTransformWidget.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
71
72#ifndef vtkAxesTransformWidget_h
73#define vtkAxesTransformWidget_h
74
75#include "vtkAbstractWidget.h"
76#include "vtkInteractionWidgetsModule.h" // For export macro
77#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
78
79VTK_ABI_NAMESPACE_BEGIN
81class vtkHandleWidget;
82
83class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtkAxesTransformWidget : public vtkAbstractWidget
84{
85public:
90
92
96 void PrintSelf(ostream& os, vtkIndent indent) override;
98
103 void SetEnabled(int enabling) override;
104
114
122
127
133
134protected:
137
140 {
141 Start = 0,
143 };
144
146
147 // These methods handle events
151
152 // The positioning handle widgets
153 vtkHandleWidget* OriginWidget; // first end point
154 vtkHandleWidget* SelectionWidget; // used when selecting any one of the axes
155
156private:
158 void operator=(const vtkAxesTransformWidget&) = delete;
159};
160
161VTK_ABI_NAMESPACE_END
162#endif
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkWidgetRepresentation * WidgetRep
represent the vtkAxesTransformWidget
~vtkAxesTransformWidget() override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard vtkObject methods.
static vtkAxesTransformWidget * New()
Instantiate the object.
void SetProcessEvents(vtkTypeBool) override
Methods to change the whether the widget responds to interaction.
void SetRepresentation(vtkAxesTransformRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
vtkAxesTransformRepresentation * GetLineRepresentation()
Return the representation as a vtkAxesTransformRepresentation.
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void SelectAction(vtkAbstractWidget *)
static void EndSelectAction(vtkAbstractWidget *)
void SetEnabled(int enabling) override
Override superclasses' SetEnabled() method because the line widget must enable its internal handle wi...
static void MoveAction(vtkAbstractWidget *)
a general widget for moving handles
a simple class to control print indentation
Definition vtkIndent.h:29
abstract class defines interface between the widget and widget representation classes
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_MARSHALAUTO