33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmpstat/dvpstyp.h"
35 #include "dcmtk/dcmdata/dcvrus.h"
36 #include "dcmtk/dcmdata/dcvrui.h"
37 #include "dcmtk/dcmdata/dcvrlo.h"
233 OFBool matchRequired,
234 OFBool supports12Bit);
DcmLongString presentationLUTExplanation
Module=Softcopy_Presentation_LUT, VR=LO, VM=1, Type 3.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
OFCondition read(DcmItem &dset, OFBool withSOPInstance)
reads an Presentation LUT from a DICOM dataset.
DVPSPresentationLUT & operator=(const DVPSPresentationLUT &)
private undefined assignment operator
OFBool activateInverseLUT(DicomImage *image)
activates the inverse LUT of the current presentation LUT (if any) in the given DicomImage.
const char * getSOPInstanceUID()
returns the SOP instance UID of the presentation LUT if present.
a class representing the DICOM value representation 'Unique Identifier' (UI)
OFBool isInverse()
checks whether current presentation LUT is inverse, i.e.
OFBool haveTable()
checks if a real Presentation LUT (not shape) is available.
OFBool compareDiLookupTable(DiLookupTable *lut)
compares a DiLookupTable instance with the LUT table managed by this object.
DcmUnsignedShort presentationLUTData
Module=Softcopy_Presentation_LUT, VR=xs, VM=1-n, Type 1c.
DcmUnsignedShort presentationLUTDescriptor
Module=Softcopy_Presentation_LUT, VR=xs, VM=3, Type 1c.
virtual ~DVPSPresentationLUT()
destructor
DVPSPresentationLUT * clone()
clone method.
OFCondition write(DcmItem &dset, OFBool withSOPInstance)
writes the Presentation LUT managed by this object to a DICOM dataset.
DVPSPresentationLUT()
default constructor
const char * getCurrentExplanation()
gets a description of the current presentation LUT.
a class representing the DICOM value representation 'Long String' (LO)
DcmUniqueIdentifier sOPInstanceUID
Module=Presentation_LUT_List, VR=UI, VM=1, Type 1.
OFBool isLegalPrintPresentationLUT()
checks whether the current Presentation LUT (or shape) is legal when used with Supplement 22...
OFCondition setSOPInstanceUID(const char *value)
sets the SOP instance UID.
Class to handle color palette look-up tables.
the representation of a Presentation LUT Content SQ item for Stored Print
DiLookupTable * createDiLookupTable()
creates a DiLookupTable instance from the LUT table managed by this object.
OFCondition setLUT(DcmUnsignedShort &lutDescriptor, DcmUnsignedShort &lutData, DcmLongString &lutExplanation)
stores a presentation lookup table and activates it.
a class representing the DICOM value representation 'Unsigned Short' (US)
OFBool activate(DicomImage *image, OFBool printLUT=OFFalse)
activates the current presentation transform in the given DicomImage.
a class handling the DICOM dataset format (files without meta header)
DVPSPresentationLUTType presentationLUT
describes active type of presentation LUT.
DVPSPrintPresentationLUTAlignment getAlignment()
gets a description of the Presentation LUT in terms of its restrictions for use with a Print SCP that...
OFCondition invert()
inverts presentation LUT or presentation state LUT shape.
OFBool matchesImageDepth(OFBool is12bit)
checks whether the current Presentation LUT (or shape) matches the current image bit depth in number ...
DVPSPresentationLUTType getType()
gets the current Presentation LUT type.
Interface class for dcmimgle/dcmimage module.
const char * getLUTExplanation()
returns the LUT explanation of the presentation LUT if it exists and is non-empty.
void clear()
resets the object to initial state.
General purpose class for condition codes.
OFCondition setType(DVPSPresentationLUTType newType)
sets the current Presentation LUT type.
OFBool printSCPCreate(DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool matchRequired, OFBool supports12Bit)
performs a Print SCP N-CREATE operation on a newly created instance of this class.