Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMultiPartExtentTranslator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiPartExtentTranslator.h,v $
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 =========================================================================*/
00035 #ifndef __vtkMultiPartExtentTranslator_h
00036 #define __vtkMultiPartExtentTranslator_h
00037 
00038 #include "vtkExtentTranslator.h"
00039 
00040 
00041 class VTK_COMMON_EXPORT vtkMultiPartExtentTranslator : public vtkExtentTranslator
00042 {
00043 public:
00044   static vtkMultiPartExtentTranslator *New();
00045 
00046   vtkTypeRevisionMacro(vtkMultiPartExtentTranslator,vtkExtentTranslator);
00047 
00049 
00054   virtual int PieceToExtentThreadSafe(int piece, int numPieces, 
00055                                       int ghostLevel, int *wholeExtent, 
00056                                       int *resultExtent, int splitMode, 
00057                                       int byPoints);
00059   
00060 protected:
00061   vtkMultiPartExtentTranslator();
00062   ~vtkMultiPartExtentTranslator();
00063 
00064 private:
00065   vtkMultiPartExtentTranslator(const vtkMultiPartExtentTranslator&);  // Not implemented.
00066   void operator=(const vtkMultiPartExtentTranslator&);  // Not implemented.
00067 };
00068 
00069 #endif
00070