DCMTK  Version 3.6.6
OFFIS DICOM Toolkit
Public Member Functions | Protected Member Functions | List of all members
I2DOutputPlugNewSC Class Reference
+ Inheritance diagram for I2DOutputPlugNewSC:

Public Member Functions

 I2DOutputPlugNewSC ()
 Constructor, initializes member variables with standard values. More...
 
virtual OFString ident ()
 Virtual function that returns a short name of the plugin. More...
 
virtual void supportedSOPClassUIDs (OFList< OFString > &suppSOPs)
 Overwrites function from base class. More...
 
virtual OFCondition convert (DcmDataset &dataset) const
 Outputs SOP class specific information into dataset. More...
 
virtual OFString isValid (DcmDataset &dataset) const
 Do some completeness / validity checks. More...
 
virtual ~I2DOutputPlugNewSC ()
 Virtual Destructor, clean up memory. More...
 
- Public Member Functions inherited from I2DOutputPlug
 I2DOutputPlug ()
 Constructor, initializes member variables. More...
 
virtual ~I2DOutputPlug ()
 Destructor. More...
 
virtual void setValidityChecking (OFBool doChecks, OFBool insertMissingType2=OFTrue, OFBool inventMissingType1=OFTrue)
 Enable/Disable basic validity checks for output dataset. More...
 

Protected Member Functions

virtual OFCondition insertMultiFrameAttribs (DcmDataset *targetDataset) const
 Inserts attributes for Multi-frame Module. More...
 
virtual OFCondition insertSCMultiFrameAttribs (DcmDataset *targetDataset) const
 Inserts attributes Rescale Slope/Intercept/Type, which have to be written (1C) if color model is MONOCHROME2 and BitsStored > 1. More...
 
virtual OFCondition handle1BitSC (DcmDataset *dataset) const
 Checks whether Image Pixel module attributes conform to the specification of a a 1 bit Secondary Capture object. More...
 
virtual OFCondition handle8BitSC (DcmDataset *dataset) const
 Checks whether Image Pixel module attributes conform to the specification of a a 8 bit Secondary Capture object. More...
 
virtual OFCondition handle16BitSC (DcmDataset *dataset) const
 Checks whether Image Pixel module attributes conform to the specification of a a 16 bit Secondary Capture object. More...
 
- Protected Member Functions inherited from I2DOutputPlug
virtual OFString checkAndInventType1Attrib (const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const
 Checks whether a given tag exists in a dataset and provides a non-empty value. More...
 
virtual OFString checkAndInventType2Attrib (const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const
 Checks whether a given tag exists in a dataset (can be empty) If not, the tag is inserted (if enabled) with empty value. More...
 

Additional Inherited Members

- Protected Attributes inherited from I2DOutputPlug
OFBool m_doAttribChecking
 if enabled, some simple attribute checking is performed default: enabled (OFTrue)
 
OFBool m_inventMissingType2Attribs
 if enabled, missing type 2 attributes in the dataset are added automatically. More...
 
OFBool m_inventMissingType1Attribs
 if enbled, missing type 1 attributes are inserted and filled with a predefined value. More...
 

Constructor & Destructor Documentation

◆ I2DOutputPlugNewSC()

I2DOutputPlugNewSC::I2DOutputPlugNewSC ( )

Constructor, initializes member variables with standard values.

Returns
none

◆ ~I2DOutputPlugNewSC()

virtual I2DOutputPlugNewSC::~I2DOutputPlugNewSC ( )
virtual

Virtual Destructor, clean up memory.

Returns
none

Member Function Documentation

◆ convert()

virtual OFCondition I2DOutputPlugNewSC::convert ( DcmDataset dataset) const
virtual

Outputs SOP class specific information into dataset.

Parameters
dataset- [in/out] Dataset to write to
Returns
EC_Normal if successful, error otherwise

Implements I2DOutputPlug.

◆ handle16BitSC()

virtual OFCondition I2DOutputPlugNewSC::handle16BitSC ( DcmDataset dataset) const
protectedvirtual

Checks whether Image Pixel module attributes conform to the specification of a a 16 bit Secondary Capture object.

Parameters
dataset- [in] The dataset to check
Returns
EC_Normal, if everything is fine, error code otherwise

◆ handle1BitSC()

virtual OFCondition I2DOutputPlugNewSC::handle1BitSC ( DcmDataset dataset) const
protectedvirtual

Checks whether Image Pixel module attributes conform to the specification of a a 1 bit Secondary Capture object.

Parameters
dataset- [in] The dataset to check
Returns
EC_Normal, if everything is fine, error code otherwise

◆ handle8BitSC()

virtual OFCondition I2DOutputPlugNewSC::handle8BitSC ( DcmDataset dataset) const
protectedvirtual

Checks whether Image Pixel module attributes conform to the specification of a a 8 bit Secondary Capture object.

Parameters
dataset- [in] The dataset to check
Returns
EC_Normal, if everything is fine, error code otherwise

◆ ident()

virtual OFString I2DOutputPlugNewSC::ident ( )
virtual

Virtual function that returns a short name of the plugin.

Returns
The name of the plugin

Implements I2DOutputPlug.

◆ insertMultiFrameAttribs()

virtual OFCondition I2DOutputPlugNewSC::insertMultiFrameAttribs ( DcmDataset targetDataset) const
protectedvirtual

Inserts attributes for Multi-frame Module.

Parameters
targetDataset- [in/out] The dataset to write to
Returns
EC_Normal if insertion was successfull, error code otherwise

◆ insertSCMultiFrameAttribs()

virtual OFCondition I2DOutputPlugNewSC::insertSCMultiFrameAttribs ( DcmDataset targetDataset) const
protectedvirtual

Inserts attributes Rescale Slope/Intercept/Type, which have to be written (1C) if color model is MONOCHROME2 and BitsStored > 1.

Parameters
targetDataset- [out] The dataset to write to
Returns
EC_Normal if insertion was successfull, error code otherwise

◆ isValid()

virtual OFString I2DOutputPlugNewSC::isValid ( DcmDataset dataset) const
virtual

Do some completeness / validity checks.

Should be called when dataset is completed and is about to be saved.

Parameters
dataset- [in] The dataset to check
Returns
Error string if error occurs, empty string otherwise

Implements I2DOutputPlug.

◆ supportedSOPClassUIDs()

virtual void I2DOutputPlugNewSC::supportedSOPClassUIDs ( OFList< OFString > &  suppSOPs)
virtual

Overwrites function from base class.

Returns the Storage SOP class written by this plugin

Parameters
suppSOPs- [out] List of UIDs representing the supported SOP classes supported by this plugin.
Returns
none

Implements I2DOutputPlug.


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