Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes

cmtk::ImageToImageRGB Class Reference
[cmtkPipeline Library]

Filter to convert image to RGB image using a color lookup table. More...

#include <cmtkImageToImageRGB.h>

Inheritance diagram for cmtk::ImageToImageRGB:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ImageToImageRGB:
Collaboration graph
[legend]

List of all members.

Public Types

enum  igsAlphaMode { AlphaModeNone, AlphaModeConst }
 

Enumeration of Alpha modes.

More...

Public Member Functions

 igsClassParameter (igsAlphaMode, AlphaMode)
 This flag detemines if and how an alpha (transparancy) ramp is used.
 igsClassParameter (bool, CheckerboxPadding)
 Use checkerboard pattern to fill PaddingData areas.
virtual void Execute ()
 Convert image to RGB image.
void SetInput (Image *const image)
 Set an input image.
void SetColormap (Colormap *const colormap)
 Set a colormap.

Static Public Member Functions

static ImageToImageRGBNew ()
 Create new object.

Protected Member Functions

 ImageToImageRGB ()
 Default constructor.
virtual ~ImageToImageRGB ()
 Destructor.

Private Types

typedef MultiFilter< ImageRGBSuperclass
 Convenience definition of the parent class type.

Private Member Functions

template<class T >
void MarkPaddingData (const unsigned int dimsx, const unsigned int dimsy, T *const rgba, const TypedArray *data) const
 Overwrite padded regions with checkerboard pattern.

Private Attributes

Imagem_Image
 The input image.
Colormapm_Colormap
 The actual colormap.

Detailed Description

Filter to convert image to RGB image using a color lookup table.

Definition at line 54 of file cmtkImageToImageRGB.h.


Member Typedef Documentation

Convenience definition of the parent class type.

Definition at line 106 of file cmtkImageToImageRGB.h.


Member Enumeration Documentation

Enumeration of Alpha modes.

Enumerator:
AlphaModeNone 

Do not use alpha channel (generate 3 byte-per-pixel RGB data).

AlphaModeConst 

Use constant alpha value (opaque).

Definition at line 63 of file cmtkImageToImageRGB.h.


Member Function Documentation

cmtk::ImageToImageRGB::igsClassParameter ( igsAlphaMode  ,
AlphaMode   
)

This flag detemines if and how an alpha (transparancy) ramp is used.

If this flag is said, the attached Colormap object will generate transparency information in addition to the usual RGB data. As a result, and RGBA image will be generated instead of a plain RGB image.

cmtk::ImageToImageRGB::igsClassParameter ( bool  ,
CheckerboxPadding   
)

Use checkerboard pattern to fill PaddingData areas.

static ImageToImageRGB* cmtk::ImageToImageRGB::New (  ) [inline, static]

Create new object.

Definition at line 60 of file cmtkImageToImageRGB.h.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().


Member Data Documentation

The actual colormap.

Definition at line 103 of file cmtkImageToImageRGB.h.

Referenced by Execute(), ImageToImageRGB(), SetColormap(), and ~ImageToImageRGB().

The input image.

Definition at line 100 of file cmtkImageToImageRGB.h.

Referenced by Execute(), ImageToImageRGB(), SetInput(), and ~ImageToImageRGB().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines