VTK
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 =========================================================================*/
27 #ifndef vtkTDxMacDevice_h
28 #define vtkTDxMacDevice_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkTDxDevice.h"
32 
33 #include <3dConnexionClient/ConnexionClientAPI.h> // 3DxMacWare SDK
34 
36 {
37 public:
38  static vtkTDxMacDevice *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  vtkGetStringMacro(ClientApplicationName);
46  vtkSetStringMacro(ClientApplicationName);
48 
55  void Initialize();
56 
58  virtual void Close();
59 
65  void ProcessEvent(const ConnexionDeviceState *s);
66 
67 protected:
71 
74  virtual ~vtkTDxMacDevice();
75 
86  unsigned char *CStringToPascalString(const char *s);
87 
89 
90  UInt16 ClientID;
92 
93 private:
94  vtkTDxMacDevice(const vtkTDxMacDevice&); // Not implemented.
95  void operator=(const vtkTDxMacDevice&); // Not implemented.
96 };
97 
98 #endif
char * ClientApplicationName
virtual void Close()=0
Implementation of vtkTDxDevice on Mac.
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
API to access a 3DConnexion input device.
Definition: vtkTDxDevice.h:36
static vtkObject * New()