DCMTK Version 3.6.8
OFFIS DICOM Toolkit
|
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 Enhanced CT using the underlying binary data type. More... | |
PixelType * | getFrame (const size_t frameNumber) |
Type-specific getFrame() method that returns Sint16 or Uint16 (whatever is used in this Enhanced CT) More... | |
Private Member Functions | |
Frames (EctEnhancedCT &ct) | |
Create Frames object in EctEnhancedCT (see friend declaration above) More... | |
Private Attributes | |
EctEnhancedCT & | m_CT |
Reference to Enhanced CT object in order to access its pixel data. | |
Friends | |
class | EctEnhancedCT |
Make sure the Enhanced CT object (and no one else) can use the constructor below. | |
Inner class that offers typed interface to bulk data.
|
private |
Create Frames object in EctEnhancedCT (see friend declaration above)
ct | The CT object that will contain the frames |
OFCondition EctEnhancedCT::Frames< PixelType >::addFrame | ( | PixelType * | data, |
const size_t | numPixels, | ||
const OFVector< FGBase * > & | perFrameInformation | ||
) |
Method that adds a frame to the Enhanced CT using the underlying binary data type.
data | The frame data |
numPixels | The number of pixels (rows * columns) of the frame |
perFrameInformation | The per-frame functional groups applying for |
PixelType * EctEnhancedCT::Frames< PixelType >::getFrame | ( | const size_t | frameNumber | ) |
Type-specific getFrame() method that returns Sint16 or Uint16 (whatever is used in this Enhanced CT)
frameNumber | The frame number to get, starting from 0 |