Public Member Functions | Static Public Member Functions | Private Attributes

cmtk::ImageOperationConvertType Class Reference

Image operation: convert data type. More...

#include <cmtkImageOperationFlip.h>

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

List of all members.

Public Member Functions

 ImageOperationConvertType (const cmtk::ScalarDataType newType)
 Constructor:
virtual
cmtk::UniformVolume::SmartPtr 
Apply (cmtk::UniformVolume::SmartPtr &volume)
 Apply this operation to an image in place.

Static Public Member Functions

static void NewChar ()
 Create object to convert to "char" data.
static void NewByte ()
 Create object to convert to "byte" data.
static void NewShort ()
 Create object to convert to "short" data.
static void NewUShort ()
 Create object to convert to "unsigned short" data.
static void NewInt ()
 Create object to convert to "int" data.
static void NewFloat ()
 Create object to convert to "float" data.
static void NewDouble ()
 Create object to convert to "double" data.

Private Attributes

cmtk::ScalarDataType m_NewType
 New data type.

Detailed Description

Image operation: convert data type.

Inherit from image operation base class.

Definition at line 43 of file cmtkImageOperationFlip.h.


Constructor & Destructor Documentation

cmtk::ImageOperationConvertType::ImageOperationConvertType ( const cmtk::ScalarDataType  newType ) [inline]

Constructor:

Definition at line 49 of file cmtkImageOperationFlip.h.


Member Function Documentation

virtual cmtk::UniformVolume::SmartPtr cmtk::ImageOperationConvertType::Apply ( cmtk::UniformVolume::SmartPtr volume ) [inline, virtual]

Apply this operation to an image in place.

Reimplemented from cmtk::ImageOperation.

Definition at line 52 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_BYTE, cmtk::TYPE_CHAR, cmtk::TYPE_DOUBLE, cmtk::TYPE_FLOAT, cmtk::TYPE_INT, cmtk::TYPE_SHORT, and cmtk::TYPE_USHORT.

static void cmtk::ImageOperationConvertType::NewByte (  ) [inline, static]

Create object to convert to "byte" data.

Definition at line 81 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_BYTE.

static void cmtk::ImageOperationConvertType::NewChar (  ) [inline, static]

Create object to convert to "char" data.

Definition at line 75 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_CHAR.

static void cmtk::ImageOperationConvertType::NewDouble (  ) [inline, static]

Create object to convert to "double" data.

Definition at line 111 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_DOUBLE.

static void cmtk::ImageOperationConvertType::NewFloat (  ) [inline, static]

Create object to convert to "float" data.

Definition at line 105 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_FLOAT.

static void cmtk::ImageOperationConvertType::NewInt (  ) [inline, static]

Create object to convert to "int" data.

Definition at line 99 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_INT.

static void cmtk::ImageOperationConvertType::NewShort (  ) [inline, static]

Create object to convert to "short" data.

Definition at line 87 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_SHORT.

static void cmtk::ImageOperationConvertType::NewUShort (  ) [inline, static]

Create object to convert to "unsigned short" data.

Definition at line 93 of file cmtkImageOperationFlip.h.

References cmtk::TYPE_USHORT.


Member Data Documentation

New data type.

Definition at line 118 of file cmtkImageOperationFlip.h.


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