Medical Imaging Interaction Toolkit  2022.04.99-b2814023
Medical Imaging Interaction Toolkit
mitk::DICOMTagsOfInterestService Class Reference

DICOM tags of interest service. More...

#include <mitkDICOMTagsOfInterestService.h>

Inheritance diagram for mitk::DICOMTagsOfInterestService:
Collaboration diagram for mitk::DICOMTagsOfInterestService:

Public Member Functions

 DICOMTagsOfInterestService ()
 
 ~DICOMTagsOfInterestService () override
 
void AddTagOfInterest (const DICOMTagPath &tag, bool makePersistant=true) override
 Add an tag to the TOI. If the tag was already added it will be overwritten with the passed values. More...
 
DICOMTagPathMapType GetTagsOfInterest () const override
 
bool HasTag (const DICOMTagPath &tag) const override
 
void RemoveTag (const DICOMTagPath &tag) override
 Remove specific tag. If it not exists the function will do nothing. More...
 
void RemoveAllTags () override
 Remove all tags. More...
 
- Public Member Functions inherited from mitk::IDICOMTagsOfInterest
virtual ~IDICOMTagsOfInterest ()
 

Detailed Description

DICOM tags of interest service.

This service allows you to manage the tags of interest (toi). All registred toi will be extracted when loading dicom data and stored as properties in the corresponding base data object. In addition the service can (if available) use IPropertyPersistance and IPropertyDescriptions to ensure that the tags of interests are also persisted and have a human readable descriptions.

Definition at line 33 of file mitkDICOMTagsOfInterestService.h.

Constructor & Destructor Documentation

◆ DICOMTagsOfInterestService()

mitk::DICOMTagsOfInterestService::DICOMTagsOfInterestService ( )

◆ ~DICOMTagsOfInterestService()

mitk::DICOMTagsOfInterestService::~DICOMTagsOfInterestService ( )
override

Member Function Documentation

◆ AddTagOfInterest()

void mitk::DICOMTagsOfInterestService::AddTagOfInterest ( const DICOMTagPath tag,
bool  makePersistant = true 
)
overridevirtual

Add an tag to the TOI. If the tag was already added it will be overwritten with the passed values.

Parameters
[in]tagTag that should be added.
[in]makePersistantIndicates if the tag should be made persistant if possible via the IPropertyPersistence service.

Implements mitk::IDICOMTagsOfInterest.

◆ GetTagsOfInterest()

DICOMTagPathMapType mitk::DICOMTagsOfInterestService::GetTagsOfInterest ( ) const
overridevirtual

Returns the map of all tags of interest. Key is the property name. Value is the DICOM tag.

Implements mitk::IDICOMTagsOfInterest.

◆ HasTag()

bool mitk::DICOMTagsOfInterestService::HasTag ( const DICOMTagPath tag) const
overridevirtual

Indicates if the given tag is already a tag of interest.

Implements mitk::IDICOMTagsOfInterest.

◆ RemoveAllTags()

void mitk::DICOMTagsOfInterestService::RemoveAllTags ( )
overridevirtual

Remove all tags.

Implements mitk::IDICOMTagsOfInterest.

◆ RemoveTag()

void mitk::DICOMTagsOfInterestService::RemoveTag ( const DICOMTagPath tag)
overridevirtual

Remove specific tag. If it not exists the function will do nothing.

Parameters
[in]tagTag that should be removed.

Implements mitk::IDICOMTagsOfInterest.


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