VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageAppendComponents.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageAppendComponents.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 __vtkImageAppendComponents_h
29
#define __vtkImageAppendComponents_h
30
31
32
#include "
vtkThreadedImageAlgorithm.h
"
33
34
class
VTK_IMAGING_EXPORT
vtkImageAppendComponents
:
public
vtkThreadedImageAlgorithm
35
{
36
public
:
37
static
vtkImageAppendComponents
*
New
();
38
vtkTypeMacro(
vtkImageAppendComponents
,
vtkThreadedImageAlgorithm
);
39
44
virtual
void
ReplaceNthInputConnection(
int
idx,
vtkAlgorithmOutput
* input);
45
47
51
void
SetInput
(
int
num,
vtkDataObject
*input);
52
void
SetInput
(
vtkDataObject
*input) { this->
SetInput
(0, input); };
54
56
59
vtkDataObject
*
GetInput
(
int
num);
60
vtkDataObject
*
GetInput
() {
return
this->
GetInput
(0); };
62
66
int
GetNumberOfInputs
() {
return
this->
GetNumberOfInputConnections
(0); };
67
68
protected
:
69
vtkImageAppendComponents
() {};
70
~vtkImageAppendComponents
() {};
71
72
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
73
vtkInformationVector
*);
74
75
void
ThreadedRequestData
(
vtkInformation
* request,
76
vtkInformationVector
** inputVector,
77
vtkInformationVector
* outputVector,
78
vtkImageData
***inData,
vtkImageData
**outData,
79
int
ext[6],
int
id
);
80
81
// Implement methods required by vtkAlgorithm.
82
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
83
84
private
:
85
vtkImageAppendComponents
(
const
vtkImageAppendComponents
&);
// Not implemented.
86
void
operator=(
const
vtkImageAppendComponents
&);
// Not implemented.
87
};
88
89
#endif
90
91
92
93
Generated on Wed May 30 2012 13:22:13 for VTK by
1.8.1