VTK
dox/Common/ExecutionModel/vtkOnePieceExtentTranslator.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOnePieceExtentTranslator.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00023 #ifndef __vtkOnePieceExtentTranslator_h
00024 #define __vtkOnePieceExtentTranslator_h
00025 
00026 #include "vtkCommonExecutionModelModule.h" // For export macro
00027 #include "vtkExtentTranslator.h"
00028 
00029 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkOnePieceExtentTranslator : public vtkExtentTranslator
00030 {
00031 public:
00032   static vtkOnePieceExtentTranslator* New();
00033   vtkTypeMacro(vtkOnePieceExtentTranslator, vtkExtentTranslator);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00036 protected:
00037   vtkOnePieceExtentTranslator();
00038   ~vtkOnePieceExtentTranslator();
00039 
00040   virtual int PieceToExtentThreadSafe(int vtkNotUsed(piece),
00041                                       int vtkNotUsed(numPieces),
00042                                       int vtkNotUsed(ghostLevel),
00043                                       int *wholeExtent, int *resultExtent,
00044                                       int vtkNotUsed(splitMode),
00045                                       int vtkNotUsed(byPoints));
00046 private:
00047   vtkOnePieceExtentTranslator(const vtkOnePieceExtentTranslator&); // Not implemented.
00048   void operator=(const vtkOnePieceExtentTranslator&); // Not implemented.
00049 
00050 };
00051 
00052 #endif
00053 
00054 // VTK-HeaderTest-Exclude: vtkOnePieceExtentTranslator.h