VTK
dox
Rendering
OpenGL
vtkTDxMacDevice.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTDxMacDevice.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
=========================================================================*/
25
#ifndef vtkTDxMacDevice_h
26
#define vtkTDxMacDevice_h
27
28
#include "vtkRenderingOpenGLModule.h"
// For export macro
29
#include "
vtkTDxDevice.h
"
30
31
#include <3dConnexionClient/ConnexionClientAPI.h>
// 3DxMacWare SDK
32
33
class
VTKRENDERINGOPENGL_EXPORT
vtkTDxMacDevice
:
public
vtkTDxDevice
34
{
35
public
:
36
static
vtkTDxMacDevice
*
New
();
37
vtkTypeMacro(
vtkTDxMacDevice
,
vtkTDxDevice
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
41
45
vtkGetStringMacro
(ClientApplicationName);
46
vtkSetStringMacro(ClientApplicationName);
48
58
void
Initialize();
59
63
virtual
void
Close
();
64
74
void
ProcessEvent(
const
ConnexionDeviceState *s);
75
76
protected
:
81
vtkTDxMacDevice
();
82
87
virtual
~
vtkTDxMacDevice
();
88
103
unsigned
char
*CStringToPascalString(
const
char
*s);
104
105
char
*
ClientApplicationName
;
106
107
UInt16
ClientID
;
108
UInt16
LastButtonState
;
109
110
private
:
111
vtkTDxMacDevice
(
const
vtkTDxMacDevice
&) VTK_DELETE_FUNCTION;
112
void
operator=(
const
vtkTDxMacDevice
&) VTK_DELETE_FUNCTION;
113
};
114
115
#endif
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkTDxDevice.h
vtkTDxMacDevice
Implementation of vtkTDxDevice on Mac.
Definition:
vtkTDxMacDevice.h:33
vtkTDxMacDevice::ClientID
UInt16 ClientID
Definition:
vtkTDxMacDevice.h:107
vtkTDxDevice::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTDxMacDevice::ClientApplicationName
char * ClientApplicationName
Definition:
vtkTDxMacDevice.h:105
vtkTDxDevice
API to access a 3DConnexion input device.
Definition:
vtkTDxDevice.h:37
vtkTDxMacDevice::LastButtonState
UInt16 LastButtonState
Definition:
vtkTDxMacDevice.h:108
vtkTDxDevice::Close
virtual void Close()=0
Close the device.
Generated by
1.8.16