ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkSegmentationRegion.h>
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 47 of file itkSegmentationRegion.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef unsigned int | RegionLabelType |
typedef SegmentationRegion | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual void | ApplySegmentationRegion () |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetRegionLabel (RegionLabelType _arg) |
virtual const RegionLabelType & | GetRegionLabel () const |
virtual void | SetRegionArea (double _arg) |
virtual const double & | GetRegionArea () const |
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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () 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 Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
SegmentationRegion () | |
~SegmentationRegion () | |
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 &) ITK_DELETE_FUNCTION |
SegmentationRegion (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
double | m_RegionArea |
RegionLabelType | m_RegionLabel |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::SegmentationRegion::ConstPointer |
Definition at line 54 of file itkSegmentationRegion.h.
typedef SmartPointer< Self > itk::SegmentationRegion::Pointer |
Definition at line 53 of file itkSegmentationRegion.h.
typedef unsigned int itk::SegmentationRegion::RegionLabelType |
Type definition for a segmentation region label.
Definition at line 60 of file itkSegmentationRegion.h.
Standard class typedefs.
Definition at line 51 of file itkSegmentationRegion.h.
Definition at line 52 of file itkSegmentationRegion.h.
|
protected |
|
protected |
|
private |
|
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 68 of file itkSegmentationRegion.h.
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Object.
Reimplemented in itk::KLMSegmentationRegion.
|
virtual |
Set/Get the area of the region.
|
virtual |
Set/Get the region with parameter values defining the region.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
Reimplemented in itk::KLMSegmentationRegion.
|
virtual |
Set/Get the area of the region.
|
virtual |
Set/Get the region with parameter values defining the region.
|
private |
Definition at line 91 of file itkSegmentationRegion.h.
|
private |
Definition at line 90 of file itkSegmentationRegion.h.