Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Common/vtkMultiPartExtentTranslator.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMultiPartExtentTranslator.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00039 #ifndef __vtkMultiPartExtentTranslator_h
    00040 #define __vtkMultiPartExtentTranslator_h
    00041
    00042 #include "vtkExtentTranslator.h"
    00043
    00044
    00045 class VTK_COMMON_EXPORT vtkMultiPartExtentTranslator : public vtkExtentTranslator
    00046 {
    00047 public:
    00048   static vtkMultiPartExtentTranslator *New();
    00049
    00050   vtkTypeRevisionMacro(vtkMultiPartExtentTranslator,vtkExtentTranslator);
    00051
    00053
    00058   virtual int PieceToExtentThreadSafe(int piece, int numPieces,
    00059                                       int ghostLevel, int *wholeExtent,
    00060                                       int *resultExtent, int splitMode,
    00061                                       int byPoints);
    00063
    00064 protected:
    00065   vtkMultiPartExtentTranslator();
    00066   ~vtkMultiPartExtentTranslator();
    00067
    00068 private:
    00069   vtkMultiPartExtentTranslator(const vtkMultiPartExtentTranslator&);  // Not implemented.
    00070   void operator=(const vtkMultiPartExtentTranslator&);  // Not implemented.
    00071 };
    00072
    00073 #endif
    00074