VTK
|
Collects components from two inputs into one output. More...
#include <vtkImageAppendComponents.h>
Collects components from two inputs into one output.
vtkImageAppendComponents takes the components from two inputs and merges them into one output. If Input1 has M components, and Input2 has N components, the output will have M+N components with input1 components coming first.
Definition at line 35 of file vtkImageAppendComponents.h.
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 39 of file vtkImageAppendComponents.h.
vtkImageAppendComponents::vtkImageAppendComponents | ( | ) | [inline, protected] |
Definition at line 69 of file vtkImageAppendComponents.h.
vtkImageAppendComponents::~vtkImageAppendComponents | ( | ) | [inline, protected] |
Definition at line 70 of file vtkImageAppendComponents.h.
static vtkImageAppendComponents* vtkImageAppendComponents::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkImageAppendComponents::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageAppendComponents::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageAppendComponents* vtkImageAppendComponents::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
virtual vtkObjectBase* vtkImageAppendComponents::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented from vtkThreadedImageAlgorithm.
virtual void vtkImageAppendComponents::ReplaceNthInputConnection | ( | int | idx, |
vtkAlgorithmOutput * | input | ||
) | [virtual] |
Replace one of the input connections with a new input. You can only replace input connections that you previously created with AddInputConnection() or, in the case of the first input, with SetInputConnection().
void vtkImageAppendComponents::SetInputData | ( | int | num, |
vtkDataObject * | input | ||
) |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection() to setup a pipeline connection.
Reimplemented from vtkImageAlgorithm.
void vtkImageAppendComponents::SetInputData | ( | vtkDataObject * | input | ) | [inline] |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection() to setup a pipeline connection.
Reimplemented from vtkImageAlgorithm.
Definition at line 52 of file vtkImageAppendComponents.h.
Get one input to this filter. This method is only for support of old-style pipeline connections. When writing new code you should use vtkAlgorithm::GetInputConnection(0, num).
Reimplemented from vtkImageAlgorithm.
vtkDataObject* vtkImageAppendComponents::GetInput | ( | ) | [inline] |
Get one input to this filter. This method is only for support of old-style pipeline connections. When writing new code you should use vtkAlgorithm::GetInputConnection(0, num).
Reimplemented from vtkImageAlgorithm.
Definition at line 60 of file vtkImageAppendComponents.h.
int vtkImageAppendComponents::GetNumberOfInputs | ( | ) | [inline] |
Get the number of inputs to this filter. This method is only for support of old-style pipeline connections. When writing new code you should use vtkAlgorithm::GetNumberOfInputConnections(0).
Definition at line 66 of file vtkImageAppendComponents.h.
virtual int vtkImageAppendComponents::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
void vtkImageAppendComponents::ThreadedRequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector, | ||
vtkImageData *** | inData, | ||
vtkImageData ** | outData, | ||
int | extent[6], | ||
int | threadId | ||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageAppendComponents::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.
Reimplemented from vtkImageAlgorithm.