ParaView
vtkPVServerInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVServerInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
24 #ifndef vtkPVServerInformation_h
25 #define vtkPVServerInformation_h
26 
27 #include "vtkPVClientServerCoreCoreModule.h" //needed for exports
28 #include "vtkPVInformation.h"
29 
32 
33 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkPVServerInformation : public vtkPVInformation
34 {
35 public:
36  static vtkPVServerInformation* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
47  vtkSetMacro(RemoteRendering, int);
48  vtkGetMacro(RemoteRendering, int);
50 
51  void DeepCopy(vtkPVServerInformation* info);
52 
56  virtual void CopyFromObject(vtkObject*);
57 
61  virtual void AddInformation(vtkPVInformation*);
62 
64 
67  virtual void CopyToStream(vtkClientServerStream*);
68  virtual void CopyFromStream(const vtkClientServerStream*);
70 
72 
75  vtkSetVector2Macro(TileDimensions, int);
76  vtkGetVector2Macro(TileDimensions, int);
77  vtkSetVector2Macro(TileMullions, int);
78  vtkGetVector2Macro(TileMullions, int);
80 
82 
85  vtkSetMacro(UseOffscreenRendering, int);
86  vtkGetMacro(UseOffscreenRendering, int);
88 
90 
93  vtkSetMacro(UseIceT, int);
94  vtkGetMacro(UseIceT, int);
96 
98 
101  vtkSetMacro(OGVSupport, int);
102  vtkGetMacro(OGVSupport, int);
104 
106 
109  vtkSetMacro(AVISupport, int);
110  vtkGetMacro(AVISupport, int);
112 
114 
117  vtkSetMacro(Timeout, int);
118  vtkGetMacro(Timeout, int);
120 
122 
125  void SetEyeSeparation(double value);
126  double GetEyeSeparation() const;
128 
130 
135  void SetNumberOfMachines(unsigned int num);
136  unsigned int GetNumberOfMachines() const;
138 
140 
143  void SetEnvironment(unsigned int idx, const char* name);
144  const char* GetEnvironment(unsigned int idx) const;
146 
148 
152  void SetGeometry(unsigned int idx, int geo[4]);
153  int* GetGeometry(unsigned int idx) const;
155 
157 
160  void SetFullScreen(unsigned int idx, bool fullscreen);
161  bool GetFullScreen(unsigned int idx) const;
163 
165 
168  void SetShowBorders(unsigned int idx, bool borders);
169  bool GetShowBorders(unsigned int idx) const;
171 
173 
176  int GetStereoType(unsigned int idx) const;
177  void SetStereoType(unsigned int idx, int type);
179 
181 
184  void SetLowerLeft(unsigned int idx, double coord[3]);
185  double* GetLowerLeft(unsigned int idx) const;
187 
189 
192  void SetLowerRight(unsigned int idx, double coord[3]);
193  double* GetLowerRight(unsigned int idx) const;
195 
197 
200  void SetUpperRight(unsigned int idx, double coord[3]);
201  double* GetUpperRight(unsigned int idx) const;
203 
205 
208  vtkGetMacro(NumberOfProcesses, int);
210 
214  virtual bool IsMPIInitialized() const;
215 
217 
220  vtkGetMacro(MultiClientsEnable, int);
222 
224 
227  vtkGetMacro(ClientId, int);
229 
230 protected:
233 
239  int TileDimensions[2];
240  int TileMullions[2];
241  int Timeout;
242  int UseIceT;
245  int ClientId;
246 
248 
249  vtkPVServerInformation(const vtkPVServerInformation&) VTK_DELETE_FUNCTION;
250  void operator=(const vtkPVServerInformation&) VTK_DELETE_FUNCTION;
251 };
252 
253 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Gets features of the server.
vtkPVServerOptionsInternals * MachinesInternals
Store messages for the interpreter.
void operator=(const vtkPVInformation &) VTK_DELETE_FUNCTION
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
Superclass for information objects.