DVPSStoredPrint Class Reference

the representation of a Stored Print object More...

List of all members.

Public Member Functions

 DVPSStoredPrint (Uint16 illumin, Uint16 reflection, const char *aetitle=NULL)
 constructor
 DVPSStoredPrint (const DVPSStoredPrint &copy)
 copy constructor
DVPSStoredPrintclone ()
 clone method.
virtual ~DVPSStoredPrint ()
 destructor
void clear ()
 reset the object to initial state.
OFCondition read (DcmItem &dset)
 reads a Stored Print object from a DICOM dataset.
OFCondition write (DcmItem &dset, OFBool writeRequestedImageSize, OFBool limitImages, OFBool updateDecimateCrop, OFBool ignoreEmptyImages)
 writes the Stored Print object to a DICOM dataset.
OFCondition setOriginator (const char *aetitle)
 sets the name of the current printer.
OFCondition setDestination (const char *aetitle)
 sets the application entity title of the print SCU.
OFCondition setPrinterName (const char *name)
 sets the application entity title of the print SCP.
OFCondition setImageDisplayFormat (unsigned long columns, unsigned long rows)
 sets the image display format to 'STANDARD,rows'.
OFCondition setFilmSizeID (const char *value)
 sets the (optional) film size ID.
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 setResolutionID (const char *value)
 sets the (optional) requested resolution ID.
OFCondition setFilmOrientation (DVPSFilmOrientation value)
 sets the (optional) film orientation.
OFCondition setTrim (DVPSTrimMode value)
 sets the (optional) trim (printing of borders).
OFCondition setRequestedDecimateCropBehaviour (DVPSDecimateCropBehaviour value)
 sets the (optional) requested decimate/crop behaviour for all image boxes managed by this stored print object.
OFCondition setBorderDensity (const char *value)
 sets the (optional) border density.
OFCondition setEmtpyImageDensity (const char *value)
 sets the (optional) empty image density.
OFCondition setMaxDensity (const char *value)
 sets the (optional) max density.
OFCondition setMinDensity (const char *value)
 sets the (optional) min density.
OFCondition newPrinter (const char *name=NULL, const char *destinationAE=NULL)
 deletes all optional attribute values that might not be supported by all printers.
const char * getOriginator ()
 gets the the application entity title of the print SCU.
const char * getDestination ()
 gets the the application entity title of the print SCP.
const char * getPrinterName ()
 gets the name of the current printer.
unsigned long getImageDisplayFormatColumns ()
 gets the number of columns of the current image display format.
unsigned long getImageDisplayFormatRows ()
 gets the number of rows of the current image display format.
DVPSFilmOrientation getFilmOrientation ()
 gets the current film orientation.
DVPSTrimMode getTrim ()
 gets the current trim mode.
DVPSDecimateCropBehaviour getRequestedDecimateCropBehaviour ()
 gets the current requested decimate/crop behaviour setting that is used for all image boxes managed by this object.
const char * getStudyInstanceUID ()
 gets the Study Instance UID.
const char * getSeriesInstanceUID ()
 gets the Series Instance UID.
const char * getSOPInstanceUID ()
 gets the SOP Instance UID.
const char * getFilmSizeID ()
 gets the (optional) film size ID.
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 * getResolutionID ()
 gets the (optional) requestes resolution ID
const char * getBorderDensity ()
 gets the (optional) border density.
const char * getEmtpyImageDensity ()
 gets the (optional) empty image density.
const char * getMaxDensity ()
 gets the (optional) max density.
const char * getMinDensity ()
 gets the (optional) min density.
Uint16 getMaxDensityValue ()
 gets the (optional) max density.
Uint16 getMinDensityValue ()
 gets the (optional) min density.
size_t getNumberOfImages ()
 gets the number of images currently registered in this object.
size_t getNumberOfAnnotations ()
 gets the number of annotations currently registered in this object.
OFCondition deleteImage (size_t idx)
 deletes one of the registered images.
OFCondition deleteMultipleImages (size_t number)
 deletes multiple of the registered images, starting with the first one.
OFCondition deleteSpooledImages ()
 deletes as many images as fit on the current page according to the image display format settings.
OFBool imageHasAdditionalSettings (size_t idx)
 checks if one of the registered images has additional settings that are not default values on the image box level.
OFCondition setImagePolarity (size_t idx, const char *value)
 sets the polarity for the given registered image box.
