Skip to content

Commit e29a2e4

Browse files
committed
Added support for new Presentation States.
Added support for new Presentation State SOP Classes introduced with Supplement 236 (Waveform Presentation State) to the DICOM SR module.
1 parent f4667fd commit e29a2e4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

dcmsr/include/dcmtk/dcmsr/dsrtypes.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,12 @@ class DCMTK_DCMSR_EXPORT DSRTypes
657657
PT_MultipleVolumeRendering,
658658
/// Variable Modality LUT Softcopy Presentation State (VML-SPS)
659659
PT_VariableModalityLUT,
660+
/// Waveform Presentation State (WPS)
661+
PT_Waveform,
662+
/// Waveform Acquisition Presentation State (WAPS)
663+
PT_WaveformAcquisition,
660664
/// internal type used to mark the last entry
661-
PT_last = PT_VariableModalityLUT
665+
PT_last = PT_WaveformAcquisition
662666
};
663667

664668
/** SR graphic types. Used for content item SCOORD.

dcmsr/libsrc/dsrtypes.cc

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* Copyright (C) 2000-2024, OFFIS e.V.
3+
* Copyright (C) 2000-2025, OFFIS e.V.
44
* All rights reserved. See COPYRIGHT file for details.
55
*
66
* This software and supporting documentation were developed by
@@ -400,7 +400,9 @@ static const S_PresentationStateTypeNameMap PresentationStateTypeNameMap[] =
400400
{DSRTypes::PT_VolumeRendering, UID_VolumeRenderingVolumetricPresentationStateStorage, "VR-VPS"},
401401
{DSRTypes::PT_SegmentedVolumeRendering, UID_SegmentedVolumeRenderingVolumetricPresentationStateStorage, "SVR-VPS"},
402402
{DSRTypes::PT_MultipleVolumeRendering, UID_MultipleVolumeRenderingVolumetricPresentationStateStorage, "MVR-VPS"},
403-
{DSRTypes::PT_VariableModalityLUT, UID_VariableModalityLUTSoftcopyPresentationStateStorage, "VML-SPS"}
403+
{DSRTypes::PT_VariableModalityLUT, UID_VariableModalityLUTSoftcopyPresentationStateStorage, "VML-SPS"},
404+
{DSRTypes::PT_Waveform, UID_WaveformPresentationStateStorage, "WPS"},
405+
{DSRTypes::PT_WaveformAcquisition, UID_WaveformAcquisitionPresentationStateStorage, "WAPS"}
404406
};
405407

406408

0 commit comments

Comments
 (0)