vtkPVEnSightMasterServerTranslator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
8 #ifndef vtkPVEnSightMasterServerTranslator_h
9 #define vtkPVEnSightMasterServerTranslator_h
10 
11 #include "vtkExtentTranslator.h"
12 #include "vtkPVVTKExtensionsIOEnSightModule.h" //needed for exports
13 
15  : public vtkExtentTranslator
16 {
17 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
23 
27  vtkGetMacro(ProcessId, int);
28  vtkSetMacro(ProcessId, int);
30 
32 
36  int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int* wholeExtent,
37  int* resultExtent, int splitMode, int byPoints) override;
38 
39 protected:
43 
44  // The process id on which this translator is running.
45  int ProcessId;
46 
47 private:
49  void operator=(const vtkPVEnSightMasterServerTranslator&) = delete;
50 };
51 
52 #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)