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 =========================================================================*/
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();
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:
82 
87  virtual ~vtkTDxMacDevice();
88 
103  unsigned char *CStringToPascalString(const char *s);
104 
106 
107  UInt16 ClientID;
109 
110 private:
111  vtkTDxMacDevice(const vtkTDxMacDevice&) VTK_DELETE_FUNCTION;
112  void operator=(const vtkTDxMacDevice&) VTK_DELETE_FUNCTION;
113 };
114 
115 #endif
char * ClientApplicationName
virtual void Close()=0
Close the device.
Implementation of vtkTDxDevice on Mac.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
API to access a 3DConnexion input device.
Definition: vtkTDxDevice.h:37
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...