| 416 | } |
| 417 | |
| 418 | int mitk::DICOMImageBlockDescriptor::GetIntProperty( const std::string& key, int defaultValue ) const |
| 419 | { |
| 420 | this->UpdateImageDescribingProperties(); |
| 421 | IntProperty::ConstPointer intProp = dynamic_cast<IntProperty*>( this->GetProperty( key ) ); |
| 422 | if ( intProp.IsNotNull() ) |
| 423 | { |
| 424 | return intProp->GetValue(); |
| 425 | } |
| 426 | else |
| 427 | { |
| 428 | return defaultValue; |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | double mitk::DICOMImageBlockDescriptor::stringtodouble( const std::string& str ) const |
| 433 | { |
no test coverage detected