VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkOnePieceExtentTranslator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOnePieceExtentTranslator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
23 #ifndef __vtkOnePieceExtentTranslator_h
24 #define __vtkOnePieceExtentTranslator_h
25 
26 #include "vtkCommonExecutionModelModule.h" // For export macro
27 #include "vtkExtentTranslator.h"
28 
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36 protected:
39 
40  virtual int PieceToExtentThreadSafe(int vtkNotUsed(piece),
41  int vtkNotUsed(numPieces),
42  int vtkNotUsed(ghostLevel),
43  int *wholeExtent, int *resultExtent,
44  int vtkNotUsed(splitMode),
45  int vtkNotUsed(byPoints));
46 private:
47  vtkOnePieceExtentTranslator(const vtkOnePieceExtentTranslator&); // Not implemented.
48  void operator=(const vtkOnePieceExtentTranslator&); // Not implemented.
49 
50 };
51 
52 #endif
53 
54 // VTK-HeaderTest-Exclude: vtkOnePieceExtentTranslator.h
#define vtkNotUsed(x)
Definition: vtkSetGet.h:547
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Returns the whole extent for any piece.. vtkOnePieceExtentTranslator returns the whole extent for any...
Generates a structured extent from unstructured.
static vtkExtentTranslator * New()
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)