VTK
9.5.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
Examples
File List
File Members
Interaction
Style
vtkInteractorStyleRubberBandPick.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
23
24
#ifndef vtkInteractorStyleRubberBandPick_h
25
#define vtkInteractorStyleRubberBandPick_h
26
27
#include "vtkInteractionStyleModule.h"
// For export macro
28
#include "
vtkInteractorStyleTrackballCamera.h
"
29
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
30
31
VTK_ABI_NAMESPACE_BEGIN
32
class
vtkUnsignedCharArray
;
33
34
class
VTKINTERACTIONSTYLE_EXPORT
VTK_MARSHALAUTO
vtkInteractorStyleRubberBandPick
35
:
public
vtkInteractorStyleTrackballCamera
36
{
37
public
:
38
static
vtkInteractorStyleRubberBandPick
*
New
();
39
vtkTypeMacro(
vtkInteractorStyleRubberBandPick
,
vtkInteractorStyleTrackballCamera
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
42
void
StartSelect
();
43
void
StopSelect
();
44
46
49
void
OnMouseMove
()
override
;
50
void
OnLeftButtonDown
()
override
;
51
void
OnLeftButtonUp
()
override
;
52
void
OnChar
()
override
;
54
55
protected
:
56
vtkInteractorStyleRubberBandPick
();
57
~vtkInteractorStyleRubberBandPick
()
override
;
58
59
virtual
void
Pick
();
60
void
RedrawRubberBand
();
61
62
int
StartPosition
[2];
63
int
EndPositio