VTK
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 "vtkImagingCoreModule.h" // For export macro
34 
36 {
37 public:
40 
46 
48 
52  void SetInputData(vtkDataObject *input) { this->SetInputData(0, input); };
54 
56 
60  vtkDataObject *GetInput() { return this->GetInput(0); };
62 
66  int GetNumberOfInputs() { return this->GetNumberOfInputConnections(0); };
67 
68 protected:
71 
74 
76  vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector,
78  vtkImageData ***inData, vtkImageData **outData,
79  int ext[6], int id);
80 
81  // Implement methods required by vtkAlgorithm.
83 
84 private:
85  vtkImageAppendComponents(const vtkImageAppendComponents&); // Not implemented.
86  void operator=(const vtkImageAppendComponents&); // Not implemented.
87 };
88 
89 #endif
90 
91 
92 
93 
94 // VTK-HeaderTest-Exclude: vtkImageAppendComponents.h
vtkImageAppendComponents::SetInputData
void SetInputData(int num, vtkDataObject *input)
vtkImageAppendComponents::GetInput
vtkDataObject * GetInput(int num)
vtkImageAppendComponents::ReplaceNthInputConnection
virtual void ReplaceNthInputConnection(int idx, vtkAlgorithmOutput *input)
vtkImageAppendComponents::vtkImageAppendComponents
vtkImageAppendComponents()
Definition: vtkImageAppendComponents.h:69
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkThreadedImageAlgorithm
Generic filter that has one input..
Definition: vtkThreadedImageAlgorithm.h:37
vtkImageAppendComponents::~vtkImageAppendComponents
~vtkImageAppendComponents()
Definition: vtkImageAppendComponents.h:70
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkImageAppendComponents::New
static vtkImageAppendComponents * New()
vtkImageAppendComponents::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkThreadedImageAlgorithm.h
vtkImageAppendComponents::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
vtkImageAppendComponents
Collects components from two inputs into one output.
Definition: vtkImageAppendComponents.h:36
vtkImageAppendComponents::SetInputData
void SetInputData(vtkDataObject *input)
Definition: vtkImageAppendComponents.h:52
vtkImageAppendComponents::GetNumberOfInputs
int GetNumberOfInputs()
Definition: vtkImageAppendComponents.h:66
vtkImageAppendComponents::GetInput
vtkDataObject * GetInput()
Definition: vtkImageAppendComponents.h:60
vtkgl::num
GLuint GLuint num
Definition: vtkgl.h:16907
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkImagingCoreModule.h
VTKIMAGINGCORE_EXPORT
#define VTKIMAGINGCORE_EXPORT
Definition: vtkImagingCoreModule.h:15
vtkImageAppendComponents::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
vtkAlgorithm::GetNumberOfInputConnections
int GetNumberOfInputConnections(int port)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65