VTK  9.2.6
vtkAxesTransformWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAxesTransformWidget.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
83
84#ifndef vtkAxesTransformWidget_h
85#define vtkAxesTransformWidget_h
86
87#include "vtkAbstractWidget.h"
88#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
89#include "vtkInteractionWidgetsModule.h" // For export macro
90
92class vtkHandleWidget;
93
94class VTKINTERACTIONWIDGETS_EXPORT vtkAxesTransformWidget : public vtkAbstractWidget
95{
96public:
101
103
107 void PrintSelf(ostream& os, vtkIndent indent) override;
109
114 void SetEnabled(int enabling) override;
115
125
133
138
144
145protected:
148
151 {
152 Start = 0,
154 };
155#if !defined(VTK_LEGACY_REMOVE)
156 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
158#endif
159
161
162 // These methods handle events
166
167 // The positioning handle widgets
168 vtkHandleWidget* OriginWidget; // first end point
169 vtkHandleWidget* SelectionWidget; // used when selecting any one of the axes
170
171private:
173 void operator=(const vtkAxesTransformWidget&) = delete;
174};
175
176#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:34
abstract class defines interface between the widget and widget representation classes
int vtkTypeBool
Definition vtkABI.h:69
#define VTK_DEPRECATED_IN_9_2_0(reason)