VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Rendering
OpenGL2
vtkXInteractionDevice.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 vtkXInteractionDevice_h
15
#define vtkXInteractionDevice_h
16
17
#include "
vtkAbstractInteractionDevice.h
"
18
#include "vtkRenderingOpenGL2Module.h"
// For export macro
19
#include <X11/Xlib.h>
// Needed for X types used in the public interface
20
21
class
VTKRENDERINGOPENGL2_EXPORT
vtkXInteractionDevice
22
:
public
vtkAbstractInteractionDevice
23
{
24
public
:
25
vtkTypeMacro
(
vtkXInteractionDevice
,
vtkAbstractInteractionDevice
)
26
void
PrintSelf(ostream& os,
vtkIndent
indent);
27
28
static
vtkXInteractionDevice
* New();
29
30
virtual
void
Initialize();
31
32
virtual
void
Start();
33
34
virtual
void
ProcessEvents();
35
36
protected:
37
vtkXInteractionDevice
();
38
~
vtkXInteractionDevice
();
39
40
Display *DisplayId;
41
bool
ExitEventLoop;
42
43
private:
44
vtkXInteractionDevice
(const
vtkXInteractionDevice
&);
// Not implemented.
45
void
operator=(const
vtkXInteractionDevice
&);
// Not implemented.
46
47
void
ProcessEvent(XEvent &
event
);
48
};
49
50
#endif
vtkXInteractionDevice
Definition:
vtkXInteractionDevice.h:23
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkAbstractInteractionDevice.h
vtkgl::event
struct _cl_event * event
Definition:
vtkgl.h:14387
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkgl::void
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
vtkAbstractInteractionDevice
Definition:
vtkAbstractInteractionDevice.h:24
Generated by
1.8.20