00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkPVServerInformation_h
00026 #define __vtkPVServerInformation_h
00027
00028 #include "vtkPVInformation.h"
00029
00030 class vtkClientServerStream;
00031 class vtkPVServerOptionsInternals;
00032
00033 class VTK_EXPORT vtkPVServerInformation : public vtkPVInformation
00034 {
00035 public:
00036 static vtkPVServerInformation* New();
00037 vtkTypeRevisionMacro(vtkPVServerInformation, vtkPVInformation);
00038 void PrintSelf(ostream& os, vtkIndent indent);
00039
00041
00045 vtkSetMacro(RemoteRendering, int);
00046 vtkGetMacro(RemoteRendering, int);
00048
00049 void DeepCopy(vtkPVServerInformation *info);
00050
00052 virtual void CopyFromObject(vtkObject*);
00053
00055 virtual void AddInformation(vtkPVInformation*);
00056
00058
00059 virtual void CopyToStream(vtkClientServerStream*) const;
00060 virtual void CopyFromStream(const vtkClientServerStream*);
00062
00064
00065 vtkSetVector2Macro(TileDimensions, int);
00066 vtkGetVector2Macro(TileDimensions, int);
00068
00070
00071 vtkSetMacro(UseOffscreenRendering, int);
00072 vtkGetMacro(UseOffscreenRendering, int);
00074
00076
00077 vtkSetMacro(UseIceT, int);
00078 vtkGetMacro(UseIceT, int);
00080
00082
00083 vtkSetStringMacro(RenderModuleName);
00084 vtkGetStringMacro(RenderModuleName);
00086
00088
00091 void SetNumberOfMachines(unsigned int num);
00092 unsigned int GetNumberOfMachines() const;
00094
00096
00097 void SetEnvironment(unsigned int idx, const char* name);
00098 const char* GetEnvironment(unsigned int idx) const;
00100
00102
00103 void SetLowerLeft(unsigned int idx, double coord[3]);
00104 double* GetLowerLeft(unsigned int idx) const;
00106
00108
00109 void SetLowerRight(unsigned int idx, double coord[3]);
00110 double* GetLowerRight(unsigned int idx) const;
00112
00114
00115 void SetUpperLeft(unsigned int idx, double coord[3]);
00116 double* GetUpperLeft(unsigned int idx) const;
00118
00119 protected:
00120 vtkPVServerInformation();
00121 ~vtkPVServerInformation();
00122
00123 int RemoteRendering;
00124 int TileDimensions[2];
00125 int UseOffscreenRendering;
00126 int UseIceT;
00127 char* RenderModuleName;
00128
00129 vtkPVServerOptionsInternals* MachinesInternals;
00130
00131 vtkPVServerInformation(const vtkPVServerInformation&);
00132 void operator=(const vtkPVServerInformation&);
00133 };
00134
00135 #endif