VTK
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 "vtkExtentTranslator.h"
27 
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
35 protected:
38 
39  virtual int PieceToExtentThreadSafe(int vtkNotUsed(piece),
40  int vtkNotUsed(numPieces),
41  int vtkNotUsed(ghostLevel),
42  int *wholeExtent, int *resultExtent,
43  int vtkNotUsed(splitMode),
44  int vtkNotUsed(byPoints));
45 private:
46  vtkOnePieceExtentTranslator(const vtkOnePieceExtentTranslator&); // Not implemented.
47  void operator=(const vtkOnePieceExtentTranslator&); // Not implemented.
48 
49 };
50 
51 #endif
52 
Returns the whole extent for any piece.. vtkOnePieceExtentTranslator returns the whole extent for any...
Generates a structured extent from unstructured.
static vtkExtentTranslator * New()
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
virtual int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)