#include <ImgCodecOhc.h>
|
| ImgEncoderOhc () |
|
| ImgEncoderOhc (const std::string &_fname) |
|
| ImgEncoderOhc (const std::string &_fname, const ohcHeader &_Header) |
|
virtual | ~ImgEncoderOhc () |
|
void | initOHCheader () |
|
void | setNumOfPixel (const uint _pxNumX, const uint _pxNumY) |
|
void | setNumOfPixel (const ivec2 _pxNum) |
|
void | setPixelPitch (const double _pxPitchX, const double _pxPitchY, const LenUnit unit=LenUnit::m) |
|
void | setPixelPitch (const vec2 _pxPitch, const LenUnit unit=LenUnit::m) |
|
void | setNumOfWavlen (const uint n_wavlens) |
|
void | setWavelength (const Real _wavlen, const LenUnit _unit=LenUnit::m) |
|
void | setColorType (const ColorType _clrType) |
|
void | setColorArrange (const ColorArran _clrArrange) |
|
void | setUnitOfWavlen (const LenUnit unit) |
|
void | setFieldEncoding (const FldStore _fldStore, const FldCodeType _fldCodeType) |
|
void | setPhaseEncoding (const BPhaseCode _bPhaseCode, const double _phaseCodeMin, const double _phaseCodeMax) |
|
void | setPhaseEncoding (const BPhaseCode _bPhaseCode, const vec2 _phaseCodeRange) |
|
void | addWavelengthNComplexFieldData (const Real wavlen, const OphComplexField &data) |
|
void | addComplexFieldData (const OphComplexField &data) |
|
void | addComplexFieldData (const Complex< Real > *data) |
|
void | addWavelength (const Real wavlen) |
|
void | clearWavelength () |
|
bool | save () |
|
| ImgCodecOhc () |
|
| ImgCodecOhc (const std::string &_fname) |
|
| ImgCodecOhc (const std::string &_fname, const oph::ohcHeader &_Header) |
|
virtual | ~ImgCodecOhc ()=0 |
|
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) |
|
Definition at line 132 of file ImgCodecOhc.h.
◆ ImgEncoderOhc() [1/3]
oph::ImgEncoderOhc::ImgEncoderOhc |
( |
| ) |
|
◆ ImgEncoderOhc() [2/3]
oph::ImgEncoderOhc::ImgEncoderOhc |
( |
const std::string & |
_fname | ) |
|
◆ ImgEncoderOhc() [3/3]
oph::ImgEncoderOhc::ImgEncoderOhc |
( |
const std::string & |
_fname, |
|
|
const ohcHeader & |
_Header |
|
) |
| |
◆ ~ImgEncoderOhc()
oph::ImgEncoderOhc::~ImgEncoderOhc |
( |
| ) |
|
|
virtual |
◆ addComplexFieldData() [1/2]
void oph::ImgEncoderOhc::addComplexFieldData |
( |
const OphComplexField & |
data | ) |
|
◆ addComplexFieldData() [2/2]
void oph::ImgEncoderOhc::addComplexFieldData |
( |
const Complex< Real > * |
data | ) |
|
◆ addWavelength()
void oph::ImgEncoderOhc::addWavelength |
( |
const Real |
wavlen | ) |
|
◆ addWavelengthNComplexFieldData()
void oph::ImgEncoderOhc::addWavelengthNComplexFieldData |
( |
const Real |
wavlen, |
|
|
const OphComplexField & |
data |
|
) |
| |
◆ clearWavelength()
void oph::ImgEncoderOhc::clearWavelength |
( |
| ) |
|
◆ encodeFieldData()
uint64_t oph::ImgEncoderOhc::encodeFieldData |
( |
| ) |
|
|
protected |
◆ initOHCheader()
void oph::ImgEncoderOhc::initOHCheader |
( |
| ) |
|
|
virtual |
◆ save()
bool oph::ImgEncoderOhc::save |
( |
| ) |
|
◆ setColorArrange()
void oph::ImgEncoderOhc::setColorArrange |
( |
const ColorArran |
_clrArrange | ) |
|
◆ setColorType()
void oph::ImgEncoderOhc::setColorType |
( |
const ColorType |
_clrType | ) |
|
◆ setFieldEncoding()
void oph::ImgEncoderOhc::setFieldEncoding |
( |
const FldStore |
_fldStore, |
|
|
const FldCodeType |
_fldCodeType |
|
) |
| |
◆ setNumOfPixel() [1/2]
void oph::ImgEncoderOhc::setNumOfPixel |
( |
const uint |
_pxNumX, |
|
|
const uint |
_pxNumY |
|
) |
| |
◆ setNumOfPixel() [2/2]
void oph::ImgEncoderOhc::setNumOfPixel |
( |
const ivec2 |
_pxNum | ) |
|
◆ setNumOfWavlen()
void oph::ImgEncoderOhc::setNumOfWavlen |
( |
const uint |
n_wavlens | ) |
|
◆ setPhaseEncoding() [1/2]
void oph::ImgEncoderOhc::setPhaseEncoding |
( |
const BPhaseCode |
_bPhaseCode, |
|
|
const double |
_phaseCodeMin, |
|
|
const double |
_phaseCodeMax |
|
) |
| |
◆ setPhaseEncoding() [2/2]
void oph::ImgEncoderOhc::setPhaseEncoding |
( |
const BPhaseCode |
_bPhaseCode, |
|
|
const vec2 |
_phaseCodeRange |
|
) |
| |
◆ setPixelPitch() [1/2]
void oph::ImgEncoderOhc::setPixelPitch |
( |
const double |
_pxPitchX, |
|
|
const double |
_pxPitchY, |
|
|
const LenUnit |
unit = LenUnit::m |
|
) |
| |
◆ setPixelPitch() [2/2]
◆ setUnitOfWavlen()
void oph::ImgEncoderOhc::setUnitOfWavlen |
( |
const LenUnit |
unit | ) |
|
◆ setWavelength()
◆ File
std::ofstream oph::ImgEncoderOhc::File |
|
protected |
The documentation for this class was generated from the following files: