vtkImageAppendComponents Class Reference

#include <vtkImageAppendComponents.h>

Inheritance diagram for vtkImageAppendComponents:

Inheritance graph
[legend]
Collaboration diagram for vtkImageAppendComponents:

Collaboration graph
[legend]

List of all members.


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 34 of file vtkImageAppendComponents.h.


Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 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 *)

Member Typedef Documentation

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 38 of file vtkImageAppendComponents.h.


Constructor & Destructor Documentation

vtkImageAppendComponents::vtkImageAppendComponents (  )  [inline, protected]

Definition at line 69 of file vtkImageAppendComponents.h.

vtkImageAppendComponents::~vtkImageAppendComponents (  )  [inline, protected]

Definition at line 70 of file vtkImageAppendComponents.h.


Member Function Documentation

static vtkImageAppendComponents* vtkImageAppendComponents::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageAppendComponents::GetClassName (  )  [virtual]

Reimplemented from vtkThreadedImageAlgorithm.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkThreadedImageAlgorithm.

static vtkImageAppendComponents* vtkImageAppendComponents::SafeDownCast ( vtkObject o  )  [static]

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::SetInput ( int  num,
vtkDataObject input 
)

Set an Input of this filter. This method is only for support of old-style pipeline connections. When writing new code you should use SetInputConnection(), AddInputConnection(), and ReplaceNthInputConnection() instead.

Reimplemented from vtkImageAlgorithm.

void vtkImageAppendComponents::SetInput ( vtkDataObject input  )  [inline]

Set an Input of this filter. This method is only for support of old-style pipeline connections. When writing new code you should use SetInputConnection(), AddInputConnection(), and ReplaceNthInputConnection() instead.

Reimplemented from vtkImageAlgorithm.

Definition at line 52 of file vtkImageAppendComponents.h.

vtkDataObject* vtkImageAppendComponents::GetInput ( int  num  ) 

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 ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkImageAlgorithm.


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

Generated on Sat Dec 27 13:28:58 2008 for VTK by  doxygen 1.5.6