VTK
9.5.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
Examples
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
36
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
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
44
45
VTK_ABI_NAMESPACE_BEGIN
46
class
vtkOrientationRepresentation
;
47
48
class
VTKINTERACTIONWIDGETS_EXPORT
VTK_MARSHALAUTO
vtkOrientationWidget
:
public
vtkAbstractWidget
49
{
50
public
:
54
static
vtkOrientationWidget
*
New
();
55
56
vtkTypeMacro(
vtkOrientationWidget
,
vtkAbstractWidget
);
57
62
void
CreateDefaultRepresentation
()
override
;
63
69
void
SetRepresentation
(
vtkOrientationRepresentation
* r);
70
71
protected
:
72
vtkOrientationWidget
();
73
~vtkOrientationWidget
()
override
;
74
75
// These methods handle events
76
static
void
SelectAction
(
vtkAbstractWidget
*);
77
static
void
EndSelectAction
(
vtkAbstractWidget
*);
78
static
void
MoveAction
(
vtkAbstractWidget
*);
79
80
private
:
81
bool
Active =
false
;
82
83
vtkOrientationWidget
(
const
vtkOrientationWidget
&) =
delete
;
84
void
operator=(
const
vtkOrientationWidget
&) =
delete
;
85
};
86
87
VTK_ABI_NAMESPACE_END
88
#endif
vtkAbstractWidget::vtkAbstractWidget
vtkAbstractWidget()
vtkOrientationRepresentation
a class defining the representation for the vtkOrientationWidget
Definition
vtkOrientationRepresentation.h:50
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
vtkWrappingHints.h
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition
vtkWrappingHints.h:53
Generated on
for VTK by
1.15.0