VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkTDxWinDevice.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTDxWinDevice.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkTDxWinDevice_h
28
#define __vtkTDxWinDevice_h
29
30
#include "
vtkTDxDevice.h
"
31
32
class
vtkRenderWindowInteractor
;
33
34
// including <WinDef.h> directly leads to the following error:
35
// "C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(81) :
36
// fatal error C1189: #error : "No Target Architecture" "
37
// so we need to include <windows.h> instead.
38
#include <windows.h>
// we need HWND from <WinDef.h>
39
40
class
vtkTDxWinDevicePrivate;
41
42
class
VTK_RENDERING_EXPORT
vtkTDxWinDevice
:
public
vtkTDxDevice
43
{
44
public
:
45
static
vtkTDxWinDevice
*
New
();
46
vtkTypeMacro(
vtkTDxWinDevice
,
vtkTDxDevice
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
HWND GetWindowHandle()
const
;
51
54
void
SetWindowHandle(HWND hWnd);
55
62
void
Initialize();
63
65
virtual
void
Close
();
66
68
bool
GetIsListening()
const
;
69
72
void
StartListening();
73
76
void
StopListening();
77
79
void
ProcessEvent();
80
81
protected
:
83
vtkTDxWinDevice
();
84
87
virtual
~
vtkTDxWinDevice
();
88
89
HWND
WindowHandle
;
90
91
vtkTDxWinDevicePrivate *
Private
;
92
bool
IsListening
;
93
94
private
:
95
vtkTDxWinDevice
(
const
vtkTDxWinDevice
&);
// Not implemented.
96
void
operator=(
const
vtkTDxWinDevice
&);
// Not implemented.
97
};
98
99
#endif
Generated on Thu Mar 13 2014 08:10:35 for VTK by
1.8.1.2