ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
itk::SegmentationRegion Class Reference

#include <itkSegmentationRegion.h>

+ Inheritance diagram for itk::SegmentationRegion:
+ Collaboration diagram for itk::SegmentationRegion:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef unsigned int RegionLabelType
typedef SegmentationRegion Self
typedef Object Superclass
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual void ApplySegmentationRegion ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void SetRegionLabel (RegionLabelType _arg)
virtual const RegionLabelTypeGetRegionLabel ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 SegmentationRegion (const Self &)

Private Attributes

double m_RegionArea
RegionLabelType m_RegionLabel
virtual void SetRegionArea (double _arg)
virtual const double & GetRegionArea ()
 SegmentationRegion ()
 ~SegmentationRegion ()
void PrintSelf (std::ostream &os, Indent indent) const

Additional Inherited Members


Detailed Description

Base class for SegmentationRegion object.

itkSegmentationRegion is the base class for the SegmentationRegion objects. It provides the basic function definitons that are inherent to a SegmentationRegion objects. A region object is defined by the label it owns. We use integer labels to represent a region. This object stores the region label. The user can get the area and a label associated with the region through access functions provided publicly. This class provides an interface method called ApplySegmentationRegion is defined as virtual to enable future extension of the region object. This object can be used where region in images needs to be defined. Child classes can be derived from this class for tailoring them towards specific algorithmic needs.

Definition at line 46 of file itkSegmentationRegion.h.


Member Typedef Documentation

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

Definition at line 53 of file itkSegmentationRegion.h.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

Definition at line 52 of file itkSegmentationRegion.h.

Type definition for a segmentation region label.

Reimplemented in itk::KLMSegmentationRegion.

Definition at line 59 of file itkSegmentationRegion.h.

Standard class typedefs.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

Definition at line 50 of file itkSegmentationRegion.h.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

Definition at line 51 of file itkSegmentationRegion.h.


Constructor & Destructor Documentation

itk::SegmentationRegion::SegmentationRegion ( )
protected

Set/Get the area of the region.

itk::SegmentationRegion::~SegmentationRegion ( )
protected

Set/Get the area of the region.

itk::SegmentationRegion::SegmentationRegion ( const Self )
private

Member Function Documentation

virtual void itk::SegmentationRegion::ApplySegmentationRegion ( )
inlinevirtual

Define a virtual SegmentationRegion function that is meant to be used in derived classes if some operation needs to be performed on a region object.

Definition at line 67 of file itkSegmentationRegion.h.

virtual::itk::LightObject::Pointer itk::SegmentationRegion::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

virtual const char* itk::SegmentationRegion::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

virtual const double& itk::SegmentationRegion::GetRegionArea ( )
virtual

Set/Get the area of the region.

virtual const RegionLabelType& itk::SegmentationRegion::GetRegionLabel ( )
virtual

Set/Get the region with parameter values defining the region.

static Pointer itk::SegmentationRegion::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

void itk::SegmentationRegion::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

void itk::SegmentationRegion::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Set/Get the area of the region.

Reimplemented from itk::Object.

Reimplemented in itk::KLMSegmentationRegion.

virtual void itk::SegmentationRegion::SetRegionArea ( double  _arg)
virtual

Set/Get the area of the region.

virtual void itk::SegmentationRegion::SetRegionLabel ( RegionLabelType  _arg)
virtual

Set/Get the region with parameter values defining the region.


Member Data Documentation

double itk::SegmentationRegion::m_RegionArea
private

Definition at line 89 of file itkSegmentationRegion.h.

RegionLabelType itk::SegmentationRegion::m_RegionLabel
private

Definition at line 88 of file itkSegmentationRegion.h.


The documentation for this class was generated from the following file: