MeVisLab Toolbox Reference
DCMTree::PixelData Struct Reference

Contains pixel data which is either shared/ref counted or a direct pointer. More...

#include <DCMTree_Lib.h>

Public Member Functions

 PixelData ()
 
 PixelData (const pixel_cont_t &data)
 
 PixelData (const unsigned char *data)
 
 operator bool () const
 
void operator= (const pixel_cont_t &data)
 
void operator= (unsigned char *data)
 
const unsigned charget () const
 

Detailed Description

Contains pixel data which is either shared/ref counted or a direct pointer.

This class was needed to allow passing pointers to both shared memory and direct pointers through various APIs.

Definition at line 105 of file DCMTree_Lib.h.

Constructor & Destructor Documentation

◆ PixelData() [1/3]

DCMTree::PixelData::PixelData ( )
inline

Definition at line 106 of file DCMTree_Lib.h.

◆ PixelData() [2/3]

DCMTree::PixelData::PixelData ( const pixel_cont_t & data)
inline

Definition at line 107 of file DCMTree_Lib.h.

◆ PixelData() [3/3]

DCMTree::PixelData::PixelData ( const unsigned char * data)
inline

Definition at line 108 of file DCMTree_Lib.h.

Member Function Documentation

◆ get()

const unsigned char * DCMTree::PixelData::get ( ) const
inline

Definition at line 124 of file DCMTree_Lib.h.

◆ operator bool()

DCMTree::PixelData::operator bool ( ) const
inline

Definition at line 110 of file DCMTree_Lib.h.

◆ operator=() [1/2]

void DCMTree::PixelData::operator= ( const pixel_cont_t & data)
inline

Definition at line 114 of file DCMTree_Lib.h.

◆ operator=() [2/2]

void DCMTree::PixelData::operator= ( unsigned char * data)
inline

Definition at line 119 of file DCMTree_Lib.h.


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