Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkImageAppend Class Reference

Collects data from multiple inputs into one image. More...

#include <vtkImageAppend.h>

Inheritance diagram for vtkImageAppend:

Inheritance graph
[legend]
Collaboration diagram for vtkImageAppend:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetAppendAxis (int)
virtual int GetAppendAxis ()
virtual void SetPreserveExtents (int)
virtual int GetPreserveExtents ()
virtual void PreserveExtentsOn ()
virtual void PreserveExtentsOff ()

Static Public Methods

vtkImageAppend * New ()
int IsTypeOf (const char *type)
vtkImageAppend * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageAppend ()
 ~vtkImageAppend ()
 vtkImageAppend (const vtkImageAppend &)
void operator= (const vtkImageAppend &)
void ExecuteInformation (vtkImageData **inputs, vtkImageData *output)
void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int whichInput)
void ExecuteInformation ()
void ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id)
void InitOutput (int outExt[6], vtkImageData *outData)

Protected Attributes

int PreserveExtents
int AppendAxis
int * Shifts

Detailed Description

Collects data from multiple inputs into one image.

Date:
2000/12/10 20:09:03
Revision:
1.19
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageAppend takes the components from multiple inputs and merges them into one output. The output images are append along the "AppendAxis". Except for the append axis, all inputs must have the same extent. All inputs must have the same number of scalar components. A future extension might be to pad or clip inputs to have the same extent. The output has the same origin and spacing as the first input. The origin and spacing of all other inputs are ignored. All inputs must have the same scalar type.
Examples:
vtkImageAppend (examples)


Member Function Documentation

virtual const char* vtkImageAppend::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageMultipleInputFilter.

virtual int vtkImageAppend::IsA const char *    type [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 vtkImageMultipleInputFilter.

int vtkImageAppend::IsTypeOf const char *    type [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 vtkImageMultipleInputFilter.

vtkImageAppend* vtkImageAppend::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageMultipleInputFilter.

void vtkImageAppend::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageMultipleInputFilter.

vtkImageAppend* vtkImageAppend::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageMultipleInputFilter.

virtual void vtkImageAppend::SetAppendAxis int    [virtual]
 

This axis is expanded to hold the multiple images.

virtual void vtkImageAppend::SetPreserveExtents int    [virtual]
 

By default "PreserveExtents" is off and the append axis is used. When "PreseveExtents" is on, the extent of the inputs is used to place the image in the output. The whole extent of the output is the union of the input whole extents. Any portion of the output not covered by the inputs is set to zero. The origin and spacing is taken from the first input.

void vtkImageAppend::ThreadedExecute vtkImageData **    inDatas,
vtkImageData   outData,
int    extent[6],
int    id
[protected, virtual]
 

The execute method created by the subclass. This is kept public instead of protected since it is called from a non-member thread function.

Reimplemented from vtkImageMultipleInputFilter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:25:50 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002