VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkImageAppendComponents Class Reference

Collects components from two inputs into one output. More...

#include <vtkImageAppendComponents.h>

Inheritance diagram for vtkImageAppendComponents:
Inheritance graph
[legend]
Collaboration diagram for vtkImageAppendComponents:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageAppendComponentsNewInstance () const
virtual void ReplaceNthInputConnection (int idx, vtkAlgorithmOutput *input)
int GetNumberOfInputs ()
void SetInputData (int num, vtkDataObject *input)
void SetInputData (vtkDataObject *input)
vtkDataObjectGetInput (int num)
vtkDataObjectGetInput ()

Static Public Member Functions

static vtkImageAppendComponentsNew ()
static int IsTypeOf (const char *type)
static vtkImageAppendComponentsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageAppendComponents ()
 ~vtkImageAppendComponents ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
virtual int FillInputPortInformation (int, vtkInformation *)

Detailed Description

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.

Tests:
vtkImageAppendComponents (Tests)

Definition at line 35 of file vtkImageAppendComponents.h.


Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 39 of file vtkImageAppendComponents.h.


Constructor & Destructor Documentation

Definition at line 69 of file vtkImageAppendComponents.h.

Definition at line 70 of file vtkImageAppendComponents.h.


Member Function Documentation

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.

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().

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.

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.

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.

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.


The documentation for this class was generated from the following file: