VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
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
39
class
VTK_PARALLEL_EXPORT
vtkBranchExtentTranslator
:
public
vtkExtentTranslator
40
{
41
public
:
42
static
vtkBranchExtentTranslator
*
New
();
43
44
vtkTypeMacro(
vtkBranchExtentTranslator
,
vtkExtentTranslator
);
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
:
70
vtkBranchExtentTranslator
();
71
~
vtkBranchExtentTranslator
();
72
73
vtkImageData
*
OriginalSource
;
74
int
AssignedPiece
;
75
int
AssignedNumberOfPieces
;
76
private
:
77
vtkBranchExtentTranslator
(
const
vtkBranchExtentTranslator
&);
// Not implemented.
78
void
operator=(
const
vtkBranchExtentTranslator
&);
// Not implemented.
79
};
80
81
#endif
82
Generated on Wed Nov 21 2012 21:33:59 for VTK by
1.8.2