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

Servers/Filters/vtkPVEnSightMasterServerTranslator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVEnSightMasterServerTranslator.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 =========================================================================*/
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   // The process id on which this translator is running.
00050   int ProcessId;
00051   
00052 private:
00053   vtkPVEnSightMasterServerTranslator(const vtkPVEnSightMasterServerTranslator&); // Not implemented
00054   void operator=(const vtkPVEnSightMasterServerTranslator&); // Not implemented
00055 };
00056 
00057 #endif

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