OFCondition setImageRequestedSize (size_t idx, const char *value)
 sets the requested size for the given registered image box.
OFCondition setImageMagnificationType (size_t idx, const char *value)
 sets the (optional) magnification type for the given registered image box.
OFCondition setImageSmoothingType (size_t idx, const char *value)
 sets the (optional) smoothing type for the given registered image box.
OFCondition setImageConfigurationInformation (size_t idx, const char *value)
 sets the (optional) configuration information for the given registered image box.
const char * getImagePolarity (size_t idx)
 gets the polarity for the given registered image box.
const char * getImageRequestedSize (size_t idx)
 gets the requested size for the given registered image box.
const char * getImageMagnificationType (size_t idx)
 gets the (optional) magnification type for the given registered image box.
const char * getImageSmoothingType (size_t idx)
 gets the (optional) smoothing type for the given registered image box.
const char * getImageConfigurationInformation (size_t idx)
 gets the (optional) configuration information for the given registered image box.
DVPSPresentationLUTgetImagePresentationLUT (size_t idx)
 gets the presentation LUT for the given registered image box.
DVPSPresentationLUTgetPresentationLUT ()
 gets the "global" presentation LUT which overrides the settings for the image boxes.
OFCondition setDefaultPresentationLUT ()
 resets the Presentation LUT to the default setting.
OFCondition setPresentationLUTShape (DVPSPresentationLUTType shape)
 sets the current Presentation LUT shape (overrides the image box settings).
OFCondition setPresentationLookupTable (DcmItem &dset)
 stores a presentation lookup table in the stored print object.
Sint32 convertODtoPValue (Uint16 density, unsigned int bits=8)
 converts an optical density (OD) value to an 8/12/16-bit P-value which is linear to luminance.
OFCondition writeHardcopyImageAttributes (DcmItem &dset)
 writes the general study and series module attributes for a grayscale hardcopy image that is related to this stored print object to a DICOM dataset.
OFCondition addImageBox (const char *retrieveaetitle, const char *refstudyuid, const char *refseriesuid, const char *refsopclassuid, const char *refsopinstanceuid, const char *requestedimagesize, const char *patientid, DVPSPresentationLUT *presentationlut, OFBool inversePLUT)
 creates a new image box object and sets the content of this image box object.
OFCondition addImageBox (const char *retrieveaetitle, const char *refsopinstanceuid, const char *requestedimagesize=NULL, const char *patientid=NULL, DVPSPresentationLUT *presentationlut=NULL, OFBool inversePLUT=OFFalse)
 creates a new image box object and sets the content of this image box object.
OFCondition setSingleAnnotation (const char *displayformat, const char *text, Uint16 position)
 deletes all existing annotations and creates a new one, with given text and position.
void deleteAnnotations ()
 deletes all annotations, clears annotation display format.
OFCondition setInstanceUID (const char *uid)
 sets a new SOP Instance UID for the Stored Print object.
void clearInstanceUID ()
 clears the SOP instance UID for the Stored Print object.
