Public Member Functions | |
DVPSGraphicLayer () | |
default constructor | |
DVPSGraphicLayer (const DVPSGraphicLayer ©) | |
copy constructor | |
DVPSGraphicLayer * | clone () |
clone method. | |
virtual | ~DVPSGraphicLayer () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads a graphic layer from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the graphic layer managed by this object to a DICOM dataset. | |
const char * | getGL () |
get graphic layer name of this layer. | |
const char * | getGLDescription () |
get graphic layer description of this layer. | |
Sint32 | getGLOrder () |
gets the graphic layer order of this layer. | |
OFBool | haveGLRecommendedDisplayValue () |
checks whether a recommended display value (grayscale, color or both) exists. | |
OFCondition | getGLRecommendedDisplayValueGray (Uint16 &gray) |
gets the recommended grayscale display value. | |
OFCondition | getGLRecommendedDisplayValueRGB (Uint16 &r, Uint16 &g, Uint16 &b) |
gets the recommended RGB display value. | |
void | removeRecommendedDisplayValue (OFBool rgb, OFBool monochrome) |
removes recommended display values. | |
void | setGL (const char *gl) |
set graphic layer name of this layer. | |
void | setGLOrder (Sint32 glOrder) |
set graphic layer order of this layer. | |
void | setGLRecommendedDisplayValueGray (Uint16 gray) |
set graphic layer recommended grayscale display value of this layer. | |
void | setGLRecommendedDisplayValueRGB (Uint16 r, Uint16 g, Uint16 b) |
set graphic layer recommended RGB display value of this layer. | |
void | setGLDescription (const char *glDescription) |
set graphic layer description of this layer. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSGraphicLayer & | operator= (const DVPSGraphicLayer &) |
private undefined assignment operator | |
Private Attributes | |
DcmCodeString | graphicLayer |
VR=CS, VM=1, Type 1. | |
DcmIntegerString | graphicLayerOrder |
VR=IS, VM=1, Type 1. | |
DcmUnsignedShort | graphicLayerRecommendedDisplayGrayscaleValue |
VR=US, VM=1, Type 3. | |
DcmUnsignedShort | graphicLayerRecommendedDisplayRGBValue |
VR=US, VM=3, Type 3. | |
DcmLongString | graphicLayerDescription |
VR=LO, VM=1, Type 3. | |
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 |
This class manages the data structures comprising one item of the Graphic Layer Sequence in a Presentation State object.
Definition at line 46 of file dvpsgl.h.
|
clone method.
Definition at line 59 of file dvpsgl.h. References DVPSGraphicLayer(). |
|
get graphic layer name of this layer.
|
|
get graphic layer description of this layer.
|
|
gets the graphic layer order of this layer.
|
|
gets the recommended grayscale display value. If the graphic layer contains an RGB display value but no grayscale display value, the RGB value is implicitly converted to grayscale.
|
|
gets the recommended RGB display value. If the graphic layer contains a grayscale display value but no RGB display value, the grayscale value is implicitly converted to RGB.
|
|
checks whether a recommended display value (grayscale, color or both) exists.
|
|
reads a graphic layer from a DICOM dataset. The DICOM elements of the Graphic Layer 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.
|
|
removes recommended display values.
|
|
set graphic layer name of this layer.
|
|
set graphic layer description of this layer.
|
|
set graphic layer order of this layer.
|
|
set graphic layer recommended grayscale display value of this layer. This method does not affect (set or modify) the recommended RGB display value which should be set separately.
|
|
set graphic layer recommended RGB display value of this layer. This method does not affect (set or modify) the recommended grayscale display value which should be set separately.
|
|
sets a new log stream
|
|
writes the graphic layer managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|