Public Member Functions | Static Public Member Functions | Private Attributes

cmtk::ImageOperationSetPadding Class Reference

Image operation: set padding flag and value. More...

#include <cmtkImageOperationSetPadding.h>

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

List of all members.

Public Member Functions

 ImageOperationSetPadding (const bool flag, const double value=0)
 Constructor.
virtual
cmtk::UniformVolume::SmartPtr 
Apply (cmtk::UniformVolume::SmartPtr &volume)
 Apply this operation to an image in place.

Static Public Member Functions

static void New (const double value)
 Create new connected components operation.
static void NewUnset ()
 Create new connected components operation.

Private Attributes

bool m_PaddingFlag
 Set flag: if this is set, padding is activated, otherwise it is deactivated (and m_PaddingValue is ignored).
Types::DataItem m_PaddingValue
 Padding value.

Detailed Description

Image operation: set padding flag and value.

Inherit from image operation base class.

Definition at line 46 of file cmtkImageOperationSetPadding.h.


Constructor & Destructor Documentation

cmtk::ImageOperationSetPadding::ImageOperationSetPadding ( const bool  flag,
const double  value = 0 
) [inline]

Constructor.

Definition at line 52 of file cmtkImageOperationSetPadding.h.


Member Function Documentation

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

Apply this operation to an image in place.

Reimplemented from cmtk::ImageOperation.

Definition at line 55 of file cmtkImageOperationSetPadding.h.

static void cmtk::ImageOperationSetPadding::New ( const double  value ) [inline, static]

Create new connected components operation.

Definition at line 70 of file cmtkImageOperationSetPadding.h.

static void cmtk::ImageOperationSetPadding::NewUnset (  ) [inline, static]

Create new connected components operation.

Definition at line 76 of file cmtkImageOperationSetPadding.h.


Member Data Documentation

Set flag: if this is set, padding is activated, otherwise it is deactivated (and m_PaddingValue is ignored).

Definition at line 83 of file cmtkImageOperationSetPadding.h.

Padding value.

Definition at line 86 of file cmtkImageOperationSetPadding.h.


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