Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/Common/vtkPVServerInformation.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVServerInformation.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&); // Not implemented
00132   void operator=(const vtkPVServerInformation&); // Not implemented
00133 };
00134 
00135 #endif

Generated on Tue May 30 12:31:45 2006 for ParaView by doxygen 1.3.5