-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvtkWin32RenderWindowDeviceInteractor.h
65 lines (47 loc) · 2.2 KB
/
vtkWin32RenderWindowDeviceInteractor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*=========================================================================
Name: vtkWin32RenderWindowDeviceInteractor.h
Author: David Borland, The Renaissance Computing Institute (RENCI)
Copyright: The Renaissance Computing Institute (RENCI)
License: Licensed under the RENCI Open Source Software License v. 1.0.
See included License.txt or
http://www.renci.org/resources/open-source-software-license
for details.
=========================================================================*/
// .NAME vtkWin32RenderWindowDeviceInteractor
// .SECTION Description
// vtkWin32RenderWindowDeviceInteractor adds interaction with external devices to
// vtkWin32RenderWindowInteractor. Examples of such devices include
// multi-touch interfaces and various devices supported by the Virtual
// Reality Peripheral Network (VRPN:
// http://www.cs.unc.edu/Research/vrpn/).
// .SECTION see also
// vtkInteractionDeviceManager vtkInteractionDevice
// vtkDeviceInteractorStyle
#ifndef __vtkWin32RenderWindowDeviceInteractor_h
#define __vtkWin32RenderWindowDeviceInteractor_h
#include "vtkInteractionDeviceConfigure.h"
#include "vtkWin32RenderWindowInteractor.h"
class vtkDeviceInteractor;
class VTK_INTERACTIONDEVICE_EXPORT vtkWin32RenderWindowDeviceInteractor : public vtkWin32RenderWindowInteractor
{
public:
static vtkWin32RenderWindowDeviceInteractor* New();
vtkTypeRevisionMacro(vtkWin32RenderWindowDeviceInteractor,vtkWin32RenderWindowInteractor);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// This will start up the event loop and never return. If you
// call this method it will loop processing events until the
// application is exited.
virtual void Start();
// Description:
// Sets the device interactor to use
void SetDeviceInteractor(vtkDeviceInteractor*);
protected:
vtkWin32RenderWindowDeviceInteractor();
~vtkWin32RenderWindowDeviceInteractor();
vtkDeviceInteractor* DeviceInteractor;
private:
vtkWin32RenderWindowDeviceInteractor(const vtkWin32RenderWindowDeviceInteractor&); // Not implemented.
void operator=(const vtkWin32RenderWindowDeviceInteractor&); // Not implemented.
};
#endif