Image operation: set padding flag and value. More...
#include <cmtkImageOperationSetPadding.h>
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. |
Image operation: set padding flag and value.
Inherit from image operation base class.
Definition at line 46 of file cmtkImageOperationSetPadding.h.
cmtk::ImageOperationSetPadding::ImageOperationSetPadding | ( | const bool | flag, |
const double | value = 0 |
||
) | [inline] |
Constructor.
Definition at line 52 of file cmtkImageOperationSetPadding.h.
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.
bool cmtk::ImageOperationSetPadding::m_PaddingFlag [private] |
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.