VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
vtkAbstractInteractionDevice.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
5
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6
All rights reserved.
7
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef vtkAbstractInteractionDevice_h
15
#define vtkAbstractInteractionDevice_h
16
17
#include "
vtkObject.h
"
18
#include "vtkRenderingCoreModule.h"
// For export macro
19
20
class
vtkRenderWidget
;
21
class
vtkAbstractRenderDevice
;
22
23
class
VTKRENDERINGCORE_EXPORT
vtkAbstractInteractionDevice
:
public
vtkObject
24
{
25
public
:
26
vtkTypeMacro(
vtkAbstractInteractionDevice
,
vtkObject
)
27
void PrintSelf(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
28
34
static
vtkAbstractInteractionDevice
* New();
35
39
virtual
void
Initialize() = 0;
40
44
virtual
void
Start() = 0;
45
50
virtual
void
ProcessEvents() = 0;
51
52
void
SetRenderWidget(
vtkRenderWidget
*widget);
53
vtkRenderWidget
* GetRenderWidget() {
return
this->RenderWidget; }
54
void
SetRenderDevice(
vtkAbstractRenderDevice
*device);
55
vtkAbstractRenderDevice
*
GetRenderDevice
() {
return
this->RenderDevice; }
56
57
protected
:
58
vtkAbstractInteractionDevice
();
59
~
vtkAbstractInteractionDevice
() VTK_OVERRIDE;
60
61
bool
Initialized;
62
vtkRenderWidget
*RenderWidget;
63
vtkAbstractRenderDevice
*RenderDevice;
64
65
private:
66
vtkAbstractInteractionDevice
(const
vtkAbstractInteractionDevice
&) VTK_DELETE_FUNCTION;
67
void
operator=(const
vtkAbstractInteractionDevice
&) VTK_DELETE_FUNCTION;
68
};
69
70
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:53
vtkRenderWidget
Definition:
vtkRenderWidget.h:26
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkAbstractInteractionDevice::GetRenderDevice
vtkAbstractRenderDevice * GetRenderDevice()
Definition:
vtkAbstractInteractionDevice.h:55
vtkAbstractRenderDevice
Definition:
vtkAbstractRenderDevice.h:23
vtkObject.h
vtkAbstractInteractionDevice
Definition:
vtkAbstractInteractionDevice.h:23
Generated by
1.8.5