Enumerates all known organs :-) More...
#include <mitkOrganTypeProperty.h>


Public Types | |
| typedef OrganTypeProperty | Self |
| typedef EnumerationProperty | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
| virtual const char * | GetClassName () const |
Static Public Member Functions | |
| static Pointer | New () |
| static Pointer | New (const IdType &_arg) |
| static Pointer | New (const std::string &_arg) |
Protected Member Functions | |
| OrganTypeProperty () | |
| OrganTypeProperty (const IdType &value) | |
| OrganTypeProperty (const std::string &value) | |
| virtual | ~OrganTypeProperty () |
| virtual void | AddEnumerationTypes () |
Enumerates all known organs :-)
Last contributor $Author$
Definition at line 38 of file mitkOrganTypeProperty.h.
| typedef itk::SmartPointer<const Self> mitk::OrganTypeProperty::ConstPointer |
Reimplemented from mitk::EnumerationProperty.
Definition at line 42 of file mitkOrganTypeProperty.h.
| typedef itk::SmartPointer<Self> mitk::OrganTypeProperty::Pointer |
Reimplemented from mitk::EnumerationProperty.
Definition at line 42 of file mitkOrganTypeProperty.h.
Reimplemented from mitk::EnumerationProperty.
Definition at line 42 of file mitkOrganTypeProperty.h.
Reimplemented from mitk::EnumerationProperty.
Definition at line 42 of file mitkOrganTypeProperty.h.
| mitk::OrganTypeProperty::OrganTypeProperty | ( | ) | [protected] |
Definition at line 20 of file mitkOrganTypeProperty.cpp.
References AddEnumerationTypes().
{
AddEnumerationTypes();
}
| mitk::OrganTypeProperty::OrganTypeProperty | ( | const IdType & | value ) | [protected] |
Definition at line 25 of file mitkOrganTypeProperty.cpp.
{
AddEnumerationTypes();
if ( IsValidEnumerationValue( value ) )
{
SetValue( value ) ;
}
else
{
SetValue( 0 );
}
}
| mitk::OrganTypeProperty::OrganTypeProperty | ( | const std::string & | value ) | [protected] |
Definition at line 38 of file mitkOrganTypeProperty.cpp.
{
AddEnumerationTypes();
if ( IsValidEnumerationValue( value ) )
{
SetValue( value );
}
else
{
SetValue( "undefined" );
}
}
| mitk::OrganTypeProperty::~OrganTypeProperty | ( | ) | [protected, virtual] |
Definition at line 52 of file mitkOrganTypeProperty.cpp.
{
}
| void mitk::OrganTypeProperty::AddEnumerationTypes | ( | ) | [protected, virtual] |
Definition at line 57 of file mitkOrganTypeProperty.cpp.
References mitk::EnumerationProperty::Size().
Referenced by OrganTypeProperty().
{
IdType newId = static_cast<IdType>(EnumerationProperty::Size());
// On changes, please also change mitk::DataNodeFactory::DefaultColorForOrgan()
AddEnum( "undefined", newId++ );
AddEnum( "Ankle", newId++ );
AddEnum( "Appendix", newId++ );
AddEnum( "Blood vessels", newId++ );
AddEnum( "Bone", newId++ );
AddEnum( "Brain", newId++ );
AddEnum( "Bronchial tree", newId++ );
AddEnum( "Coccyx", newId++ );
AddEnum( "Colon", newId++ );
AddEnum( "Cyst", newId++ );
AddEnum( "Elbow", newId++ );
AddEnum( "Eye", newId++ );
AddEnum( "Fallopian tube", newId++ );
AddEnum( "Fat", newId++ );
AddEnum( "Gall bladder", newId++ );
AddEnum( "Hand", newId++ );
AddEnum( "Heart", newId++ );
AddEnum( "Hip", newId++ );
AddEnum( "Hippocampus", newId++ );
AddEnum( "Kidney", newId++ );
AddEnum( "Knee", newId++ );
AddEnum( "Larynx", newId++ );
AddEnum( "Liver", newId++ );
AddEnum( "Lung", newId++ );
AddEnum( "Lymph node", newId++ );
AddEnum( "Muscle", newId++ );
AddEnum( "Nerve", newId++ );
AddEnum( "Nose", newId++ );
AddEnum( "Oesophagus", newId++ );
AddEnum( "Ovaries", newId++ );
AddEnum( "Pancreas", newId++ );
AddEnum( "Pelvis", newId++ );
AddEnum( "Penis", newId++ );
AddEnum( "Pharynx", newId++ );
AddEnum( "Prostate", newId++ );
AddEnum( "Rectum", newId++ );
AddEnum( "Sacrum", newId++ );
AddEnum( "Seminal vesicle", newId++ );
AddEnum( "Shoulder", newId++ );
AddEnum( "Spinal cord", newId++ );
AddEnum( "Spleen", newId++ );
AddEnum( "Stomach", newId++ );
AddEnum( "Teeth", newId++ );
AddEnum( "Testicles", newId++ );
AddEnum( "Thyroid", newId++ );
AddEnum( "Tongue", newId++ );
AddEnum( "Tumor", newId++ );
AddEnum( "Urethra", newId++ );
AddEnum( "Urinary bladder", newId++ );
AddEnum( "Uterus", newId++ );
AddEnum( "Vagina", newId++ );
AddEnum( "Vertebra", newId++ );
AddEnum( "Wrist", newId++ );
}
| virtual const char* mitk::OrganTypeProperty::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::EnumerationProperty.
| static Pointer mitk::OrganTypeProperty::New | ( | const std::string & | _arg ) | [inline, static] |
Definition at line 45 of file mitkOrganTypeProperty.h.
:
OrganTypeProperty();
Definition at line 44 of file mitkOrganTypeProperty.h.
| static Pointer mitk::OrganTypeProperty::New | ( | ) | [static] |
Reimplemented from mitk::EnumerationProperty.
Referenced by mitkOrganTypePropertyTest(), and QmitkNewSegmentationDialog::QmitkNewSegmentationDialog().
1.7.2