DCMTK  Version 3.6.6
OFFIS DICOM Toolkit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DVPSOverlayCurveActivationLayer Class Reference

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

Public Member Functions

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

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()

DVPSOverlayCurveActivationLayer* DVPSOverlayCurveActivationLayer::clone ( )
inline

clone method.

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

◆ getActivationLayer()

const char* DVPSOverlayCurveActivationLayer::getActivationLayer ( )

get activation layer name.

Returns
a pointer to the activation layer name (might be NULL)

◆ getRepeatingGroup()

Uint16 DVPSOverlayCurveActivationLayer::getRepeatingGroup ( )

get repeating group.

Returns
the repeating group of this activation.

◆ isRepeatingGroup()

OFBool DVPSOverlayCurveActivationLayer::isRepeatingGroup ( Uint16  rGroup)

compare repeating group.

Parameters
rGroupthe repeating group to compare
Returns
OFTrue if the activation matches the passed repeating group, OFFalse otherwise.

◆ read()

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.

◆ setActivationLayer()

void DVPSOverlayCurveActivationLayer::setActivationLayer ( const char *  aLayer)

set activation layer name of this activation.

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

◆ setRepeatingGroup()

void DVPSOverlayCurveActivationLayer::setRepeatingGroup ( Uint16  rGroup)

set repeating group of this activation.

Parameters
rGroupthe repeating group

◆ write()

OFCondition DVPSOverlayCurveActivationLayer::write ( DcmItem dset)

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 Thu Jan 14 2021 for DCMTK Version 3.6.6 by Doxygen 1.8.18