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 //class vtkRenderWindowInteractor;
34 #include <3dConnexionClient/ConnexionClientAPI.h> // 3DxMacWare SDK
35 
36 class VTKRENDERINGOPENGL_EXPORT vtkTDxMacDevice : public vtkTDxDevice
37 {
38 public:
39  static vtkTDxMacDevice *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
46  vtkGetStringMacro(ClientApplicationName);
47  vtkSetStringMacro(ClientApplicationName);
49 
56  void Initialize();
57 
59  virtual void Close();
60 
66  void ProcessEvent(const ConnexionDeviceState *s);
67 
68 protected:
72 
75  virtual ~vtkTDxMacDevice();
76 
87  unsigned char *CStringToPascalString(const char *s);
88 
90 
91  UInt16 ClientID;
93 
94 private:
95  vtkTDxMacDevice(const vtkTDxMacDevice&); // Not implemented.
96  void operator=(const vtkTDxMacDevice&); // Not implemented.
97 };
98 
99 #endif