VTK
dox/Common/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 "vtkExtentTranslator.h"
00027 
00028 class VTK_COMMON_EXPORT vtkOnePieceExtentTranslator : public vtkExtentTranslator
00029 {
00030 public:
00031   static vtkOnePieceExtentTranslator* New();
00032   vtkTypeMacro(vtkOnePieceExtentTranslator, vtkExtentTranslator);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00035 protected:
00036   vtkOnePieceExtentTranslator();
00037   ~vtkOnePieceExtentTranslator();
00038 
00039   virtual int PieceToExtentThreadSafe(int vtkNotUsed(piece), 
00040                                       int vtkNotUsed(numPieces), 
00041                                       int vtkNotUsed(ghostLevel), 
00042                                       int *wholeExtent, int *resultExtent, 
00043                                       int vtkNotUsed(splitMode), 
00044                                       int vtkNotUsed(byPoints));
00045 private:
00046   vtkOnePieceExtentTranslator(const vtkOnePieceExtentTranslator&); // Not implemented.
00047   void operator=(const vtkOnePieceExtentTranslator&); // Not implemented.
00048   
00049 };
00050 
00051 #endif
00052