vtkBranchExtentTranslator.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00044 #ifndef __vtkBranchExtentTranslator_h
00045 #define __vtkBranchExtentTranslator_h
00046
00047 #include "vtkExtentTranslator.h"
00048
00049 class vtkImageData;
00050
00051 class VTK_PARALLEL_EXPORT vtkBranchExtentTranslator : public vtkExtentTranslator
00052 {
00053 public:
00054 static vtkBranchExtentTranslator *New();
00055
00056 vtkTypeRevisionMacro(vtkBranchExtentTranslator,vtkExtentTranslator);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058
00060
00061 virtual void SetOriginalSource(vtkImageData*);
00062 vtkGetObjectMacro(OriginalSource,vtkImageData);
00064
00066 int PieceToExtent();
00067
00069
00075 vtkSetMacro(AssignedPiece, int);
00076 vtkGetMacro(AssignedPiece, int);
00077 vtkSetMacro(AssignedNumberOfPieces, int);
00078 vtkGetMacro(AssignedNumberOfPieces, int);
00080
00081 protected:
00082 vtkBranchExtentTranslator();
00083 ~vtkBranchExtentTranslator();
00084
00085 vtkImageData *OriginalSource;
00086 int AssignedPiece;
00087 int AssignedNumberOfPieces;
00088 private:
00089 vtkBranchExtentTranslator(const vtkBranchExtentTranslator&);
00090 void operator=(const vtkBranchExtentTranslator&);
00091 };
00092
00093 #endif
00094