VTK
vtkBranchExtentTranslator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBranchExtentTranslator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
32 #ifndef __vtkBranchExtentTranslator_h
33 #define __vtkBranchExtentTranslator_h
34 
35 #include "vtkExtentTranslator.h"
36 
37 class vtkImageData;
38 
40 {
41 public:
43 
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
49  virtual void SetOriginalSource(vtkImageData*);
50  vtkGetObjectMacro(OriginalSource,vtkImageData);
52 
54  int PieceToExtent();
55 
57 
63  vtkSetMacro(AssignedPiece, int);
64  vtkGetMacro(AssignedPiece, int);
65  vtkSetMacro(AssignedNumberOfPieces, int);
66  vtkGetMacro(AssignedNumberOfPieces, int);
68 
69 protected:
72 
76 private:
77  vtkBranchExtentTranslator(const vtkBranchExtentTranslator&); // Not implemented.
78  void operator=(const vtkBranchExtentTranslator&); // Not implemented.
79 };
80 
81 #endif
82