00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00019 #ifndef __vtkPVEnSightMasterServerTranslator_h
00020 #define __vtkPVEnSightMasterServerTranslator_h
00021
00022 #include "vtkExtentTranslator.h"
00023
00024 class VTK_EXPORT vtkPVEnSightMasterServerTranslator : public vtkExtentTranslator
00025 {
00026 public:
00027 static vtkPVEnSightMasterServerTranslator* New();
00028 vtkTypeRevisionMacro(vtkPVEnSightMasterServerTranslator, vtkExtentTranslator);
00029 void PrintSelf(ostream& os, vtkIndent indent);
00030
00032
00034 vtkGetMacro(ProcessId, int);
00035 vtkSetMacro(ProcessId, int);
00037
00039
00041 int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel,
00042 int *wholeExtent, int *resultExtent,
00043 int splitMode, int byPoints);
00045 protected:
00046 vtkPVEnSightMasterServerTranslator();
00047 ~vtkPVEnSightMasterServerTranslator();
00048
00049
00050 int ProcessId;
00051
00052 private:
00053 vtkPVEnSightMasterServerTranslator(const vtkPVEnSightMasterServerTranslator&);
00054 void operator=(const vtkPVEnSightMasterServerTranslator&);
00055 };
00056
00057 #endif