OFCondition getImageReference (size_t idx, 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
DVPSPrintPresentationLUTAlignment getReferencedPresentationLUTAlignment ()
 returns a description of the currently activated Presentation LUT (if any) in terms of the Presentation LUT matching rule (see description of enum type for details).
OFCondition printSCUgetPrinterInstance (DVPSPrintMessageHandler &printHandler)
 Requests the properties of the printer (Printer SOP Instance N-GET).
OFCondition printSCUpreparePresentationLUT (DVPSPrintMessageHandler &printHandler, OFBool printerRequiresMatchingLUT, OFBool printerLUTRenderingPreferred, OFBool printerSupports12Bit)
 checks whether a presentation LUT or LUT shape is active in this stored print object.
OFCondition printSCUcreateBasicFilmSession (DVPSPrintMessageHandler &printHandler, DcmDataset &dset, OFBool plutInSession)
 Creates a DICOM Basic Film Session SOP Instance in the printer.
OFCondition printSCUcreateBasicFilmBox (DVPSPrintMessageHandler &printHandler, OFBool plutInSession)
 Creates a DICOM Basic Film Box SOP Instance in the printer.
OFCondition printSCUsetBasicImageBox (DVPSPrintMessageHandler &printHandler, size_t idx, DicomImage &image, OFBool useMonochrome1=OFFalse)
 Transmits a DICOM image to the printer (Basic Grayscale Image Box N-SET).
OFCondition printSCUsetBasicAnnotationBox (DVPSPrintMessageHandler &printHandler, size_t idx)
 Transmits a DICOM annotation to the printer (Basic Annotation Box N-SET).
OFCondition printSCUprintBasicFilmBox (DVPSPrintMessageHandler &printHandler)
 Prints the current DICOM Basic Film Box SOP Instance.
OFCondition printSCUprintBasicFilmSession (DVPSPrintMessageHandler &printHandler)
 Prints the current DICOM Basic Film Session.
OFCondition printSCUdelete (DVPSPrintMessageHandler &printHandler)
 Deletes all objects currently present in the print association.
OFCondition setPrintIllumination (Uint16 value)
 sets the illumination to be used with the print Presentation LUT SOP Class.
Uint16 getPrintIllumination ()
 gets the current illumination setting used with the print Presentation LUT SOP Class.
OFCondition setPrintReflectedAmbientLight (Uint16 value)
 sets the reflected ambient light to be used with the print Presentation LUT SOP Class.
Uint16 getPrintReflectedAmbientLight ()
 gets the current reflected ambient light setting used with the print Presentation LUT SOP Class.
OFBool printSCPCreate (DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList, const char *filmSessionUID, DcmUniqueIdentifier &study, DcmUniqueIdentifier &psSeries, DcmUniqueIdentifier &imgSeries)
 performs a Print SCP Basic Film Box N-CREATE operation on a newly created instance of this class.
OFBool printSCPSet (DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList)
 performs a Print SCP Basic Film Box N-SET operation on an instance of this class.
OFBool isFilmBoxInstance (const char *c)
 checks whether the given UID string matches the film box UID.
OFBool usesPresentationLUT (const char *c)
 checks whether the Presentation LUT with the given UID is referenced by this Stored Print object on the film box level.
DVPSImageBoxContentduplicateImageBox (const char *uid)
 looks up the image box with the given SOP instance UID in the image box list and returns a pointer to a new object containing a copy of this image box.
OFBool haveImagePositionClash (const char *uid, Uint16 position)
 checks whether any of the image boxes managed by the image box list has the same position as the given one, but a different SOP instance UID.
void replaceImageBox (DVPSImageBoxContent *newImageBox)
 adds the given image box object to the image box list.
void updatePresentationLUTList (DVPSPresentationLUT_PList &globalPresentationLUTList)
 updates the list of Presentation LUTs managed by the Stored Print object from a global list.
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 all image boxes in this film box on a Print SCP that requires a matching alignment between a Presentation LUT and the image pixel data.
void overridePresentationLUTSettings (DcmUnsignedShort &newIllumination, DcmUnsignedShort &newReflectedAmbientLight, DcmUniqueIdentifier &newReferencedPLUT, DVPSPrintPresentationLUTAlignment newAlignment)
 replaces the settings for illumination, reflected ambient light and referenced Presentation LUT in this film box.
OFBool emptyPageWarning ()
 checks whether any of the image boxes has an image box position assigned.

Private Member Functions

DVPSStoredPrintoperator= (const DVPSStoredPrint &)
 private undefined assignment operator
OFBool isImageStorageSOPClass (OFString &sopclassuid)
OFCondition createDefaultValues ()
 create default values for all missing type 1 elements.
OFCondition addReferencedPLUTSQ (DcmItem &dset)
 writes a Referenced Presentation LUT SQ to the given dataset.
OFCondition addPresentationLUTReference (DcmItem &dset)
 writes a Referenced Presentation LUT SQ, Illumination and reflected ambient light to the given dataset.
void invalidateCache ()
 invalidates the cached number of columns and rows
void updateCache ()
 updates the cached number of columns and rows

Private Attributes

DcmPersonName patientName
 Module=Patient, VR=PN, VM=1, Type 1.
DcmLongString patientID
 Module=Patient, VR=LO, VM=1, Type 2.
DcmDate patientBirthDate
 Module=Patient, VR=DA, VM=1, Type 2.
DcmCodeString patientSex
 Module=Patient, VR=CS, VM=1, Type 2.
DcmUniqueIdentifier studyInstanceUID
 Module=General_Study, VR=UI, VM=1, Type 1.
DcmDate studyDate
 Module=General_Study, VR=DA, VM=1, Type 2.
DcmTime studyTime
 Module=General_Study, VR=TM, VM=1, Type 2.
DcmPersonName referringPhysiciansName
 Module=General_Study, VR=PN, VM=1, Type 2.
DcmShortString studyID
 Module=General_Study, VR=SH, VM=1, Type 2.
DcmShortString accessionNumber
 Module=General_Study, VR=SH, VM=1, Type 2.
DcmUniqueIdentifier seriesInstanceUID
 Module=General_Series, VR=UI, VM=1, Type 1.
DcmIntegerString seriesNumber
 Module=General_Series, VR=IS, VM=1, Type 2.
DcmLongString manufacturer
 Module=General_Equipment, VR=LO, VM=1, Type 2.
DcmApplicationEntity originator
 Module=Printer_Characteristics_Module, VR=AE, VM=1, Type 2.
DcmApplicationEntity destination
 Module=Printer_Characteristics_Module, VR=AE, VM=1, Type 2.
DcmLongString printerName
 Module=Printer_Characteristics_Module, VR=LO, VM=1, Type 3.
DcmIntegerString instanceNumber
 Module=Film_Box_Module, VR=IS, VM=1, Type 2.
DcmShortText imageDisplayFormat
 Module=Film_Box_Module, VR=ST, VM=1, Type 1.
DcmCodeString annotationDisplayFormatID
 Module=Film_Box_Module, VR=CS, VM=1, Type 3.
DcmCodeString filmOrientation
 Module=Film_Box_Module, VR=CS, VM=1, Type 2.
DcmCodeString filmSizeID
 Module=Film_Box_Module, VR=CS, VM=1, Type 2.
DcmCodeString magnificationType
 Module=Film_Box_Module, VR=CS, VM=1, Type 2.
DcmCodeString smoothingType
 Module=Film_Box_Module, VR=CS, VM=1, Type 3.
DcmCodeString borderDensity
 Module=Film_Box_Module, VR=CS, VM=1, Type 3.
DcmCodeString emptyImageDensity
 Module=Film_Box_Module, VR=CS, VM=1, Type 3.
DcmUnsignedShort minDensity
 Module=Film_Box_Module, VR=US, VM=1, Type 3.
DcmUnsignedShort maxDensity
 Module=Film_Box_Module, VR=US, VM=1, Type 2.
DcmCodeString trim
 Module=Film_Box_Module, VR=CS, VM=1, Type 3.
DcmShortText configurationInformation
 Module=Film_Box_Module, VR=ST, VM=1, Type 2.
DcmUnsignedShort illumination
 Module=Film_Box_Module, VR=US, VM=1, Type 2c required if presentation SOP class present.
DcmUnsignedShort reflectedAmbientLight
 Module=Film_Box_Module, VR=US, VM=1, Type 2c required if presentation SOP class present.
DcmCodeString requestedResolutionID
 Module=Film_Box_Module (Supplement 38), VR=CS, VM=1, Type 3.
DcmUniqueIdentifier referencedPresentationLUTInstanceUID
 the ReferencedPresentationLUTSequence is only created/read on the fly
DVPSPrintPresentationLUTAlignment referencedPresentationLUTAlignment
 The Print SCP can be configured to enforce a rule requiring that the number of entries in a Presentation LUT matches the bit depth of the image pixel data.
DVPSImageBoxContent_PList imageBoxContentList
 Module=Image_Box_List_Module, VR=SQ, VM=1, Type 1.
DVPSAnnotationContent_PList annotationContentList
 Module=Annotation_List_Module, VR=SQ, VM=1, Type 3.
DVPSPresentationLUT_PList presentationLUTList
DcmUniqueIdentifier sOPInstanceUID
 Module=SOP_Common, VR=UI, VM=1, Type 1.
DcmCodeString specificCharacterSet
 Module=SOP_Common, VR=CS, VM=1-n, Type 1C.
DcmDate instanceCreationDate
 Module=SOP_Common, VR=DA, VM=1, Type 3.
DcmTime instanceCreationTime
 Module=SOP_Common, VR=TM, VM=1, Type 3.
DcmUniqueIdentifier imageSeriesInstanceUID
 used when creating hardcopy image objects
OFBool currentValuesValid
 flag indicating whether the currentXX values are up to date
unsigned long currentNumCols
 current number of columns
unsigned long currentNumRows
 current number of rows
DVPSDecimateCropBehaviour decimateCropBehaviour
 requested decimate/crop behaviour used in all image boxes
OFString filmSessionInstanceUID
 the current film session instance
OFString filmBoxInstanceUID
 the current film box instance
OFString presentationLUTInstanceUID
 the current presentation LUT instance.
DVPSPresentationLUT globalPresentationLUT
 stores the "global" presentation LUT that overrides the image box LUTs (optional)
OFBool globalPresentationLUTValid
 flag indicating whether the globalPresentationLUT is currently valid or not
OFBool transmitImagesIn12Bit
 transmit images in 12 bit for the current print job
OFBool renderPresentationLUTinSCP
 presentation LUTs are rendered on SCP side
OFString tempDensity
 temporary buffer for getMaxDensity and getMinDensity
OFConsolelogstream
 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


Detailed Description

the representation of a Stored Print object

Definition at line 56 of file dvpssp.h.


Constructor & Destructor Documentation

DVPSStoredPrint::DVPSStoredPrint Uint16  illumin,
Uint16  reflection,
const char *  aetitle = NULL
 

constructor

Parameters:
illumin default Illumination setting
reflection default Reflected Ambient Light setting
aetitle application entity title of the print originator (SCU)

Referenced by clone().


Member Function Documentation

OFCondition DVPSStoredPrint::addImageBox const char *  retrieveaetitle,
const char *  refsopinstanceuid,
const char *  requestedimagesize = NULL,
const char *  patientid = NULL,
DVPSPresentationLUT presentationlut = NULL,
OFBool  inversePLUT = OFFalse
 

creates a new image box object and sets the content of this image box object.

This is a specialized version of the method with the same name and more parameters. SOP Class is assumed to be Grayscale Hardcopy, Study and Series are derived from the Stored Print internal defaults.

Parameters:
retrieveaetitle retrieve AETITLE of the referenced image
refsopinstanceuid SOP instance UID of the referenced image
requestedimagesize requested images size for this image, default: absent
patientid patient ID for the referenced image, default: absent
presentationlut presentation LUT to be used, may be NULL (absent)
inversePLUT true if presentation LUT is for Monochrome1 and must be inversed.
Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::addImageBox const char *  retrieveaetitle,
const char *  refstudyuid,
const char *  refseriesuid,
const char *  refsopclassuid,
const char *  refsopinstanceuid,
const char *  requestedimagesize,
const char *  patientid,
DVPSPresentationLUT presentationlut,
OFBool  inversePLUT
 

creates a new image box object and sets the content of this image box object.

Parameters:
retrieveaetitle retrieve AETITLE of the referenced image
refstudyuid Study instance UID of the referenced image
refseriesuid Series instance UID of the referenced image
refsopclassuid SOP Class UID of the referenced image
refsopinstanceuid SOP instance UID of the referenced image
requestedimagesize requested images size for this image, may be NULL (absent)
patientid patient ID for the referenced image, may be NULL (absent)
presentationlut presentation LUT to be used, may be NULL (absent)
inversePLUT true if presentation LUT is for Monochrome1 and must be inversed.
Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::addPresentationLUTReference DcmItem dset  )  [private]
 

