VTK  9.3.0
vtkOrientationWidget.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
40 #ifndef vtkOrientationWidget_h
41 #define vtkOrientationWidget_h
42 
43 #include "vtkAbstractWidget.h"
44 #include "vtkInteractionWidgetsModule.h" // For export macro
45 #include "vtkNew.h" // For vtkNew
46 
47 VTK_ABI_NAMESPACE_BEGIN
49 
50 class VTKINTERACTIONWIDGETS_EXPORT vtkOrientationWidget : public vtkAbstractWidget
51 {
52 public:
57 
59 
64  void CreateDefaultRepresentation() override;
65 
72 
73 protected:
76 
77  // These methods handle events
81 
82 private:
83  bool Active = false;
84 
86  void operator=(const vtkOrientationWidget&) = delete;
87 };
88 
89 VTK_ABI_NAMESPACE_END
90 #endif
define the API for widget / widget representation
a class defining the representation for the vtkOrientationWidget
3D Widget for manipulating a vtkCamera
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void MoveAction(vtkAbstractWidget *)
static vtkOrientationWidget * New()
Instantiate the object.
~vtkOrientationWidget() override
static void EndSelectAction(vtkAbstractWidget *)
void SetRepresentation(vtkOrientationRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
static void SelectAction(vtkAbstractWidget *)