DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
DPMParametricMapIOD::Frames< PixelType > Class Template Reference

Inner class that offers typed interface to bulk data. More...

Public Types

typedef PixelType pixel_type
 Binary pixel type.
 

Public Member Functions

OFCondition addFrame (PixelType *data, const size_t numPixels, const OFVector< FGBase * > &perFrameInformation)
 Method that adds a frame to the Parametric Map using the underlying binary data type. More...
 
PixelType * getFrame (const size_t frameNumber)
 Type-specific getFrame() method that returns Float32, Uint16, or whatever is used in this Parametric Map. More...
 

Private Member Functions

 Frames (DPMParametricMapIOD &map)
 Create Frames object in DPMParametricMapIOD (see friend declaration above) More...
 

Private Attributes

DPMParametricMapIODm_Map
 Reference to Parametric Map object in order to access its pixel data.
 

Friends

class DPMParametricMapIOD
 

Detailed Description

template<typename PixelType>
class DPMParametricMapIOD::Frames< PixelType >

Inner class that offers typed interface to bulk data.

Constructor & Destructor Documentation

template<typename PixelType>
DPMParametricMapIOD::Frames< PixelType >::Frames ( DPMParametricMapIOD map)
private

Create Frames object in DPMParametricMapIOD (see friend declaration above)

Parameters
mapThe map object that will contain the frames

Member Function Documentation

template<typename PixelType>
OFCondition DPMParametricMapIOD::Frames< PixelType >::addFrame ( PixelType *  data,
const size_t  numPixels,
const OFVector< FGBase * > &  perFrameInformation 
)

Method that adds a frame to the Parametric Map using the underlying binary data type.

Parameters
dataThe frame data
numPixelsThe number of pixels (rows * columns) of the frame
perFrameInformationThe per-frame functional groups applying for
Returns
EC_Normal if adding was successful, error otherwise
template<typename PixelType>
PixelType* DPMParametricMapIOD::Frames< PixelType >::getFrame ( const size_t  frameNumber)

Type-specific getFrame() method that returns Float32, Uint16, or whatever is used in this Parametric Map.

Parameters
frameNumberThe frame number to get, starting from 0
Returns
Pointer to typed pixel data

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


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8