VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Interaction
Widgets
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
37
#ifndef vtkOrientationWidget_h
38
#define vtkOrientationWidget_h
39
40
#include "
vtkAbstractWidget.h
"
41
#include "vtkInteractionWidgetsModule.h"
// For export macro
42
#include "
vtkNew.h
"
// For vtkNew
43
44
VTK_ABI_NAMESPACE_BEGIN
45
class
vtkOrientationRepresentation
;
46
47
class
VTKINTERACTIONWIDGETS_EXPORT
vtkOrientationWidget
:
public
vtkAbstractWidget
48
{
49
public
:
53
static
vtkOrientationWidget
*
New
();
54
55
vtkTypeMacro(
vtkOrientationWidget
,
vtkAbstractWidget
);
56
61
void
CreateDefaultRepresentation
()
override
;
62
68
void
SetRepresentation
(
vtkOrientationRepresentation
* r);
69
70
protected
:
71
vtkOrientationWidget
();
72
~vtkOrientationWidget
()
override
;
73
74
// These methods handle events
75
static
void
SelectAction
(
vtkAbstractWidget
*);
76
static
void
EndSelectAction
(
vtkAbstractWidget
*);
77
static
void
MoveAction
(
vtkAbstractWidget
*);
78
79
private
:
80
bool
Active =
false
;
81
82
vtkOrientationWidget
(
const
vtkOrientationWidget
&) =
delete
;
83
void
operator=(
const
vtkOrientationWidget
&) =
delete
;
84
};
85
86
VTK_ABI_NAMESPACE_END
87
#endif
vtkAbstractWidget
define the API for widget / widget representation
Definition
vtkAbstractWidget.h:52
vtkOrientationRepresentation
a class defining the representation for the vtkOrientationWidget
Definition
vtkOrientationRepresentation.h:48
vtkOrientationWidget
3D Widget for manipulating a vtkCamera
Definition
vtkOrientationWidget.h:48
vtkOrientationWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkOrientationWidget::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkOrientationWidget::vtkOrientationWidget
vtkOrientationWidget()
vtkOrientationWidget::~vtkOrientationWidget
~vtkOrientationWidget() override
vtkOrientationWidget::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkOrientationWidget::SetRepresentation
void SetRepresentation(vtkOrientationRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
vtkOrientationWidget::New
static vtkOrientationWidget * New()
Instantiate the object.
vtkOrientationWidget::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkAbstractWidget.h
vtkNew.h
Generated on Sat Feb 15 2025 13:13:19 for VTK by
1.9.8