writes a Referenced Presentation LUT SQ, Illumination and reflected ambient light to the given dataset.

Helper function used when creating Basic Film Session or Basic Film Box.

Parameters:
dset the dataset to which the data is written
Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::addReferencedPLUTSQ DcmItem dset  )  [private]
 

writes a Referenced Presentation LUT SQ to the given dataset.

Helper function used in the more general write() method.

Parameters:
dset the dataset to which the data is written
Returns:
EC_Normal if successful, an error code otherwise.

void DVPSStoredPrint::clear  ) 
 

reset the object to initial state.

After this call, the object is in the same state as after creation with the default constructor.

void DVPSStoredPrint::clearInstanceUID  )  [inline]
 

clears the SOP instance UID for the Stored Print object.

a new UID is assigned automatically when writing the object.

Definition at line 641 of file dvpssp.h.

References DcmByteString::clear(), and sOPInstanceUID.

DVPSStoredPrint* DVPSStoredPrint::clone  )  [inline]
 

clone method.

Returns:
a pointer to a new DVPSStoredPrint object containing a copy of this object.

Definition at line 73 of file dvpssp.h.

References DVPSStoredPrint().

Sint32 DVPSStoredPrint::convertODtoPValue Uint16  density,
unsigned int  bits = 8
 

converts an optical density (OD) value to an 8/12/16-bit P-value which is linear to luminance.

