VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
Core
vtkAbstractInteractionDevice.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
3
#ifndef vtkAbstractInteractionDevice_h
4
#define vtkAbstractInteractionDevice_h
5
6
#include "
vtkObject.h
"
7
#include "vtkRenderingCoreModule.h"
// For export macro
8
9
VTK_ABI_NAMESPACE_BEGIN
10
class
vtkRenderWidget
;
11
class
vtkAbstractRenderDevice
;
12
13
class
VTKRENDERINGCORE_EXPORT
vtkAbstractInteractionDevice
:
public
vtkObject
14
{
15
public
:
16
vtkTypeMacro(
vtkAbstractInteractionDevice
,
vtkObject
);
17
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
18
24
static
vtkAbstractInteractionDevice
*
New
();
25
29
virtual
void
Initialize() = 0;
30
34
virtual
void
Start() = 0;
35
40
virtual
void
ProcessEvents() = 0;
41
42
void
SetRenderWidget(
vtkRenderWidget
* widget);
43
vtkRenderWidget
*
GetRenderWidget
() {
return
this->RenderWidget; }
44
void
SetRenderDevice(
vtkAbstractRenderDevice
* device);
45
vtkAbstractRenderDevice
*
GetRenderDevice
() {
return
this->RenderDevice; }
46
47
protected
:
48
vtkAbstractInteractionDevice
();
49
~
vtkAbstractInteractionDevice
()
override
;
50
51
bool
Initialized
;
52
vtkRenderWidget
*
RenderWidget
;
53
vtkAbstractRenderDevice
*
RenderDevice
;
54
55
private
:
56
vtkAbstractInteractionDevice
(
const
vtkAbstractInteractionDevice
&) =
delete
;
57
void
operator=(
const
vtkAbstractInteractionDevice
&) =
delete
;
58
};
59
60
VTK_ABI_NAMESPACE_END
61
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:51
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderWidget
Definition:
vtkRenderWidget.h:16
vtkAbstractInteractionDevice::RenderDevice
vtkAbstractRenderDevice * RenderDevice
Definition:
vtkAbstractInteractionDevice.h:53
vtkAbstractInteractionDevice::GetRenderWidget
vtkRenderWidget * GetRenderWidget()
Definition:
vtkAbstractInteractionDevice.h:43
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkAbstractInteractionDevice::GetRenderDevice
vtkAbstractRenderDevice * GetRenderDevice()
Definition:
vtkAbstractInteractionDevice.h:45
vtkAbstractRenderDevice
Definition:
vtkAbstractRenderDevice.h:13
vtkAbstractInteractionDevice::Initialized
bool Initialized
Definition:
vtkAbstractInteractionDevice.h:51
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkObject.h
vtkAbstractInteractionDevice::RenderWidget
vtkRenderWidget * RenderWidget
Definition:
vtkAbstractInteractionDevice.h:52
vtkAbstractInteractionDevice
Definition:
vtkAbstractInteractionDevice.h:13
Generated on Sun Mar 23 2025 01:22:45 for VTK by
1.8.10