vtkPVEnSightMasterServerTranslator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVEnSightMasterServerTranslator.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 =========================================================================*/
20 #ifndef vtkPVEnSightMasterServerTranslator_h
21 #define vtkPVEnSightMasterServerTranslator_h
22 
23 #include "vtkExtentTranslator.h"
24 #include "vtkPVVTKExtensionsIOEnSightModule.h" //needed for exports
25 
27  : public vtkExtentTranslator
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
39  vtkGetMacro(ProcessId, int);
40  vtkSetMacro(ProcessId, int);
42 
44 
48  int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int* wholeExtent,
49  int* resultExtent, int splitMode, int byPoints) override;
50 
51 protected:
55 
56  // The process id on which this translator is running.
57  int ProcessId;
58 
59 private:
61  void operator=(const vtkPVEnSightMasterServerTranslator&) = delete;
62 };
63 
64 #endif
static vtkExtentTranslator * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void operator=(const vtkObjectBase &)
#define VTKPVVTKEXTENSIONSIOENSIGHT_EXPORT
virtual int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)