Medical Imaging Interaction Toolkit  2018.4.99-93926fb8
Medical Imaging Interaction Toolkit
mitkControlPointManager.h File Reference

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 

Functions

MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ControlPoint mitk::GenerateControlPoint (const mitk::DataNode *datanode)
 Provides helper functions that are needed to work with control points. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ControlPoint mitk::GetControlPointByUID (const SemanticTypes::CaseID &caseID, const SemanticTypes::ID &controlPointUID)
 Find and return a whole control point including its date given a specific control point UID. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ControlPoint mitk::FindExistingControlPoint (const SemanticTypes::CaseID &caseID, const SemanticTypes::ControlPoint &controlPoint)
 Returns an already existing control point from the given vector of control points. This existing control point has the the same date (year, month, day) as the given single control point. If no existing control point can be found an empty control point is returned. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ControlPoint mitk::FindClosestControlPoint (const SemanticTypes::CaseID &caseID, const SemanticTypes::ControlPoint &controlPoint)
 Returns an already existing close control point from the given vector of control points. This closest control point has a date that is within a certain distance-in-days to the given control point. If no closest control point can be found within the distance threshold an empty control point is returned. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ExaminationPeriod mitk::FindContainingExaminationPeriod (const SemanticTypes::CaseID &caseID, const SemanticTypes::ControlPoint &controlPoint)
 Returns the examination period to which the given control point belongs. Each examination point holds a vector of control point UIDs so that the UID of the given control point can be compared against the UIDs of the vector. An empty examination period is returned if,. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ExaminationPeriod mitk::FindFittingExaminationPeriod (const SemanticTypes::CaseID &caseID, const SemanticTypes::ControlPoint &controlPoint)
 Return the examination period to which the given data node belongs. The control point is used to find an already existing or the closest control point in the semantic relations storage. If such a control point is found, the 'FindClosestControlPoint'-function with this control point as an argument is used to actually find the corresponding examination period. More...
 
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::ExaminationPeriod mitk::FindFittingExaminationPeriod (const DataNode *dataNode)
 Return the examination period to which the given data node belongs. The DICOM date of the data node is used to find an already existing or the closest control point in the semantic relations storage. If such a control point is found, the 'FindFittingExaminationPeriod'-function with this control point as an argument is used to actually find the corresponding examination period. More...
 
MITKSEMANTICRELATIONS_EXPORT void mitk::SortAllExaminationPeriods (const SemanticTypes::CaseID &caseID, SemanticTypes::ExaminationPeriodVector &allExaminationPeriods)
 Sort the given vector of examination periods. Each examination period has a vector of control point UIDs (stored in chronological order). The examination periods can be sorted by comparing the first control points of the examination periods. More...