diff --git a/Plugins/org.mitk.annotations/resources/annotations.json b/Plugins/org.mitk.annotations/resources/annotations.json deleted file mode 100644 index 50d09551ce..0000000000 --- a/Plugins/org.mitk.annotations/resources/annotations.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "annotations" : { - "stdmulti.widget3" : { - "Right": - [ - { - "name": "colorBar", - "type": "colorBar" - }, - { - "name": "scaleLegend", - "type": "scaleLegend" - } - ], - "BottomLeft": - [ - { - "name": "logo", - "type": "logo", - "path": "D:/Arbeit/Programming/mitk_m/Plugins/org.mitk.annotations/resources/logoOverlay.png" - } - ] - }, - "stdmulti.widget1" : { - "TopLeft": - [ - { - "name": "Slice Number", - "defaultValue": "Slice / MaxSlice", - "prefix": "Im: ", - "type": "dicomProperty", - "provider": "DICOM.0020.0013" - }, - { - "name": "Sequence Number", - "defaultValue": "Sequence ?", - "prefix": "Se: ", - "type": "dicomProperty", - "provider": "DICOM.0020.0011" - } - ], - "Top": [{ - "name": "A", - "type": "text" - }], - "TopRight": - [ - { - "name": "Patient Name", - "type": "dicomProperty", - "provider": "DICOM.0010.0010" - }, - { - "name": "Patient ID", - "type": "dicomProperty", - "provider": "DICOM.0010.0020" - }, - { - "name": "Patient Birth Date", - "type": "dicomProperty", - "provider": "DICOM.0010.0030" - }, - { - "name": "Patient Sex", - "type": "dicomProperty", - "provider": "DICOM.0010.0040" - }, - { - "name": "Institution Name", - "type": "dicomProperty", - "provider": "DICOM.0008.0080" - }, - { - "name": "Study ID", - "type": "dicomProperty", - "provider": "DICOM.0020.0010" - }, - { - "name": "Study Description", - "type": "dicomProperty", - "provider": "DICOM.0008.1030" - }, - { - "name": "Series Description", - "type": "dicomProperty", - "provider": "DICOM.0008.103E" - } - ], - "Left": [{ - "name": "R", - "type": "text" - }], - "Right":[{ - "name": "L", - "type": "text" - }], - "BottomLeft": - [ - { - "name": "Pixel(x,y,Val)", - "type": "text" - }, - { - "name": "Slice Thickness", - "defaultValue": "Unknown Thickness", - "prefix": "T: ", - "suffix": " mm", - "type": "dicomProperty", - "provider": "DICOM.0018.0050" - }, - { - "name": "Image Z Position", - "prefix": "L: ", - "type": "dicomProperty", - "provider": "DICOM.0020.0032" - } - ], - "BottomRight": - [ - { - "name": "FS: 1", - "type": "text" - }, - { - "name": "Repetition Time", - "prefix": "TR: ", - "type": "dicomProperty", - "provider": "DICOM.0018.0080" - }, - { - "name": "Echo Time", - "prefix": "TE: ", - "type": "dicomProperty", - "provider": "DICOM.0018.0081" - }, - { - "name": "Acquisition Date", - "type": "dicomProperty", - "provider": "DICOM.0008.0022" - }, - { - "name": "Acquisition Time", - "type": "dicomProperty", - "provider": "DICOM.0008.0032" - } - ], - "Bottom":[{ - "name": "P", - "type": "text" - }] - } - } -} \ No newline at end of file diff --git a/Plugins/org.mitk.annotations/resources/annotationsReduced.json b/Plugins/org.mitk.annotations/resources/annotationsReduced.json deleted file mode 100644 index c230768f1c..0000000000 --- a/Plugins/org.mitk.annotations/resources/annotationsReduced.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "annotations" : { - "stdmulti.widget1" : { - "Top": - [ - { - "name": "TopText", - "type": "text" - } - ], - "TopLeft": - [ - { - "name": "Slice Number", - "defaultValue": "Slice / MaxSlice", - "prefix": "Im: ", - "type": "dicomProperty", - "provider": "DICOM.0020.0013" - }, - { - "name": "Sequence Number", - "defaultValue": "Sequence ?", - "prefix": "Se: ", - "type": "dicomProperty", - "provider": "DICOM.0020.0011" - } - ] - }, - "stdmulti.widget3" : { - "Right": - [ - { - "name": "colorBar", - "type": "colorBar" - }, - { - "name": "scaleLegend", - "type": "scaleLegend" - } - ] - } - } -} \ No newline at end of file diff --git a/Plugins/org.mitk.annotations/src/internal/mitkAnnotationsActivator.cpp b/Plugins/org.mitk.annotations/src/internal/mitkAnnotationsActivator.cpp index 3323c2c561..5fabfda3f3 100644 --- a/Plugins/org.mitk.annotations/src/internal/mitkAnnotationsActivator.cpp +++ b/Plugins/org.mitk.annotations/src/internal/mitkAnnotationsActivator.cpp @@ -1,31 +1,25 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "mitkAnnotationsActivator.h" #include "mitkAnnotationPresetLoader.h" void mitk::AnnotationsActivator::start(ctkPluginContext *context) { BERRY_REGISTER_EXTENSION_CLASS(AnnotationPresetLoader, context) - // TODO remove hardcoded string - /* auto fileName = - std::string{R"(D:\Arbeit\Programming\mitk_m\Plugins\org.mitk.annotations\resources\annotations.json)"}; - - m_AnnotationPresetLoader = std::make_unique(); - m_AnnotationPresetLoader->LoadPreset(fileName);*/ } void mitk::AnnotationsActivator::stop(ctkPluginContext * /*context*/) {}