IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType > Class Template Referenceabstract

Base class for raw y strip 3d parsing. More...

#include <BaseRawYStrip3dParser.h>

Inheritance diagram for ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >:
ipsdk::imaproc::BaseStripParser ipsdk::imaproc::BaseImageParser ipsdk::processor::BaseDataParser ipsdk::imaproc::RawYStrip3dParser< T, BaseStripAttributeClassType >

Public Types

typedef BaseStripAttributeClassType::ValueType ValueType
 value type associated to object
 
typedef BaseStripAttributeClassType::StorageType StorageType
 storage type associated to object
 

Public Member Functions

eStripParserType getStripParserType () const
 retrieve strip parser type
 
void init (const StorageType &pImageYStrip3d)
 object initialization method More...
 
ipUInt64 getBufferSize () const
 retrieve buffer size associated to current operation (number of elements for given buffer type) More...
 
ipUInt64 getSizeZ () const
 retrieve number of buffers associated to current operation More...
 
Constructors and destructors
 BaseRawYStrip3dParser ()
 
virtual ~BaseRawYStrip3dParser ()=0
 
template<typename T >
boost::enable_if< typename boost::mpl::not_equal_to< boost::mpl::int_< g_attributeIO >, boost::mpl::int_< eIOStatus::eIOS_Output > >::type, const T * >::type getBuffer (const ipUInt64 zPlanIdx) const
 retrieve buffer associated to current operation More...
 
template<typename T >
boost::enable_if< typename boost::mpl::not_equal_to< boost::mpl::int_< g_attributeIO >, boost::mpl::int_< eIOStatus::eIOS_Input > >::type, T * >::type getBuffer (const ipUInt64 zPlanIdx)
 retrieve buffer associated to current operation More...
 
- Public Member Functions inherited from ipsdk::imaproc::BaseStripParser
eImageParserType getImageParserType () const
 retrieve image parser type
 
 BaseStripParser ()
 
virtual ~BaseStripParser ()=0
 
- Public Member Functions inherited from ipsdk::imaproc::BaseImageParser
processor::eDataParserType getDataParserType () const
 retrieve data parser type
 
 BaseImageParser ()
 
virtual ~BaseImageParser ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDataParser
bool isInit () const
 retrieve object initialization flag
 
bool areDataInit () const
 retrieve data initialization flag More...
 
ipUInt64 getNbInitData () const
 retrieve number of initial data More...
 
ipUInt64 getNbMainData () const
 retrieve number of main data More...
 
ipUInt64 getNbFinalData () const
 retrieve number of final data More...
 
ipUInt64 getNbRealFinalData () const
 retrieve number of real final data (not virtual for alignment purpose only) More...
 
void clear ()
 clear object data
 
 BaseDataParser ()
 
virtual ~BaseDataParser ()=0
 
const eIOStatusgetAttributeIO () const
 retrieve associated attribute input/output status More...
 
ipUInt64 getNbElements () const
 retrieve number of elements associated to object More...
 
ipUInt64 getNbDataByElement () const
 retrieve total number of data by element More...
 
ipUInt64 getNbMinInitData () const
 retrieve minimum number of initial data to be processed More...
 
ipUInt64 getNbMinFinalData () const
 retrieve minimum number of final data to be processed More...
 
ipUInt64 getCurElementIdx () const
 retrieve current element index for iteration process More...
 
ipReal64 getUnAlignedValue () const
 retrieve used value for unaligned data More...
 
void setUnAlignedValue (const ipReal64 unAlignedValue)
 set used value for unaligned data More...
 

Static Public Attributes

static const eIOStatus::domain g_attributeIO = BaseStripAttributeClassType::g_dataIOStatus
 associated attribute Input/Output status
 

Protected Attributes

StorageType _pImageYStrip3d
 shared pointer to y strip 3d
 
image::eStripParsingDirection _stripParsingDirection
 strip parsing direction
 
eDataType _dataType
 base data buffer type associated to input strips
 
ipUInt64 _sizeX
 image size along X axis
 
ipUInt64 _sizeZ
 image size along Z axis
 
ipUInt64 _stripSizeY
 strip size along Y axis
 
FragHybridBufferPtr _pCurDataBuffer
 buffer used to store data currently processed
 
FragHybridBufferPtr _pInitialDataBuffer
 buffer used to store initial data to process
 
FragHybridBufferPtr _pMainDataBuffer
 buffer used to store main data to process
 
FragHybridBufferPtr _pFinalDataBuffer
 buffer used to store final data to process
 

Additional Inherited Members

- Protected Member Functions inherited from ipsdk::processor::BaseDataParser
void initBase (const eIOStatus &attributeIO, const ipUInt64 nbElements, const ipUInt64 nbDataByElement, const ipUInt64 nbMinInitData, const ipUInt64 nbMinFinalData, const ipReal64 unAlignedDefaultValue)
 base class initialization method More...
 
virtual void initDataDerived (const ipUInt64 nbInitData, const ipUInt64 nbMainData, const ipUInt64 nbFinalData, const ipUInt64 nbRealFinalData, const ipReal64 unAlignedValue)=0
 initialize data for processing in derived class
 
virtual void prepareDataDerived (const ipUInt64 elementIdx)=0
 
virtual void syncOutFinalDataDerived ()
 synchronize final output data after processing
 
void initData (const ipUInt64 nbInitData, const ipUInt64 nbMainData, const ipUInt64 nbFinalData, const ipUInt64 nbRealFinalData)
 prepare data for processing for a given element index More...
 
void prepareData (const ipUInt64 elementIdx)
 prepare data for processing for a given element index More...
 

Detailed Description

template<typename BaseStripAttributeClassType>
class ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >

Base class for raw y strip 3d parsing.

Author
E.Noirfalise
Date
2015/01/20

Member Function Documentation

◆ init()

template<typename BaseStripAttributeClassType >
void ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >::init ( const StorageType pImageYStrip3d)

object initialization method

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif pImageYStrip3d.get() == 0
ipsdk::processor::IPSDKBaseProcessingExceptionif pImageYStrip3d->isInit() == false

◆ getBufferSize()

template<typename BaseStripAttributeClassType >
ipUInt64 ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >::getBufferSize ( ) const

retrieve buffer size associated to current operation (number of elements for given buffer type)

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif current operation has not been set

◆ getSizeZ()

template<typename BaseStripAttributeClassType >
ipUInt64 ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >::getSizeZ ( ) const

retrieve number of buffers associated to current operation

Exceptions
ipsdk::imaproc::IPSDKImageProcessingExceptionif isInit() == false

◆ getBuffer() [1/2]

template<typename BaseStripAttributeClassType >
template<typename T >
boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<g_attributeIO>, boost::mpl::int_<eIOStatus::eIOS_Output> >::type, const T*>::type ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >::getBuffer ( const ipUInt64  zPlanIdx) const
inline

retrieve buffer associated to current operation

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif current operation has not been set
ipsdk::imaproc::IPSDKImageProcessingExceptionif zPlanIdx >= getSizeZ()

◆ getBuffer() [2/2]

template<typename BaseStripAttributeClassType >
template<typename T >
boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<g_attributeIO>, boost::mpl::int_<eIOStatus::eIOS_Input> >::type, T*>::type ipsdk::imaproc::BaseRawYStrip3dParser< BaseStripAttributeClassType >::getBuffer ( const ipUInt64  zPlanIdx)
inline

retrieve buffer associated to current operation

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif current operation has not been set
ipsdk::imaproc::IPSDKImageProcessingExceptionif zPlanIdx >= getSizeZ()

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