IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | List of all members
ipsdk::imaproc::SimpleShape3dCollSplit< TProcessor, InputStorageType, TAttribute > Class Template Reference

Concrete class for simple split operation generating sub shape 3d collection. More...

#include <SimpleShape3dCollSplit.h>

Inheritance diagram for ipsdk::imaproc::SimpleShape3dCollSplit< TProcessor, InputStorageType, TAttribute >:
ipsdk::imaproc::BaseSimpleShape3dCollSplit< InputStorageType::element_type > ipsdk::imaproc::BaseShape3dCollSplit< InputStorageType::element_type > ipsdk::processor::BaseDynamicSplit ipsdk::processor::BaseDataSplit

Public Types

typedef TProcessor ProcessorType
 processor type associated to object
 
typedef TAttribute AttributeType
 attribute type associated to object
 
typedef TAttribute::ValueType OutputType
 output data type for split operation
 
typedef InputStorageType::element_type InputDataType
 input data type for split operation
 
- Public Types inherited from ipsdk::imaproc::BaseSimpleShape3dCollSplit< InputStorageType::element_type >
typedef BaseShape3dCollSplit< InputStorageType::element_type >::CollType CollType
 
typedef BaseShape3dCollSplit< InputStorageType::element_type >::ConstCollType ConstCollType
 
- Public Types inherited from ipsdk::imaproc::BaseShape3dCollSplit< InputStorageType::element_type >
typedef InputStorageType::element_type ::CollType CollType
 
typedef InputStorageType::element_type ::ConstCollType ConstCollType
 

Public Member Functions

const std::string & getAttributeName () const
 retrieve attribute name associated to split operation
 
const std::string & getAttributeToolTip () const
 retrieve attribute tooltip associated to split operation
 
void init (const InputStorageType &pShape3dColl)
 initialization method for splitted objects More...
 
Constructors and destructors
 SimpleShape3dCollSplit ()
 
 ~SimpleShape3dCollSplit ()
 
- Public Member Functions inherited from ipsdk::imaproc::BaseSimpleShape3dCollSplit< InputStorageType::element_type >
eShape3dCollSplitType getShape3dCollSplitType () const
 retrieve shape 3d coll split type
 
 BaseSimpleShape3dCollSplit ()
 
virtual ~BaseSimpleShape3dCollSplit ()=0
 
- Public Member Functions inherited from ipsdk::imaproc::BaseShape3dCollSplit< InputStorageType::element_type >
processor::eSplitDynamicType getSplitDynamicType () const
 retrieve dynamic split operation type
 
eImageSplitType getImageSplitType () const
 retrieve image split operation type
 
const ipsdk::shape::segmentation::Shape3dCollgetShape3dColl () const
 retrieve shape 3d collection to be splitted More...
 
 BaseShape3dCollSplit ()
 
virtual ~BaseShape3dCollSplit ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDynamicSplit
eSplitBaseType getSplitBaseType () const
 retrieve split operation base type
 
ipUInt64 getNbMinEltsPerSplit () const
 retrieve minimum number of elements for a split operation More...
 
ipUInt64 getNbMaxEltsPerSplit () const
 retrieve maximum number of elements for a split operation More...
 
BoolResult initAttribute (BaseProcessor &processor, const ipUInt64 elementsStartIndex, const ipUInt64 nbElements, const core::BaseRequestOrigin &requestOrigin)
 initialize processor attribute associate to split operation for a starting element index and a number of elements More...
 
 BaseDynamicSplit ()
 
virtual ~BaseDynamicSplit ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDataSplit
bool isInit () const
 retrieve object initialization flag
 
bool isSplitted () const
 check whether object will be associated to split operation More...
 
const ElementsLocationInfogetElementsLocationInfo () const
 retrieve data location informations More...
 
ipUInt64 getFullMemorySize () const
 retrieve full memory data size for elements More...
 
