33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/ofstd/ofstring.h"
35 #include "dcmtk/dcmdata/dctk.h"
36 #include "dcmtk/dcmpstat/dvpstyp.h"
37 #include "dcmtk/dcmnet/dimse.h"
120 const char *instanceuid,
121 const char *retrieveaetitle,
122 const char *refstudyuid,
123 const char *refseriesuid,
124 const char *refsopclassuid,
125 const char *refsopinstanceuid,
126 const char *requestedimagesize,
127 const char *patientid,
128 const char *presentationlutreference);
289 DVPSPrintPresentationLUTAlignment align,
290 OFBool presentationLUTnegotiated);
302 const char *aetitle);
340 DVPSPrintPresentationLUTAlignment align,
341 OFBool presentationLUTnegotiated);
a class representing the DICOM value representation 'Integer String' (IS)
DcmUniqueIdentifier referencedSOPInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
OFCondition setConfigurationInformation(const char *value)
sets the (optional) configuration information.
a class representing the DICOM value representation 'Decimal String' (DS)
DcmUniqueIdentifier seriesInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
const char * getMagnificationType()
gets the (optional) magnification type.
a class representing the DICOM value representation 'Unique Identifier' (UI)
DVPSImageBoxContent & operator=(const DVPSImageBoxContent &)
private undefined assignment operator
const char * getPolarity()
gets the polarity.
DVPSImageDepth imageDepth
describes whether the image depth is 8 bit or 12 bit.
DcmUnsignedShort imageBoxPosition
Module=Image_Box_List, VR=US, VM=1, Type 1.
DcmLongString patientID
Module=Image_Box_List, VR=LO, VM=1, Type 2.
const char * getConfigurationInformation()
gets the (optional) configuration information.
Configuration class for the Softcopy Presentation State viewer.
DcmUniqueIdentifier referencedSOPClassUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
OFCondition prepareBasicImageBox(DcmItem &dset)
writes the attributes managed by this objects that are part of a basic grayscale image box N-SET requ...
void clear()
resets the object to initial state.
OFBool printSCPEvaluateBasicGrayscaleImageSequence(DVConfiguration &cfg, const char *cfgname, DcmItem *rqDataset, T_DIMSE_Message &rsp, DcmDataset &imageDataset, DVPSPrintPresentationLUTAlignment align, OFBool presentationLUTnegotiated)
evaluates the contents of the Basic Grayscale Image Sequence during a Print SCP Basic Grayscale Image...
DcmCodeString smoothingType
Module=Image_Box_List, VR=CS, VM=1, Type 3.
DcmIntegerString referencedFrameNumber
Module=Image_Box_List, VR=IS, VM=1, Type 1c.
OFCondition setMagnificationType(const char *value)
sets the (optional) magnification type.
DcmShortText configurationInformation
Module=Image_Box_List, VR=ST, VM=1, Type 3.
a class representing the DICOM value representation 'Short Text' (ST)
DVPSImageBoxContent()
default constructor
OFCondition getImageReference(const char *&studyUID, const char *&seriesUID, const char *&instanceUID)
returns the image UIDs that are required to look up the referenced image in the database ...
a class representing the DICOM value representation 'Long String' (LO)
a class representing the DICOM value representation 'Code String' (CS)
Uint16 getImageBoxPosition()
gets the current image box position, 0 if none is set.
OFCondition setPolarity(const char *value)
sets the polarity.
OFBool printSCPSet(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, DcmDataset &imageDataset, DVPSPrintPresentationLUTAlignment align, OFBool presentationLUTnegotiated)
performs a Print SCP Basic Grayscale Image Box N-SET operation.
OFCondition setContent(const char *instanceuid, const char *retrieveaetitle, const char *refstudyuid, const char *refseriesuid, const char *refsopclassuid, const char *refsopinstanceuid, const char *requestedimagesize, const char *patientid, const char *presentationlutreference)
sets the content of this image box object.
const char * getReferencedPresentationLUTInstanceUID()
gets the (optional) referenced Presentation LUT Instance UID.
the list of presentation LUTs contained in a stored print object.
virtual ~DVPSImageBoxContent()
destructor
OFCondition setUIDsAndAETitle(DcmUniqueIdentifier &studyUID, DcmUniqueIdentifier &seriesUID, const char *aetitle)
assigns new values for study instance UID, series instance UID and retrieve aetitle.
OFCondition setDefault()
sets magnification type, smoothing type and configuration information back to default.
DcmUniqueIdentifier sOPInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1(c)
DVPSDecimateCropBehaviour getRequestedDecimateCropBehaviour()
gets the current requested decimate/crop behaviour setting that is used for this image box...
the representation of a Image Box Content SQ item for Stored Print
OFBool hasAdditionalSettings()
checks whether image box has additional settings that are not default.
OFCondition setSmoothingType(const char *value)
sets the (optional) smoothing type.
OFCondition write(DcmItem &dset, OFBool writeRequestedImageSize, OFBool writeReferencedPLUTSQ=OFTrue)
writes the image box managed by this object to a DICOM dataset.
a class representing the DICOM value representation 'Unsigned Short' (US)
a class handling the DICOM dataset format (files without meta header)
DcmCodeString polarity
Module=Image_Box_List, VR=CS, VM=1, Type 2.
DcmApplicationEntity retrieveAETitle
Module=Image_Box_List, VR=AE, VM=1-n, Type 1.
OFCondition createDefaultValues(OFBool renumber, unsigned long number, OFBool ignoreEmptyImages)
create default values for all missing type 1 elements.
const char * getRequestedImageSize()
gets the requested image size.
DcmDecimalString requestedImageSize
Module=Image_Box_List, VR=DS, VM=1, Type 3.
DVPSImageBoxContent * clone()
clone method.
DcmCodeString requestedDecimateCropBehavior
Module=Image_Box_List (Supplement 38), VR=CS, VM=1, Type 3.
const char * getSmoothingType()
gets the (optional) smoothing type.
OFCondition setRequestedImageSize(const char *value)
sets the requested image size.
DcmUniqueIdentifier studyInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
OFCondition read(DcmItem &dset, DVPSPresentationLUT_PList &presentationLUTList)
reads an image box content item from a DICOM dataset.
const char * getSOPClassUID()
returns the referencedSOPClassUID from the ReferencedImageSequence
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with this image box on a Print ...
const char * getSOPInstanceUID()
gets the current SOP Instance UID.
DcmCodeString magnificationType
Module=Image_Box_List, VR=CS, VM=1, Type 3.
a class representing the DICOM value representation 'Application Entity' (AE)
OFCondition setRequestedDecimateCropBehaviour(DVPSDecimateCropBehaviour value)
sets the (optional) requested decimate/crop behaviour for this image box.
OFCondition addReferencedPLUTSQ(DcmItem &dset)
writes a Referenced Presentation LUT SQ to the given dataset.
General purpose class for condition codes.
OFCondition setSOPInstanceUID(const char *value)
sets the SOP instance UID (which is returned by the Print SCP).