vtkImageColorMerge Class Reference

#include <vtkImageColorMerge.h>

Inheritance diagram for vtkImageColorMerge:

Inheritance graph
[legend]
Collaboration diagram for vtkImageColorMerge:

Collaboration graph
[legend]
List of all members.

Detailed Description

Collects data from multiple inputs into one image.

vtkImageColorMerge takes the components from multiple inputs and merges them into one output. The output images are Merge along the "MergeAxis". Except for the Merge 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.

Definition at line 45 of file vtkImageColorMerge.h.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkColorTransferFunctionGetColorTransferFunction (int i)
vtkIntensityTransferFunctionGetIntensityTransferFunction (int i)
void AddLookupTable (vtkColorTransferFunction *ctf)
void AddIntensityTransferFunction (vtkIntensityTransferFunction *itf)
virtual int GetITFCount ()
virtual int GetCTFCount ()
virtual void BuildAlphaOn ()
virtual void BuildAlphaOff ()
virtual void SetBuildAlpha (int)
virtual int GetBuildAlpha ()
virtual void SetAverageThreshold (int)
virtual int GetAverageThreshold ()
virtual void MaximumModeOn ()
virtual void MaximumModeOff ()
virtual void SetMaximumMode (int)
virtual int GetMaximumMode ()
virtual void LuminanceModeOn ()
virtual void LuminanceModeOff ()
virtual void SetLuminanceMode (int)
virtual int GetLuminanceMode ()
virtual void AverageModeOn ()
virtual void AverageModeOff ()
virtual void SetAverageMode (int)
virtual int GetAverageMode ()

Static Public Member Functions

static vtkImageColorMergeNew ()
static int IsTypeOf (const char *type)
static vtkImageColorMergeSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageColorMerge ()
 ~vtkImageColorMerge ()
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 *)
void InitOutput (int outExt[6], vtkImageData *outData)
void ClearItfs ()


Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageColorMerge::Superclass

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 49 of file vtkImageColorMerge.h.


Constructor & Destructor Documentation

vtkImageColorMerge::vtkImageColorMerge (  )  [protected]

vtkImageColorMerge::~vtkImageColorMerge (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkAlgorithm.

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

Reimplemented from vtkThreadedImageAlgorithm.

static int vtkImageColorMerge::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkThreadedImageAlgorithm.

virtual int vtkImageColorMerge::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkThreadedImageAlgorithm.

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

Reimplemented from vtkThreadedImageAlgorithm.

void vtkImageColorMerge::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 vtkThreadedImageAlgorithm.

vtkColorTransferFunction* vtkImageColorMerge::GetColorTransferFunction ( int  i  )  [inline]

Definition at line 52 of file vtkImageColorMerge.h.

vtkIntensityTransferFunction* vtkImageColorMerge::GetIntensityTransferFunction ( int  i  )  [inline]

Definition at line 53 of file vtkImageColorMerge.h.

void vtkImageColorMerge::AddLookupTable ( vtkColorTransferFunction ctf  )  [inline]

Definition at line 55 of file vtkImageColorMerge.h.

References vtkObject::Modified().

void vtkImageColorMerge::AddIntensityTransferFunction ( vtkIntensityTransferFunction itf  )  [inline]

Definition at line 59 of file vtkImageColorMerge.h.

References vtkObject::Modified().

virtual int vtkImageColorMerge::GetITFCount (  )  [virtual]

virtual int vtkImageColorMerge::GetCTFCount (  )  [virtual]

virtual void vtkImageColorMerge::BuildAlphaOn (  )  [virtual]

virtual void vtkImageColorMerge::BuildAlphaOff (  )  [virtual]

virtual void vtkImageColorMerge::SetBuildAlpha ( int   )  [virtual]

virtual int vtkImageColorMerge::GetBuildAlpha (  )  [virtual]

virtual void vtkImageColorMerge::MaximumModeOn (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::MaximumModeOff (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::SetMaximumMode ( int   )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual int vtkImageColorMerge::GetMaximumMode (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::LuminanceModeOn (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::LuminanceModeOff (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::SetLuminanceMode ( int   )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual int vtkImageColorMerge::GetLuminanceMode (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::AverageModeOn (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::AverageModeOff (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::SetAverageMode ( int   )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual int vtkImageColorMerge::GetAverageMode (  )  [virtual]

In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel

virtual void vtkImageColorMerge::SetAverageThreshold ( int   )  [virtual]

virtual int vtkImageColorMerge::GetAverageThreshold (  )  [virtual]

virtual int vtkImageColorMerge::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

void vtkImageColorMerge::ThreadedRequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  ext[6],
int  id 
) [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 vtkImageColorMerge::FillInputPortInformation ( int  ,
vtkInformation  
) [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.

void vtkImageColorMerge::InitOutput ( int  outExt[6],
vtkImageData outData 
) [protected]

void vtkImageColorMerge::ClearItfs (  )  [protected]


The documentation for this class was generated from the following file:
Generated on Sat Dec 30 06:32:44 2006 for VTK by  doxygen 1.5.1