ParaView
vtkPExtentTranslator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile: vtkPExtentTranslator.h,v $
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 =========================================================================*/
25 #ifndef vtkPExtentTranslator_h
26 #define vtkPExtentTranslator_h
27 
28 #include "vtkExtentTranslator.h"
29 #include "vtkPVClientServerCoreRenderingModule.h" // needed for export macro
30 
31 class vtkDataSet;
32 class vtkPExtentTranslatorInternals;
33 
34 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPExtentTranslator : public vtkExtentTranslator
35 {
36 public:
37  static vtkPExtentTranslator* New();
38  vtkTypeMacro(vtkPExtentTranslator, vtkExtentTranslator);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
46  void GatherExtents(vtkDataSet* dataset);
47 
48 protected:
51  virtual int PieceToExtentThreadSafe(int vtkNotUsed(piece), int vtkNotUsed(numPieces),
52  int vtkNotUsed(ghostLevel), int* wholeExtent, int* resultExtent, int vtkNotUsed(splitMode),
53  int vtkNotUsed(byPoints));
54 
55 private:
56  vtkPExtentTranslator(const vtkPExtentTranslator&) VTK_DELETE_FUNCTION;
57  void operator=(const vtkPExtentTranslator&) VTK_DELETE_FUNCTION;
58 
59  vtkPExtentTranslatorInternals* Internals;
60 };
61 
62 #endif
extent translator that collects information about extents from multiple processes in parallel...