📄 dsrtypes.h
字号:
/// read/write: template identification element encloses content items static const size_t XF_templateElementEnclosesItems; /// shortcut: combines all XF_xxxAsAttribute write flags (see above) static const size_t XF_encodeEverythingAsAttribute; //@} /** @name print() flags * These flags can be combined and passed to the renderHMTL() methods. * The 'shortcut' flags can be used for common combinations. */ //@{ /// print item position ("1.2.3") instead of line indentation static const size_t PF_printItemPosition; /// shorten long item value (e.g. long texts) static const size_t PF_shortenLongItemValues; /// print SOP instance UID of referenced objects static const size_t PF_printSOPInstanceUID; /// print coding scheme designator/version and code value of concept names static const size_t PF_printConceptNameCodes; /// print no general document information (header) static const size_t PF_printNoDocumentHeader; /// print template identification (TID and mapping resource) static const size_t PF_printTemplateIdentification; /// shortcut: print all codes static const size_t PF_printAllCodes; //@} // --- type definitions --- /** SR document types */ enum E_DocumentType { /// internal type used to indicate an error DT_invalid, /// internal type used to indicate an unknown document type (defined term) DT_unknown = DT_invalid, /// DICOM SOP Class: Basic Text SR DT_BasicTextSR, /// DICOM SOP Class: Enhanced SR DT_EnhancedSR, /// DICOM SOP Class: Comprehensive SR DT_ComprehensiveSR, /// DICOM SOP Class: Key Object Selection Document DT_KeyObjectDoc, /// DICOM SOP Class: Mammography CAD SR DT_MammographyCadSR, /// DICOM SOP Class: Chest CAD SR DT_ChestCadSR, /// DICOM SOP Class: Procedure Log DT_ProcedureLog, /// DICOM SOP Class: X-Ray Radiation Dose SR DT_XRayRadiationDoseSR, /// internal type used to mark the last entry DT_last = DT_XRayRadiationDoseSR }; /** SR relationship types */ enum E_RelationshipType { /// internal type used to indicate an error RT_invalid, /// internal type used to indicate an unknown relationship type (defined term) RT_unknown = RT_invalid, /// internal type used for the document root RT_isRoot, /// DICOM Relationship Type: CONTAINS RT_contains, /// DICOM Relationship Type: HAS OBS CONTEXT RT_hasObsContext, /// DICOM Relationship Type: HAS ACQ CONTEXT RT_hasAcqContext, /// DICOM Relationship Type: HAS CONCEPT MOD RT_hasConceptMod, /// DICOM Relationship Type: HAS PROPERTIES RT_hasProperties, /// DICOM Relationship Type: INFERRED FROM RT_inferredFrom, /// DICOM Relationship Type: SELECTED FROM RT_selectedFrom, /// internal type used to mark the last entry RT_last = RT_selectedFrom }; /** SR value types */ enum E_ValueType { /// internal type used to indicate an error VT_invalid, /// internal type used to indicate an unknown value type (defined term) VT_unknown = VT_invalid, /// DICOM Value Type: TEXT VT_Text, /// DICOM Value Type: CODE VT_Code, /// DICOM Value Type: NUM VT_Num, /// DICOM Value Type: DATETIME VT_DateTime, /// DICOM Value Type: DATE VT_Date, /// DICOM Value Type: TIME VT_Time, /// DICOM Value Type: UIDREF VT_UIDRef, /// DICOM Value Type: PNAME VT_PName, /// DICOM Value Type: SCOORD VT_SCoord, /// DICOM Value Type: TCOORD VT_TCoord, /// DICOM Value Type: COMPOSITE VT_Composite, /// DICOM Value Type: IMAGE VT_Image, /// DICOM Value Type: WAVEFORM VT_Waveform, /// DICOM Value Type: CONTAINER VT_Container, /// internal type used to indicate by-reference relationships VT_byReference, /// internal type used to mark the last entry VT_last = VT_byReference }; /** SR graphic types. Used for content item SCOORD. */ enum E_GraphicType { /// internal type used to indicate an error GT_invalid, /// internal type used to indicate an unknown value type (defined term) GT_unknown = GT_invalid, /// DICOM Graphic Type: POINT GT_Point, /// DICOM Graphic Type: MULTIPOINT GT_Multipoint, /// DICOM Graphic Type: POLYLINE GT_Polyline, /// DICOM Graphic Type: CIRCLE GT_Circle, /// DICOM Graphic Type: ELLIPSE GT_Ellipse, /// internal type used to mark the last entry GT_last = GT_Ellipse }; /** SR temporal range types. Used for content item TCOORD. */ enum E_TemporalRangeType { /// internal type used to indicate an error TRT_invalid, /// internal type used to indicate an unknown value type (defined term) TRT_unknown = TRT_invalid, /// DICOM Temporal Range Type: POINT TRT_Point, /// DICOM Temporal Range Type: MULTIPOINT TRT_Multipoint, /// DICOM Temporal Range Type: SEGMENT TRT_Segment, /// DICOM Temporal Range Type: MULTISEGMENT TRT_Multisegment, /// DICOM Temporal Range Type: BEGIN TRT_Begin, /// DICOM Temporal Range Type: END TRT_End, /// internal type used to mark the last entry TRT_last = TRT_End }; /** SR continuity of content flag. Used for content item CONTAINER. */ enum E_ContinuityOfContent { /// internal type used to indicate an error COC_invalid, /// DICOM defined term: SEPARATE COC_Separate, /// DICOM defined term: CONTINUOUS COC_Continuous, /// internal type used to mark the last entry COC_last = COC_Continuous }; /** SR document completion flag */ enum E_CompletionFlag { /// internal type used to indicate an error CF_invalid, /// DICOM defined term: PARTIAL CF_Partial, /// DICOM defined term: COMPLETE CF_Complete, /// internal type used to mark the last entry CF_last = CF_Complete }; /** SR document verification flag */ enum E_VerificationFlag { /// internal type used to indicate an error VF_invalid, /// DICOM defined term: UNVERIFIED VF_Unverified, /// DICOM defined term: VERIFIED VF_Verified, /// internal type used to mark the last entry VF_last = VF_Verified }; /** Specific character set */ enum E_CharacterSet { /// internal type used to indicate an error CS_invalid, /// internal type used to indicate an unknown value type (defined term) CS_unknown = CS_invalid, /// ISO 646 (ISO-IR 6): ASCII CS_ASCII, /// ISO-IR 100: Latin alphabet No. 1 CS_Latin1, /// ISO-IR 101: Latin alphabet No. 2 CS_Latin2, /// ISO-IR 109: Latin alphabet No. 3 CS_Latin3, /// ISO-IR 110: Latin alphabet No. 4 CS_Latin4, /// ISO-IR 144: Cyrillic CS_Cyrillic, /// ISO-IR 127: Arabic CS_Arabic, /// ISO-IR 126: Greek CS_Greek, /// ISO-IR 138: Hebrew CS_Hebrew, /// ISO-IR 148: Latin alphabet No. 5 CS_Latin5, /// ISO-IR 13: Japanese (Katakana/Romaji) CS_Japanese, /// ISO-IR 166: Thai CS_Thai, // UTF-8: Unicode in UTF-8 CS_UTF8, /// internal type used to mark the last entry CS_last = CS_UTF8 }; /** Add node mode */ enum E_AddMode { /// add new node after current one (sibling) AM_afterCurrent, /// add new node before current one (sibling) AM_beforeCurrent, /// add new node below current one (after last child) AM_belowCurrent }; // --- conversion functions --- /** convert SR document type to SOP class UID
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -