DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Member Functions | Private Attributes
DVPSOverlayCurveActivationLayer Class Reference

a curve or overlay activation layer in a presentation state (internal use only). More...

List of all members.

Public Member Functions

 DVPSOverlayCurveActivationLayer ()
 default constructor
 DVPSOverlayCurveActivationLayer (const DVPSOverlayCurveActivationLayer &copy)
 copy constructor
DVPSOverlayCurveActivationLayerclone ()
 clone method.
virtual ~DVPSOverlayCurveActivationLayer ()
 destructor
OFCondition read (DcmItem &dset, Uint16 ovGroup)
 reads the activation layer for the specified repeating group from a DICOM dataset.
OFCondition write (DcmItem &dset)
 writes the activation layer managed by this object to a DICOM dataset.
void setActivationLayer (const char *aLayer)
 set activation layer name of this activation.
void setRepeatingGroup (Uint16 rGroup)
 set repeating group of this activation.
const char * getActivationLayer ()
 get activation layer name.
Uint16 getRepeatingGroup ()
 get repeating group.
OFBool isRepeatingGroup (Uint16 rGroup)
 compare repeating group.

Private Member Functions

DVPSOverlayCurveActivationLayeroperator= (const DVPSOverlayCurveActivationLayer &)
 private undefined assignment operator

Private Attributes

Uint16 repeatingGroup
 the repeating group managed by this object
DcmCodeString activationLayer
 VR=CS, VM=1, Type 2c.

Detailed Description

a curve or overlay activation layer in a presentation state (internal use only).

This class manages the data structures comprising a single curve activation layer or overlay activation layer (one instance of the Curve Activation Layer Module or Overlay Activation Layer Module repeating elements) contained in a Presentation State object.


Member Function Documentation

clone method.

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

get activation layer name.

Returns:
a pointer to the activation layer name

get repeating group.

Returns:
the repeating group of this activation.

compare repeating group.

Parameters:
rGroupthe repeating group to compare
Returns:
OFTrue if the activation matches the passed repeating group, OFFalse otherwise.
OFCondition DVPSOverlayCurveActivationLayer::read ( DcmItem dset,
Uint16  ovGroup 
)

reads the activation layer for the specified repeating group from a DICOM dataset.

The DICOM elements of the Overlay/Curve Activation Layer module are copied from the dataset to this object. The completeness of the module is checked. If this method returns an error code, the object is in undefined state afterwards.

Parameters:
dsetthe DICOM dataset from which the activation layer is to be read
ovGroupthe the repeating group to be read
Returns:
EC_Normal if successful, an error code otherwise.

set activation layer name of this activation.

Parameters:
aLayera pointer to the activation layer name, which is copied into this object.

set repeating group of this activation.

Parameters:
rGroupthe repeating group

writes the activation layer managed by this object to a DICOM dataset.

Copies of the DICOM elements managed by this object are inserted into the DICOM dataset.

Parameters:
dsetthe DICOM dataset to which the activation layer is written
Returns:
EC_Normal if successful, an error code otherwise.

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027