IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Attributes | List of all members
ipsdk::imaproc::YStrip2dData< T > Class Template Reference

Class encapsulating y strip 2d data used to process plans associated to z strip 3d with kernel. More...

#include <YStrip2dData.h>

Inheritance diagram for ipsdk::imaproc::YStrip2dData< T >:

Public Types

typedef boost::shared_ptr< BaseBorder3d< T > > Border3dPtr
 associated boder preparator shared pointer type
 

Public Member Functions

bool isInit () const
 check for object initialization
 
void init (const Parser3dInfo< T > &info, const Border3dPtr &pBorder3d)
 initialization of object
 
void setPlanData (const Parser3dInfo< T > &info, const ipUInt64 stripPlanIdx)
 setup of plan data given a z plan index More...
 
bool isPlanDataSet () const
 check whether plan data has been set More...
 
void updateToInitialData ()
 update processed data to initial data
 
void updateToMainData ()
 update processed data to main data
 
void updateToFinalData ()
 update processed data to final data
 
ipUInt64 getBufferSize () const
 retrieve buffer size associated to current operation (number of elements for given buffer type) More...
 
const void * getSafeBuffer (const ipUInt64 rowIdx) const
 access buffer associated to current operation More...
 
const void * getBuffer (const ipUInt64 rowIdx) const
 access buffer associated to current operation More...
 
Constructors and destructors
 YStrip2dData ()
 
 ~YStrip2dData ()
 

Protected Attributes

FragHybridBuffer_pCurDataBuffer
 pointer to buffer associated to data currently processed
 
FragHybridBufferPtr _pInitialColBuffer
 buffer used to store initial columns of data to process
 
FragHybridBufferPtr _pMainColBuffer
 buffer used to store main columns of data to process
 
FragHybridBufferPtr _pFinalColBuffer
 buffer used to store final columns of data to process
 
Border3dPtr _pBorder3d
 object allowing to manage processed strip borders
 
bool _bInit
 object initialization flag
 

Detailed Description

template<typename T>
class ipsdk::imaproc::YStrip2dData< T >

Class encapsulating y strip 2d data used to process plans associated to z strip 3d with kernel.

Author
E.Noirfalise
Date
2015/01/21

Member Function Documentation

◆ setPlanData()

template<typename T >
void ipsdk::imaproc::YStrip2dData< T >::setPlanData ( const Parser3dInfo< T > &  info,
const ipUInt64  stripPlanIdx 
)

setup of plan data given a z plan index

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

◆ isPlanDataSet()

template<typename T >
bool ipsdk::imaproc::YStrip2dData< T >::isPlanDataSet ( ) const

check whether plan data has been set

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

◆ getBufferSize()

template<typename T >
ipUInt64 ipsdk::imaproc::YStrip2dData< T >::getBufferSize ( ) const

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

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

◆ getSafeBuffer()

template<typename T >
const void* ipsdk::imaproc::YStrip2dData< T >::getSafeBuffer ( const ipUInt64  rowIdx) const

access buffer associated to current operation

Exceptions
ipsdk::imaproc::IPSDKImageProcessingExceptionif isPlanDataSet() == false
ipsdk::IPSDKBaseDataExceptionif rowIdx >= getKernelSizeY()

◆ getBuffer()

template<typename T >
const void* ipsdk::imaproc::YStrip2dData< T >::getBuffer ( const ipUInt64  rowIdx) const

access buffer associated to current operation

Warning
their is no check whether plan data has been set nor on row index validity

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