Openholo  v4.2
Open Source Digital Holographic Library
oph::ImgCodecOhc Class Referenceabstract

#include <ImgCodecOhc.h>

Inheritance diagram for oph::ImgCodecOhc:
Collaboration diagram for oph::ImgCodecOhc:

Public Member Functions

 ImgCodecOhc ()
 
 ImgCodecOhc (const std::string &_fname)
 
 ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header)
 
virtual ~ImgCodecOhc ()=0
 
virtual void initOHCheader ()
 
virtual void releaseFldData ()
 
void releaseOHCheader ()
 
void releaseCodeBuffer ()
 
bool setFileName (const std::string &_fname)
 
bool setOHCheader (const oph::ohcHeader &_Header)
 
void getOHCheader (oph::ohcHeader &_Header)
 
void getFieldInfo (oph::ohcFieldInfoHeader &_FieldInfo, std::vector< double_t > &_wavlenTable)
 
void getComplexFieldData (OphComplexField &cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (Complex< Real > **cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (OphComplexField **cmplx_field)
 
void getComplexFieldData (Complex< Real > ***cmplx_field)
 
 ImgCodecOhc ()
 
 ImgCodecOhc (const std::string &_fname)
 
 ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header)
 
virtual ~ImgCodecOhc ()=0
 
virtual void initOHCheader ()
 
virtual void releaseFldData ()
 
void releaseOHCheader ()
 
void releaseCodeBuffer ()
 
bool setFileName (const std::string &_fname)
 
bool setOHCheader (const oph::ohcHeader &_Header)
 
void getOHCheader (oph::ohcHeader &_Header)
 
void getFieldInfo (oph::ohcFieldInfoHeader &_FieldInfo, std::vector< double_t > &_wavlenTable)
 
void getComplexFieldData (OphComplexField &cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (Complex< Real > **cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (OphComplexField **cmplx_field)
 
void getComplexFieldData (Complex< Real > ***cmplx_field)
 
 ImgCodecOhc ()
 
 ImgCodecOhc (const std::string &_fname)
 
 ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header)
 
virtual ~ImgCodecOhc ()=0
 
virtual void initOHCheader ()
 
virtual void releaseFldData ()
 
void releaseOHCheader ()
 
void releaseCodeBuffer ()
 
bool setFileName (const std::string &_fname)
 
bool setOHCheader (const oph::ohcHeader &_Header)
 
void getOHCheader (oph::ohcHeader &_Header)
 
void getFieldInfo (oph::ohcFieldInfoHeader &_FieldInfo, std::vector< double_t > &_wavlenTable)
 
void getComplexFieldData (OphComplexField &cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (Complex< Real > **cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (OphComplexField **cmplx_field)
 
void getComplexFieldData (Complex< Real > ***cmplx_field)
 
 ImgCodecOhc ()
 
 ImgCodecOhc (const std::string &_fname)
 
 ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header)
 
virtual ~ImgCodecOhc ()=0
 
virtual void initOHCheader ()
 
virtual void releaseFldData ()
 
void releaseOHCheader ()
 
void releaseCodeBuffer ()
 
bool setFileName (const std::string &_fname)
 
bool setOHCheader (const oph::ohcHeader &_Header)
 
void getOHCheader (oph::ohcHeader &_Header)
 
void getFieldInfo (oph::ohcFieldInfoHeader &_FieldInfo, std::vector< double_t > &_wavlenTable)
 
void getComplexFieldData (OphComplexField &cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (Complex< Real > **cmplx_field, uint wavelen_idx)
 
void getComplexFieldData (OphComplexField **cmplx_field)
 
void getComplexFieldData (Complex< Real > ***cmplx_field)
 

Protected Attributes

std::string fname
 
float * buf_f32 = nullptr
 
double * buf_f64 = nullptr
 
std::vector< OphComplexFieldfield_cmplx
 
std::vector< std::string > linkFilePath
 
oph::ohcHeaderHeader = nullptr
 

Detailed Description

Definition at line 57 of file ImgCodecOhc.h.

Constructor & Destructor Documentation

◆ ImgCodecOhc() [1/12]

oph::ImgCodecOhc::ImgCodecOhc ( )

Definition at line 62 of file ImgCodecOhc.cpp.

◆ ImgCodecOhc() [2/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname)

Definition at line 72 of file ImgCodecOhc.cpp.

◆ ImgCodecOhc() [3/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname,
const oph::ohcHeader _Header 
)

Definition at line 77 of file ImgCodecOhc.cpp.

◆ ~ImgCodecOhc() [1/4]

oph::ImgCodecOhc::~ImgCodecOhc ( )
pure virtual

Definition at line 66 of file ImgCodecOhc.cpp.

◆ ImgCodecOhc() [4/12]

oph::ImgCodecOhc::ImgCodecOhc ( )

◆ ImgCodecOhc() [5/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname)

◆ ImgCodecOhc() [6/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname,
const oph::ohcHeader _Header 
)

◆ ~ImgCodecOhc() [2/4]

virtual oph::ImgCodecOhc::~ImgCodecOhc ( )
pure virtual

◆ ImgCodecOhc() [7/12]

oph::ImgCodecOhc::ImgCodecOhc ( )

◆ ImgCodecOhc() [8/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname)

◆ ImgCodecOhc() [9/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname,
const oph::ohcHeader _Header 
)

◆ ~ImgCodecOhc() [3/4]

virtual oph::ImgCodecOhc::~ImgCodecOhc ( )
pure virtual

◆ ImgCodecOhc() [10/12]

oph::ImgCodecOhc::ImgCodecOhc ( )

◆ ImgCodecOhc() [11/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname)

◆ ImgCodecOhc() [12/12]

oph::ImgCodecOhc::ImgCodecOhc ( const std::string &  _fname,
const oph::ohcHeader _Header 
)

◆ ~ImgCodecOhc() [4/4]

virtual oph::ImgCodecOhc::~ImgCodecOhc ( )
pure virtual

Member Function Documentation

◆ getComplexFieldData() [1/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField cmplx_field,
uint  wavelen_idx 
)
inline

Definition at line 74 of file ImgCodecOhc.h.

◆ getComplexFieldData() [2/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField cmplx_field,
uint  wavelen_idx 
)
inline

Definition at line 74 of file ImgCodecOhc.h.

◆ getComplexFieldData() [3/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField cmplx_field,
uint  wavelen_idx 
)
inline

Definition at line 74 of file ImgCodecOhc.h.

◆ getComplexFieldData() [4/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField cmplx_field,
uint  wavelen_idx 
)
inline

Definition at line 74 of file ImgCodecOhc.h.

◆ getComplexFieldData() [5/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > **  cmplx_field,
uint  wavelen_idx 
)

◆ getComplexFieldData() [6/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > **  cmplx_field,
uint  wavelen_idx 
)

Definition at line 125 of file ImgCodecOhc.cpp.

◆ getComplexFieldData() [7/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > **  cmplx_field,
uint  wavelen_idx 
)

◆ getComplexFieldData() [8/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > **  cmplx_field,
uint  wavelen_idx 
)

◆ getComplexFieldData() [9/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField **  cmplx_field)

◆ getComplexFieldData() [10/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField **  cmplx_field)

◆ getComplexFieldData() [11/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField **  cmplx_field)

Definition at line 130 of file ImgCodecOhc.cpp.

◆ getComplexFieldData() [12/16]

void oph::ImgCodecOhc::getComplexFieldData ( OphComplexField **  cmplx_field)

◆ getComplexFieldData() [13/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > ***  cmplx_field)

◆ getComplexFieldData() [14/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > ***  cmplx_field)

Definition at line 142 of file ImgCodecOhc.cpp.

◆ getComplexFieldData() [15/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > ***  cmplx_field)

◆ getComplexFieldData() [16/16]

void oph::ImgCodecOhc::getComplexFieldData ( Complex< Real > ***  cmplx_field)

◆ getFieldInfo() [1/4]

void oph::ImgCodecOhc::getFieldInfo ( oph::ohcFieldInfoHeader _FieldInfo,
std::vector< double_t > &  _wavlenTable 
)

◆ getFieldInfo() [2/4]

void oph::ImgCodecOhc::getFieldInfo ( oph::ohcFieldInfoHeader _FieldInfo,
std::vector< double_t > &  _wavlenTable 
)

◆ getFieldInfo() [3/4]

void oph::ImgCodecOhc::getFieldInfo ( oph::ohcFieldInfoHeader _FieldInfo,
std::vector< double_t > &  _wavlenTable 
)

◆ getFieldInfo() [4/4]

void oph::ImgCodecOhc::getFieldInfo ( oph::ohcFieldInfoHeader _FieldInfo,
std::vector< double_t > &  _wavlenTable 
)

Definition at line 116 of file ImgCodecOhc.cpp.

◆ getOHCheader() [1/4]

void oph::ImgCodecOhc::getOHCheader ( oph::ohcHeader _Header)

Definition at line 109 of file ImgCodecOhc.cpp.

◆ getOHCheader() [2/4]

void oph::ImgCodecOhc::getOHCheader ( oph::ohcHeader _Header)

◆ getOHCheader() [3/4]

void oph::ImgCodecOhc::getOHCheader ( oph::ohcHeader _Header)

◆ getOHCheader() [4/4]

void oph::ImgCodecOhc::getOHCheader ( oph::ohcHeader _Header)

◆ initOHCheader() [1/4]

virtual void oph::ImgCodecOhc::initOHCheader ( )
virtual

◆ initOHCheader() [2/4]

void oph::ImgCodecOhc::initOHCheader ( )
virtual

Reimplemented in oph::ImgEncoderOhc, oph::ImgEncoderOhc, oph::ImgEncoderOhc, and oph::ImgEncoderOhc.

Definition at line 83 of file ImgCodecOhc.cpp.

◆ initOHCheader() [3/4]

virtual void oph::ImgCodecOhc::initOHCheader ( )
virtual

◆ initOHCheader() [4/4]

virtual void oph::ImgCodecOhc::initOHCheader ( )
virtual

◆ releaseCodeBuffer() [1/4]

void oph::ImgCodecOhc::releaseCodeBuffer ( )

◆ releaseCodeBuffer() [2/4]

void oph::ImgCodecOhc::releaseCodeBuffer ( )

Definition at line 158 of file ImgCodecOhc.cpp.

◆ releaseCodeBuffer() [3/4]

void oph::ImgCodecOhc::releaseCodeBuffer ( )

◆ releaseCodeBuffer() [4/4]

void oph::ImgCodecOhc::releaseCodeBuffer ( )

◆ releaseFldData() [1/4]

void oph::ImgCodecOhc::releaseFldData ( )
virtual

Reimplemented in oph::ImgDecoderOhc, oph::ImgDecoderOhc, oph::ImgDecoderOhc, and oph::ImgDecoderOhc.

Definition at line 170 of file ImgCodecOhc.cpp.

◆ releaseFldData() [2/4]

virtual void oph::ImgCodecOhc::releaseFldData ( )
virtual

◆ releaseFldData() [3/4]

virtual void oph::ImgCodecOhc::releaseFldData ( )
virtual

◆ releaseFldData() [4/4]

virtual void oph::ImgCodecOhc::releaseFldData ( )
virtual

◆ releaseOHCheader() [1/4]

void oph::ImgCodecOhc::releaseOHCheader ( )

◆ releaseOHCheader() [2/4]

void oph::ImgCodecOhc::releaseOHCheader ( )

◆ releaseOHCheader() [3/4]

void oph::ImgCodecOhc::releaseOHCheader ( )

Definition at line 151 of file ImgCodecOhc.cpp.

◆ releaseOHCheader() [4/4]

void oph::ImgCodecOhc::releaseOHCheader ( )

◆ setFileName() [1/4]

bool oph::ImgCodecOhc::setFileName ( const std::string &  _fname)

◆ setFileName() [2/4]

bool oph::ImgCodecOhc::setFileName ( const std::string &  _fname)

◆ setFileName() [3/4]

bool oph::ImgCodecOhc::setFileName ( const std::string &  _fname)

Definition at line 92 of file ImgCodecOhc.cpp.

◆ setFileName() [4/4]

bool oph::ImgCodecOhc::setFileName ( const std::string &  _fname)

◆ setOHCheader() [1/4]

bool oph::ImgCodecOhc::setOHCheader ( const oph::ohcHeader _Header)

◆ setOHCheader() [2/4]

bool oph::ImgCodecOhc::setOHCheader ( const oph::ohcHeader _Header)

◆ setOHCheader() [3/4]

bool oph::ImgCodecOhc::setOHCheader ( const oph::ohcHeader _Header)

◆ setOHCheader() [4/4]

bool oph::ImgCodecOhc::setOHCheader ( const oph::ohcHeader _Header)

Definition at line 98 of file ImgCodecOhc.cpp.

Member Data Documentation

◆ buf_f32

float * oph::ImgCodecOhc::buf_f32 = nullptr
protected

Definition at line 84 of file ImgCodecOhc.h.

◆ buf_f64

double * oph::ImgCodecOhc::buf_f64 = nullptr
protected

Definition at line 85 of file ImgCodecOhc.h.

◆ field_cmplx

std::vector< OphComplexField > oph::ImgCodecOhc::field_cmplx
protected

Definition at line 86 of file ImgCodecOhc.h.

◆ fname

std::string oph::ImgCodecOhc::fname
protected

Definition at line 82 of file ImgCodecOhc.h.

◆ Header

oph::ohcHeader * oph::ImgCodecOhc::Header = nullptr
protected

Definition at line 89 of file ImgCodecOhc.h.

◆ linkFilePath

std::vector< std::string > oph::ImgCodecOhc::linkFilePath
protected

Definition at line 87 of file ImgCodecOhc.h.


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