The output is not calibrated according to the GSDF. This can be done by convertPValueToDDL() in class DVPSPresentationState. The attributes illumination, reflected ambient light and min/max density (default 20/300) from this stored print object are used for the calculation.

Parameters:
density in hundreds of OD (e.g. 150 corressponds to 1.5 OD)
bits number of bits used for the output value (8, 12, 16)
Returns:
P-Value, 0..0xFF, 0..0xFFF, 0..0xFFFF, < 0 if an error occurred.

OFCondition DVPSStoredPrint::createDefaultValues  )  [private]
 

create default values for all missing type 1 elements.

Called before a stored print object is written.

Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::deleteImage size_t  idx  ) 
 

deletes one of the registered images.

Parameters:
idx index, must be < getNumberOfImages()
Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::deleteMultipleImages size_t  number  ) 
 

deletes multiple of the registered images, starting with the first one.

Parameters:
number number of images to delete, must be <= getNumberOfImages()
Returns:
EC_Normal if successful, an error code otherwise.

OFCondition DVPSStoredPrint::deleteSpooledImages  ) 
 

deletes as many images as fit on the current page according to the image display format settings.

Used to remove images from the queue after a print job with one film box has been spooled.

Returns:
EC_Normal if successful, an error code otherwise.

DVPSImageBoxContent* DVPSStoredPrint::duplicateImageBox const char *  uid  )  [inline]
 

