| 1 |
|
/*========================================================================= |
| 2 |
|
|
| 3 |
|
Program: Insight Segmentation & Registration Toolkit |
| 4 |
|
Module: $RCSfile: itkSegmentationRegion.cxx.html,v $ |
| 5 |
|
Language: C++ |
| 6 |
|
Date: $Date: 2006/01/17 19:15:47 $ |
| 7 |
|
Version: $Revision: 1.4 $ |
| 8 |
|
|
| 9 |
|
Copyright (c) Insight Software Consortium. All rights reserved. |
| 10 |
|
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. |
| 11 |
|
|
| 12 |
|
This software is distributed WITHOUT ANY WARRANTY; without even |
| 13 |
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 14 |
|
PURPOSE. See the above copyright notices for more information. |
| 15 |
|
|
| 16 |
|
=========================================================================*/ |
| 17 |
DEF |
#ifndef _itkSegmentationRegion_cxx |
| 18 |
DEF |
#define _itkSegmentationRegion_cxx |
| 19 |
|
|
| 20 |
|
#include "itkSegmentationRegion.h" |
| 21 |
|
|
| 22 |
|
namespace itk |
| 23 |
|
{ |
| 24 |
|
|
| 25 |
|
|
| 26 |
|
SegmentationRegion |
| 27 |
|
::SegmentationRegion(void): |
| 28 |
IND |
**m_RegionLabel(0), |
| 29 |
IND |
**m_RegionArea(0) |
| 30 |
|
{ |
| 31 |
|
|
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
|
| 35 |
|
SegmentationRegion |
| 36 |
|
::~SegmentationRegion() |
| 37 |
|
{ |
| 38 |
|
|
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
/** |
| 42 |
|
* PrintSelf |
| 43 |
|
*/ |
| 44 |
|
void |
| 45 |
|
SegmentationRegion |
| 46 |
|
::PrintSelf( std::ostream& os, Indent indent ) const |
| 47 |
|
{ |
| 48 |
|
Superclass::PrintSelf(os,indent); |
| 49 |
|
|
| 50 |
|
os << indent << "Segmentation region object" << std::endl; |
| 51 |
|
os << indent << "Region label : " << m_RegionLabel << std::endl; |
| 52 |
|
os << indent << "Area of the region : " << m_RegionArea << std::endl; |
| 53 |
|
}// end PrintSelf |
| 54 |
|
|
| 55 |
|
} // namespace itk |
| 56 |
|
|
| 57 |
|
|
| 58 |
|
#endif |
| 59 |
|
|