Loading...
Searching...
No Matches
te::map::RasterTransform::BandBufferInfo Class Reference

#include <RasterTransform.h>

Public Member Functions

 BandBufferInfo (const int bandDataType, const int width, const int height, void *buffer, const RasterTransform::ChannelDomain domain)
 
void getValue (const unsigned int c, const unsigned int r, double &value) const
 
 ~BandBufferInfo ()
 

Protected Types

typedef void(BandBufferInfo::* ChannelDomainGetFunction) (const unsigned int c, const unsigned int r, double &value) const
 

Protected Member Functions

void getImaginaryValueChannelDomainGetFunction (const unsigned int c, const unsigned int r, double &value) const
 
void getRealValueChannelDomainGetFunction (const unsigned int c, const unsigned int r, double &value) const
 
void getSQRTChannelDomainGetFunction (const unsigned int c, const unsigned int r, double &value) const
 

Protected Attributes

double m_auxImagValue
 
double m_auxRealValue
 
void * m_buffer
 
BandBufferInfo::ChannelDomainGetFunction m_channelDomainGetFuncPtr
 Function used to get raster data from the selected domain (real/imaginary).
 
int m_dataType
 
te::rst::GetBufferValueFPtr m_getBuff
 A pointer to a function that helps to extract a double or complex value from a specific buffer data type (char, int16, int32, float, ...).
 
te::rst::GetBufferValueFPtr m_getBuffI
 A pointer to a function that helps to extract the imaginary part value from a specific buffer data type (cint16, cint32, cfloat, cdouble).
 
int m_height
 
te::rst::SetBufferValueFPtr m_setBuff
 A pointer to a function that helps to insert a double or complex value into a specific buffer data type (char, int16, int32, float, ...).
 
te::rst::SetBufferValueFPtr m_setBuffI
 A pointer to a function that helps to insert the imaginary part value into a specific buffer data type (cint16, cint32, cfloat, cdouble).
 
int m_width
 

Detailed Description

Definition at line 318 of file RasterTransform.h.

Member Typedef Documentation

◆ ChannelDomainGetFunction

typedef void(BandBufferInfo::* te::map::RasterTransform::BandBufferInfo::ChannelDomainGetFunction) (const unsigned int c, const unsigned int r, double &value) const
protected

Definition at line 365 of file RasterTransform.h.

Constructor & Destructor Documentation

◆ BandBufferInfo()

◆ ~BandBufferInfo()

te::map::RasterTransform::BandBufferInfo::~BandBufferInfo ( )
inline

Definition at line 357 of file RasterTransform.h.

References m_buffer.

Member Function Documentation

◆ getImaginaryValueChannelDomainGetFunction()

void te::map::RasterTransform::BandBufferInfo::getImaginaryValueChannelDomainGetFunction ( const unsigned int c,
const unsigned int r,
double & value ) const
inlineprotected

Definition at line 389 of file RasterTransform.h.

References m_buffer, m_getBuffI, and m_width.

Referenced by BandBufferInfo().

◆ getRealValueChannelDomainGetFunction()

void te::map::RasterTransform::BandBufferInfo::getRealValueChannelDomainGetFunction ( const unsigned int c,
const unsigned int r,
double & value ) const
inlineprotected

Definition at line 382 of file RasterTransform.h.

References m_buffer, m_getBuff, and m_width.

Referenced by BandBufferInfo().

◆ getSQRTChannelDomainGetFunction()

void te::map::RasterTransform::BandBufferInfo::getSQRTChannelDomainGetFunction ( const unsigned int c,
const unsigned int r,
double & value ) const
inlineprotected

Definition at line 396 of file RasterTransform.h.

References m_auxImagValue, m_auxRealValue, m_buffer, m_getBuff, m_getBuffI, and m_width.

Referenced by BandBufferInfo().

◆ getValue()

void te::map::RasterTransform::BandBufferInfo::getValue ( const unsigned int c,
const unsigned int r,
double & value ) const
inline

Definition at line 351 of file RasterTransform.h.

References m_channelDomainGetFuncPtr.

Member Data Documentation

◆ m_auxImagValue

double te::map::RasterTransform::BandBufferInfo::m_auxImagValue
mutableprotected

Definition at line 373 of file RasterTransform.h.

Referenced by getSQRTChannelDomainGetFunction().

◆ m_auxRealValue

double te::map::RasterTransform::BandBufferInfo::m_auxRealValue
mutableprotected

Definition at line 372 of file RasterTransform.h.

Referenced by getSQRTChannelDomainGetFunction().

◆ m_buffer

void* te::map::RasterTransform::BandBufferInfo::m_buffer
protected

◆ m_channelDomainGetFuncPtr

BandBufferInfo::ChannelDomainGetFunction te::map::RasterTransform::BandBufferInfo::m_channelDomainGetFuncPtr
protected

Function used to get raster data from the selected domain (real/imaginary).

Definition at line 379 of file RasterTransform.h.

Referenced by BandBufferInfo(), and getValue().

◆ m_dataType

int te::map::RasterTransform::BandBufferInfo::m_dataType
protected

Definition at line 368 of file RasterTransform.h.

Referenced by BandBufferInfo().

◆ m_getBuff

te::rst::GetBufferValueFPtr te::map::RasterTransform::BandBufferInfo::m_getBuff
protected

A pointer to a function that helps to extract a double or complex value from a specific buffer data type (char, int16, int32, float, ...).

Definition at line 375 of file RasterTransform.h.

Referenced by BandBufferInfo(), getRealValueChannelDomainGetFunction(), and getSQRTChannelDomainGetFunction().

◆ m_getBuffI

te::rst::GetBufferValueFPtr te::map::RasterTransform::BandBufferInfo::m_getBuffI
protected

A pointer to a function that helps to extract the imaginary part value from a specific buffer data type (cint16, cint32, cfloat, cdouble).

Definition at line 376 of file RasterTransform.h.

Referenced by BandBufferInfo(), getImaginaryValueChannelDomainGetFunction(), and getSQRTChannelDomainGetFunction().

◆ m_height

int te::map::RasterTransform::BandBufferInfo::m_height
protected

Definition at line 370 of file RasterTransform.h.

Referenced by BandBufferInfo().

◆ m_setBuff

te::rst::SetBufferValueFPtr te::map::RasterTransform::BandBufferInfo::m_setBuff
protected

A pointer to a function that helps to insert a double or complex value into a specific buffer data type (char, int16, int32, float, ...).

Definition at line 377 of file RasterTransform.h.

Referenced by BandBufferInfo().

◆ m_setBuffI

te::rst::SetBufferValueFPtr te::map::RasterTransform::BandBufferInfo::m_setBuffI
protected

A pointer to a function that helps to insert the imaginary part value into a specific buffer data type (cint16, cint32, cfloat, cdouble).

Definition at line 378 of file RasterTransform.h.

Referenced by BandBufferInfo().

◆ m_width

int te::map::RasterTransform::BandBufferInfo::m_width
protected

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