VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageExtractComponents.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageExtractComponents.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
=========================================================================*/
28
#ifndef __vtkImageExtractComponents_h
29
#define __vtkImageExtractComponents_h
30
31
32
#include "
vtkThreadedImageAlgorithm.h
"
33
34
class
VTK_IMAGING_EXPORT
vtkImageExtractComponents
:
public
vtkThreadedImageAlgorithm
35
{
36
public
:
37
static
vtkImageExtractComponents
*
New
();
38
vtkTypeMacro(
vtkImageExtractComponents
,
vtkThreadedImageAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
void
SetComponents(
int
c1);
44
void
SetComponents(
int
c1,
int
c2);
45
void
SetComponents(
int
c1,
int
c2,
int
c3);
46
vtkGetVector3Macro(Components,
int
);
48
50
52
vtkGetMacro(NumberOfComponents,
int
);
54
55
protected
:
56
vtkImageExtractComponents
();
57
~vtkImageExtractComponents
() {};
58
59
int
NumberOfComponents;
60
int
Components[3];
61
62
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
63
vtkInformationVector
*);
64
65
void
ThreadedExecute
(
vtkImageData
*inData,
vtkImageData
*outData,
66
int
ext[6],
int
id
);
67
private
:
68
vtkImageExtractComponents
(
const
vtkImageExtractComponents
&);
// Not implemented.
69
void
operator=(
const
vtkImageExtractComponents
&);
// Not implemented.
70
};
71
72
#endif
73
74
75
76
77
78
79
80
81
82
Generated on Sun Sep 9 2012 13:03:40 for VTK by
1.8.1.2