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

cmtk::ImageOperationDistanceMap Class Reference

Compute distance map. More...

#include <cmtkImageOperationDistanceMap.h>

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

List of all members.

Public Types

typedef UniformDistanceMap
< double > 
DistanceMapType
 Distance map type.

Public Member Functions

 ImageOperationDistanceMap (const bool signedDistance)
 Constructor.
virtual UniformVolume::SmartPtr Apply (UniformVolume::SmartPtr &volume)
 Apply this operation to an image in place.

Static Public Member Functions

static void NewSigned ()
 Create new signed distance map operation.
static void NewUnsigned ()
 Create new unsigned distance map operation.

Private Attributes

bool m_SignedDistance
 Flag for signed (inside/outside) vs. unsigned (outside only) distance map.

Detailed Description

Compute distance map.

Inherit generic image operation.

Definition at line 44 of file cmtkImageOperationDistanceMap.h.


Member Typedef Documentation

Distance map type.

Definition at line 50 of file cmtkImageOperationDistanceMap.h.


Constructor & Destructor Documentation

cmtk::ImageOperationDistanceMap::ImageOperationDistanceMap ( const bool  signedDistance ) [inline]

Constructor.

Definition at line 53 of file cmtkImageOperationDistanceMap.h.


Member Function Documentation

cmtk::UniformVolume::SmartPtr cmtk::ImageOperationDistanceMap::Apply ( UniformVolume::SmartPtr volume ) [virtual]

Apply this operation to an image in place.

Reimplemented from cmtk::ImageOperation.

Definition at line 35 of file cmtkImageOperationDistanceMap.cxx.

References cmtk::UniformDistanceMap< TDistanceDataType >::Get().

static void cmtk::ImageOperationDistanceMap::NewSigned (  ) [inline, static]

Create new signed distance map operation.

Definition at line 59 of file cmtkImageOperationDistanceMap.h.

static void cmtk::ImageOperationDistanceMap::NewUnsigned (  ) [inline, static]

Create new unsigned distance map operation.

Definition at line 65 of file cmtkImageOperationDistanceMap.h.


Member Data Documentation

Flag for signed (inside/outside) vs. unsigned (outside only) distance map.

Definition at line 72 of file cmtkImageOperationDistanceMap.h.


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