33 #include "dcmtk/config/osconfig.h" 34 #include "dcmtk/dcmdata/dctk.h" 127 void setGL(
const char *gl);
a class representing the DICOM value representation 'Integer String' (IS)
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DcmIntegerString graphicLayerOrder
VR=IS, VM=1, Type 1.
void setGLRecommendedDisplayValueRGB(Uint16 r, Uint16 g, Uint16 b)
set graphic layer recommended RGB display value of this layer.
void setGLOrder(Sint32 glOrder)
set graphic layer order of this layer.
OFBool haveGLRecommendedDisplayValue()
checks whether a recommended display value (grayscale, color or both) exists.
DVPSGraphicLayer()
default constructor
DcmLongString graphicLayerDescription
VR=LO, VM=1, Type 3.
DcmUnsignedShort graphicLayerRecommendedDisplayRGBValue
VR=US, VM=3, Type 3.
OFCondition getGLRecommendedDisplayValueRGB(Uint16 &r, Uint16 &g, Uint16 &b)
gets the recommended RGB display value.
const char * getGLDescription()
get graphic layer description of this layer.
a class representing the DICOM value representation 'Long String' (LO)
a class representing the DICOM value representation 'Code String' (CS)
virtual ~DVPSGraphicLayer()
destructor
Sint32 getGLOrder()
gets the graphic layer order of this layer.
an item of the graphic layer sequence in a presentation state (internal use only).
DVPSGraphicLayer * clone()
clone method.
DVPSGraphicLayer & operator=(const DVPSGraphicLayer &)
private undefined assignment operator
a class representing the DICOM value representation 'Unsigned Short' (US)
void setGLRecommendedDisplayValueGray(Uint16 gray)
set graphic layer recommended grayscale display value of this layer.
void setGL(const char *gl)
set graphic layer name of this layer.
OFCondition read(DcmItem &dset)
reads a graphic layer from a DICOM dataset.
const char * getGL()
get graphic layer name of this layer.
OFCondition getGLRecommendedDisplayValueGray(Uint16 &gray)
gets the recommended grayscale display value.
DcmCodeString graphicLayer
VR=CS, VM=1, Type 1.
void removeRecommendedDisplayValue(OFBool rgb, OFBool monochrome)
removes recommended display values.
OFCondition write(DcmItem &dset)
writes the graphic layer managed by this object to a DICOM dataset.
void setGLDescription(const char *glDescription)
set graphic layer description of this layer.
DcmUnsignedShort graphicLayerRecommendedDisplayGrayscaleValue
VR=US, VM=1, Type 3.
General purpose class for condition codes.