looks up the image box with the given SOP instance UID in the image box list and returns a pointer to a new object containing a copy of this image box.

If the object is not found, NULL is returned.

Parameters:
uid SOP instance UID of the image box to be looked up
Returns:
pointer to copied image box object, may be NULL.

Definition at line 863 of file dvpssp.h.

References DVPSImageBoxContent_PList::duplicateImageBox(), and imageBoxContentList.

OFBool DVPSStoredPrint::emptyPageWarning  )  [inline]
 

checks whether any of the image boxes has an image box position assigned.

If no image box position is assigned, the stored print object cannot be written and a Print SCP should return a warning status upon receipt of an N-ACTION request.

Returns:
OFTrue if empty page (no image box position assigned), OFFalse otherwise.

Definition at line 929 of file dvpssp.h.

References DVPSImageBoxContent_PList::emptyPageWarning(), and imageBoxContentList.

const char* DVPSStoredPrint::getBorderDensity  ) 
 

gets the (optional) border density.

Returns:
border density, may be NULL.

const char* DVPSStoredPrint::getConfigurationInformation  ) 
 

gets the (optional) configuration information.

Returns:
configuration information, may be NULL.

const char* DVPSStoredPrint::getDestination  ) 
 

gets the the application entity title of the print SCP.

Returns:
application entity title of the print SCP

const char* DVPSStoredPrint::getEmtpyImageDensity  ) 
 

gets the (optional) empty image density.

Returns:
empty image density, may be NULL.

DVPSFilmOrientation DVPSStoredPrint::getFilmOrientation  ) 
 

gets the current film orientation.

Returns:
film orientation.

const char* DVPSStoredPrint::getFilmSizeID  ) 
 

gets the (optional) film size ID.

Returns:
film size ID, may be NULL.

const char* DVPSStoredPrint::getImageConfigurationInformation size_t  idx  )  [inline]
 

gets the (optional) configuration information for the given registered image box.

Parameters:
idx index, must be < getNumberOfImages()
Returns:
configuration information, may be NULL.

Definition at line 511 of file dvpssp.h.

References DVPSImageBoxContent_PList::getImageConfigurationInformation(), and imageBoxContentList.

unsigned long DVPSStoredPrint::getImageDisplayFormatColumns  ) 
 

gets the number of columns of the current image display format.

Returns:
number of columns.

unsigned long DVPSStoredPrint::getImageDisplayFormatRows  ) 
 

gets the number of rows of the current image display format.

Returns:
number of rows.

const char* DVPSStoredPrint::getImageMagnificationType size_t  idx  )  [inline]
 

gets the (optional) magnification type for the given registered image box.

Parameters:
idx index, must be < getNumberOfImages()
Returns:
magnification type, may be NULL.

Definition at line 493 of file dvpssp.h.

References DVPSImageBoxContent_PList::getImageMagnificationType(), and imageBoxContentList.

const char* DVPSStoredPrint::getImagePolarity size_t  idx  )  [inline]