bool areDataLocalized () const
 check whether data are localized More...
 
bool hasLocalData () const
 check whether some data are local data More...
 
bool hasRemoteData () const
 check whether some data are remote data More...
 
void disableDataLocalization ()
 method allowing to disable data localization More...
 
 BaseDataSplit ()
 
virtual ~BaseDataSplit ()=0
 
ipUInt64 getNbElements () const
 retrieve total number of elements associated to input data More...
 
ipUInt64 getDataMemorySize (const ipUInt64 elementIdx) const
 retrieve memory size of data for a given element More...
 
ipUInt64 getDataMemorySize () const
 retrieve memory size of data for a given element More...
 

Protected Member Functions

bool checkProcessorType (const processor::BaseProcessor &processor)
 check processor type in derived class
 
BoolResult processAttribute (processor::BaseProcessor &processor, const InputStorageType &pSubShape3dColl)
 initialize processor attribute associate to split operation for a given sub shape 3d collection More...
 
- Protected Member Functions inherited from ipsdk::imaproc::BaseSimpleShape3dCollSplit< InputStorageType::element_type >
void initBase (const boost::shared_ptr< InputStorageType::element_type > &pShape3dColl)
 base class initialization method More...
 
virtual BoolResult processAttribute (processor::BaseProcessor &processor, const boost::shared_ptr< InputStorageType::element_type > &pSubShape3dColl)=0
 initialize processor attribute associate to split operation for a given sub shape 3d collection More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseDynamicSplit
void initSplitted (const ElementsLocationInfo &elementsLocationInfo, const ipUInt64 nbMinEltsPerSplit=1, const ipUInt64 nbMaxEltsPerSplit=NumericLimits< ipUInt64 >::max())
 base class initialization method for splitted case More...
 
void initUnSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for un splitted case More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseDataSplit
void initBaseSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for splitted elements More...
 
void initBaseUnSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for un splitted elements More...
 
void throwNullInputSharedPtr ()
 

Additional Inherited Members

- Static Public Attributes inherited from ipsdk::processor::BaseDynamicSplit
static const eSplitBaseType::domain g_splitBaseType = eSplitBaseType::eSBT_Dynamic
 data split type associated to object
 
- Protected Attributes inherited from ipsdk::imaproc::BaseShape3dCollSplit< InputStorageType::element_type >
ipsdk::shape::segmentation::Shape3dCollPtr _pShape3dColl
 pointer to shape 3d collection to be splitted
 
- Protected Attributes inherited from ipsdk::processor::BaseDynamicSplit
ipUInt64 _nbMinEltsPerSplit
 minimum number of elements for a split operation
 
ipUInt64 _nbMaxEltsPerSplit
 maximum number of elements for a split operation
 

Detailed Description

template<typename TProcessor, typename InputStorageType, typename TAttribute>
class ipsdk::imaproc::SimpleShape3dCollSplit< TProcessor, InputStorageType, TAttribute >

Concrete class for simple split operation generating sub shape 3d collection.

Author
H. Delestre
Date
2016/02/01

Member Function Documentation

◆ init()

template<typename TProcessor , typename InputStorageType , typename TAttribute >
void ipsdk::imaproc::SimpleShape3dCollSplit< TProcessor, InputStorageType, TAttribute >::init ( const InputStorageType &  pShape3dColl)
inline

initialization method for splitted objects

Exceptions
ipsdk::imaproc::IPSDKImageProcessingExceptionif pShape3dColl.get() == 0

◆ processAttribute()

template<typename TProcessor , typename InputStorageType , typename TAttribute >
BoolResult ipsdk::imaproc::SimpleShape3dCollSplit< TProcessor, InputStorageType, TAttribute >::processAttribute ( processor::BaseProcessor processor,
const InputStorageType &  pSubShape3dColl 
)
inlineprotected

initialize processor attribute associate to split operation for a given sub shape 3d collection

Returns
false in case of failure

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