VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Hybrid
vtkImageDataLIC2DExtentTranslator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageDataLIC2DExtentTranslator.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
=========================================================================*/
19
#ifndef __vtkImageDataLIC2DExtentTranslator_h
20
#define __vtkImageDataLIC2DExtentTranslator_h
21
22
#include "
vtkExtentTranslator.h
"
23
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
24
25
class
vtkImageDataLIC2D
;
26
27
class
VTK_HYBRID_EXPORT
vtkImageDataLIC2DExtentTranslator
:
public
vtkExtentTranslator
28
{
29
public
:
30
static
vtkImageDataLIC2DExtentTranslator
*
New
();
31
vtkTypeMacro(
vtkImageDataLIC2DExtentTranslator
,
vtkExtentTranslator
);
32
void
PrintSelf
(ostream& os,
vtkIndent
indent);
33
35
37
void
SetAlgorithm(
vtkImageDataLIC2D
*);
38
vtkImageDataLIC2D
* GetAlgorithm();
40
41
void
SetInputExtentTranslator(
vtkExtentTranslator
*);
42
vtkGetObjectMacro(InputExtentTranslator,
vtkExtentTranslator
);
43
44
vtkSetVector6Macro(InputWholeExtent,
int
);
45
vtkGetVector6Macro(InputWholeExtent,
int
);
46
47
virtual
int
PieceToExtentThreadSafe
(
int
piece,
int
numPieces,
48
int
ghostLevel,
int
*wholeExtent,
49
int
*resultExtent,
int
splitMode,
50
int
byPoints);
51
52
//BTX
53
protected
:
54
vtkImageDataLIC2DExtentTranslator
();
55
~
vtkImageDataLIC2DExtentTranslator
();
56
57
int
InputWholeExtent[6];
58
vtkExtentTranslator
*
InputExtentTranslator
;
59
vtkWeakPointer<vtkImageDataLIC2D>
Algorithm
;
60
private
:
61
vtkImageDataLIC2DExtentTranslator
(
const
vtkImageDataLIC2DExtentTranslator
&);
// Not implemented.
62
void
operator=(
const
vtkImageDataLIC2DExtentTranslator
&);
// Not implemented.
63
//ETX
64
};
65
66
#endif
Generated on Sun Sep 9 2012 13:03:39 for VTK by
1.8.1.2