Public Member Functions | |
DVPSImageBoxContent () | |
default constructor | |
DVPSImageBoxContent (const DVPSImageBoxContent ©) | |
copy constructor | |
DVPSImageBoxContent * | clone () |
clone method. | |
virtual | ~DVPSImageBoxContent () |
destructor | |
void | clear () |
resets the object to initial state. | |
OFCondition | read (DcmItem &dset, DVPSPresentationLUT_PList &presentationLUTList) |
reads an image box content item from a DICOM dataset. | |
OFCondition | write (DcmItem &dset, OFBool writeRequestedImageSize, OFBool writeReferencedPLUTSQ=OFTrue) |
writes the image box managed by this object to a DICOM dataset. | |
OFCondition | createDefaultValues (OFBool renumber, unsigned long number, OFBool ignoreEmptyImages) |
create default values for all missing type 1 elements. | |
const char * | getSOPClassUID () |
returns the referencedSOPClassUID from the ReferencedImageSequence | |
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. | |
OFCondition | setRequestedDecimateCropBehaviour (DVPSDecimateCropBehaviour value) |
sets the (optional) requested decimate/crop behaviour for this image box. | |
DVPSDecimateCropBehaviour | getRequestedDecimateCropBehaviour () |
gets the current requested decimate/crop behaviour setting that is used for this image box. | |
OFBool | hasAdditionalSettings () |
checks whether image box has additional settings that are not default. | |
const char * | getReferencedPresentationLUTInstanceUID () |
gets the (optional) referenced Presentation LUT Instance UID. | |
const char * | getPolarity () |
gets the polarity. | |
const char * | getRequestedImageSize () |
gets the requested image size. | |
const char * | getMagnificationType () |
gets the (optional) magnification type. | |
const char * | getSmoothingType () |
gets the (optional) smoothing type. | |
const char * | getConfigurationInformation () |
gets the (optional) configuration information. | |
const char * | getSOPInstanceUID () |
gets the current SOP Instance UID. | |
Uint16 | getImageBoxPosition () |
gets the current image box position, 0 if none is set. | |
OFCondition | setPolarity (const char *value) |
sets the polarity. | |
OFCondition | setRequestedImageSize (const char *value) |
sets the requested image size. | |
OFCondition | setMagnificationType (const char *value) |
sets the (optional) magnification type. | |
OFCondition | setSmoothingType (const char *value) |
sets the (optional) smoothing type. | |
OFCondition | setConfigurationInformation (const char *value) |
sets the (optional) configuration information. | |
OFCondition | setSOPInstanceUID (const char *value) |
sets the SOP instance UID (which is returned by the Print SCP). | |
OFCondition | setDefault () |
sets magnification type, smoothing type and configuration information back to default. | |
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 | |
OFCondition | prepareBasicImageBox (DcmItem &dset) |
writes the attributes managed by this objects that are part of a basic grayscale image box N-SET request into the DICOM dataset. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
OFBool | matchesPresentationLUT (DVPSPrintPresentationLUTAlignment align) const |
checks whether the given Presentation LUT type could be used together with this image box on a Print SCP that requires a matching alignment between a Presentation LUT and the image pixel data. | |
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 | setUIDsAndAETitle (DcmUniqueIdentifier &studyUID, DcmUniqueIdentifier &seriesUID, const char *aetitle) |
assigns new values for study instance UID, series instance UID and retrieve aetitle. | |
Private Member Functions | |
DVPSImageBoxContent & | operator= (const DVPSImageBoxContent &) |
private undefined assignment operator | |
OFCondition | addReferencedPLUTSQ (DcmItem &dset) |
writes a Referenced Presentation LUT SQ to the given dataset. | |
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 Box N-SET operation. | |
Private Attributes | |
DcmUniqueIdentifier | sOPInstanceUID |
Module=Image_Box_List, VR=UI, VM=1, Type 1(c). | |
DcmUnsignedShort | imageBoxPosition |
Module=Image_Box_List, VR=US, VM=1, Type 1. | |
DcmCodeString | polarity |
Module=Image_Box_List, VR=CS, VM=1, Type 2. | |
DcmCodeString | magnificationType |
Module=Image_Box_List, VR=CS, VM=1, Type 3. | |
DcmShortText | configurationInformation |
Module=Image_Box_List, VR=ST, VM=1, Type 3. | |
DcmCodeString | smoothingType |
Module=Image_Box_List, VR=CS, VM=1, Type 3. | |
DcmDecimalString | requestedImageSize |
Module=Image_Box_List, VR=DS, VM=1, Type 3. | |
DcmCodeString | requestedDecimateCropBehavior |
Module=Image_Box_List (Supplement 38), VR=CS, VM=1, Type 3. | |
DcmApplicationEntity | retrieveAETitle |
Module=Image_Box_List, VR=AE, VM=1-n, Type 1. | |
DcmUniqueIdentifier | referencedSOPClassUID |
Module=Image_Box_List, VR=UI, VM=1, Type 1. | |
DcmUniqueIdentifier | referencedSOPInstanceUID |
Module=Image_Box_List, VR=UI, VM=1, Type 1. | |
DcmUniqueIdentifier | studyInstanceUID |
Module=Image_Box_List, VR=UI, VM=1, Type 1. | |
DcmUniqueIdentifier | seriesInstanceUID |
Module=Image_Box_List, VR=UI, VM=1, Type 1. | |
DcmIntegerString | referencedFrameNumber |
Module=Image_Box_List, VR=IS, VM=1, Type 1c. | |
DcmLongString | patientID |
Module=Image_Box_List, VR=LO, VM=1, Type 2. | |
DcmUniqueIdentifier | referencedPresentationLUTInstanceUID |
DVPSImageDepth | imageDepth |
describes whether the image depth is 8 bit or 12 bit. | |
OFConsole * | logstream |
output stream for error messages, never NULL | |
OFBool | verboseMode |
flag indicating whether we're operating in verbose mode | |
OFBool | debugMode |
flag indicating whether we're operating in debug mode |
Definition at line 49 of file dvpsib.h.
|
writes a Referenced Presentation LUT SQ to the given dataset. Helper function used in the more general write() method.
|
|
resets the object to initial state. After this call, the object is in the same state as after creation with the default constructor. |
|
clone method.
Definition at line 62 of file dvpsib.h. References DVPSImageBoxContent(). |
|
create default values for all missing type 1 elements. Called before a stored print object is written.
|
|
gets the (optional) configuration information.
|
|
gets the current image box position, 0 if none is set.
|
|
returns the image UIDs that are required to look up the referenced image in the database
|
|
gets the (optional) magnification type.
|
|
gets the polarity.
|
|
gets the (optional) referenced Presentation LUT Instance UID.
|
|
gets the current requested decimate/crop behaviour setting that is used for this image box.
|
|
gets the requested image size.
|
|
gets the (optional) smoothing type.
|
|
returns the referencedSOPClassUID from the ReferencedImageSequence
|
|
gets the current SOP Instance UID.
|
|
checks whether image box has additional settings that are not default.
|
|
checks whether the given Presentation LUT type could be used together with this image box on a Print SCP that requires a matching alignment between a Presentation LUT and the image pixel data.
|
|
writes the attributes managed by this objects that are part of a basic grayscale image box N-SET request into the DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|
|
evaluates the contents of the Basic Grayscale Image Sequence during a Print SCP Basic Grayscale Image Box N-SET operation. The results of the N-SET operation are stored in the object passed as rsp.
|
|
performs a Print SCP Basic Grayscale Image Box N-SET operation. The results of the N-SET operation are stored in the objects passed as rsp and rspDataset.
|
|
reads an image box content item from a DICOM dataset. The DICOM elements of the referenced item are copied from the dataset to this object. The completeness of the item (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
sets the (optional) configuration information.
|
|
sets the content of this image box object.
|
|
sets magnification type, smoothing type and configuration information back to default.
|
|
sets a new log stream
|
|
sets the (optional) magnification type.
|
|
sets the polarity.
|
|
sets the (optional) requested decimate/crop behaviour for this image box.
|
|
sets the requested image size.
|
|
sets the (optional) smoothing type.
|
|
sets the SOP instance UID (which is returned by the Print SCP).
|
|
assigns new values for study instance UID, series instance UID and retrieve aetitle.
|
|
writes the image box managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|