MeVisLabToolboxReference
MeVis/Foundation/Sources/DicomTree/MLDicomTree/DCMTree_MeVisDicomTags.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00004 
00009 //----------------------------------------------------------------------------------
00010                       
00011 #ifndef DCMTREE_MEVISDICOMTAGS_H 
00012 #define DCMTREE_MEVISDICOMTAGS_H 
00013                       
00014 
00015 // === Private DICOM tag definitions ===
00016 
00017 // eatDicom version and options info
00018 #define DCMTree_MeVis_EatDicomID             0x0009                    // Private group
00019 #define DCMTree_MeVis_EatDicomIDstring       "MeVis eatDicom"          // Private creator string
00020 // Private element offsets
00021 #define DCMTree_MeVis_EatDicomVersion  0x0010              // eatDicom version
00022 #define DCMTree_MeVis_EatDicomOptions  0x0011              // eatDicom options
00023 
00024             
00025 // eatDicom timepoints info          
00026 #define DCMTree_MeVis_TimepointsID              0x0021        // Private group
00027 #define DCMTree_MeVis_TimepointsIDstring        "MeVis eD: Timepoint Information"
00028 #define DCMTree_MeVis_TimepointsIDstringOld     "MeVis eD: Absolute Temporal Positions"
00029 // Private element offsets
00030 #define DCMTree_MeVis_TPDateTime                0x0010        // Timepoint information
00031 #define DCMTree_MeVis_TPDateTimeType            0x0011        // Tags with this id determine what kind of date time type 
00032                                                               // represents the sort order time information of contained slices.
00033 #define DCMTree_MeVis_TPDateTimeTypeAcquisition "ACQUISITION" // Acquisition time used for sorting
00034 #define DCMTree_MeVis_TPDateTimeTypeContent     "CONTENT"     // Content time used for sorting
00035 #define DCMTree_MeVis_TPDateTimeTypeUnknown     "UNKNOWN"     // Unknown time used for sorting
00036 
00037 #define DCMTree_MeVis_TPEmptyFrames             0x0071        // Empty frame positions as string 'z1 t1\z2 t2\ ...'
00038 
00039 // Obsolete tags, now in frame-specific tags
00040 #define DCMTree_MeVis_TPSeriesDescription       0x0012
00041 #define DCMTree_MeVis_TPGradientDirections      0x0013
00042 
00043 // eatDicom geometry information
00044 #define DCMTree_MeVis_GeometryID                0x0021        // Private group
00045 #define DCMTree_MeVis_GeometryIDstring          "MeVis eD: Geometry Information"
00046 // Private element offsets
00047 #define DCMTree_MeVis_GeoScannerOrigin          0x0011        // Origin of scanner coordinate system (w.r.t world system)
00048 
00049 
00050 // eatDicom slice info (obsolete, now in frame-specific tags)
00051 #define DCMTree_MeVis_SlicesID                  0x0021     // Private group
00052 #define DCMTree_MeVis_SlicesIDstring            "MeVis eD: Slice Information"
00053 // Private element offsets
00054 #define DCMTree_MeVis_SlicesSOPInstanceUID      0x0010     // Frame-specific SOPInstanceUID's
00055 
00056 
00057 // === MeVis DICOM UID support ===
00058 
00059 /*
00060    According to DICOM/MeVis conventions, a UID should be made up of following
00061    components:
00062 
00063    Prefix              Officially registered ID of UID creator
00064    Device type         Identification of hardware/OS type
00065    Device number       Machine specific identifyer
00066    Software type       Identification of software
00067    Process id          Identification of the running process
00068    Timestamp           Date and time (YYYYMMDDHHMMSS), followed by a counter
00069 */
00070 
00071 // MeVis UID prefix
00072 #define DCMTree_MeVis_UidPrefix "1.2.276.0.28"
00073 
00074 // MeVis UID system types
00075 #define DCMTree_MeVis_UidDeviceUnknown "0"
00076 #define DCMTree_MeVis_UidDeviceSgi     "1"
00077 #define DCMTree_MeVis_UidDeviceApple   "2"
00078 #define DCMTree_MeVis_UidDeviceWinDOS  "3"
00079 #define DCMTree_MeVis_UidDeviceLinux   "4"
00080 
00081 #if defined(WIN32) || defined(__WINDOWS__) || defined(__DOS__)
00082 #  define DCMTree_MeVis_UidDeviceType DCMTree_MeVis_UidDeviceWinDOS
00083 #elif defined(MACOS) || defined(__MAC__) || defined(__APPLE__)
00084 #  define DCMTree_MeVis_UidDeviceType DCMTree_MeVis_UidDeviceApple
00085 #elif defined(LINUX) || defined(__LINUX__) || defined(linux) || defined(__linux) || defined(__linux__)
00086 #  define DCMTree_MeVis_UidDeviceType DCMTree_MeVis_UidDeviceLinux
00087 #else
00088 #  define DCMTree_MeVis_UidDeviceType DCMTree_MeVis_UidDeviceUnknown
00089 #endif
00090 
00091 // MeVis UID software types
00092 #define DCMTree_MeVis_UidSoftwareMTDyna   "10"
00093 #define DCMTree_MeVis_UidSoftwareMTJade   "11"
00094 #define DCMTree_MeVis_UidSoftwareMFL      "14"
00095 #define DCMTree_MeVis_UidSoftwareMeVisLab "42"
00096 #define DCMTree_MeVis_UidSoftwareAcr2dcm  "213"
00097 
00098 
00099 
00100 
00101                     
00102 #endif /* DCMTREE_MEVISDICOMTAGS_H */ 
00103