16 #ifndef __IPSDKIMAGEPROCESSING_IMAGEYSTRIPSEQ2DSPLIT_H__ 17 #define __IPSDKIMAGEPROCESSING_IMAGEYSTRIPSEQ2DSPLIT_H__ 19 #include <IPSDKImageProcessing/DataSplit/Strip/YStripSeq2d/BaseImageYStripSeq2dSplit.h> 27 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
29 typename TAttribute::ValueType>
62 void init(
const boost::shared_ptr<InputDataType>& pImage,
74 const boost::shared_ptr<OutputType>& pImageYStripSeq2d);
84 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
85 inline const std::string&
88 return TAttribute::getObjectNameStr();
91 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
92 inline const std::string&
95 return TAttribute::getToolTipStr();
98 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
105 this->initBase(pImage, stripAllocationType, stripParsingDirection);
108 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
114 "This attribute is not part of processor class");
116 return dynamic_cast<const TProcessor*
>(&processor) != 0;
119 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
122 const boost::shared_ptr<OutputType>& pImageYStripSeq2d)
125 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
128 tProcessor.TProcessor::template set<TAttribute>(pImageYStripSeq2d);
139 #endif // __IPSDKIMAGEPROCESSING_IMAGEYSTRIPSEQ2DSPLIT_H__ TAttribute::ValueType OutputType
output data type for split operation
Definition: ImageYStripSeq2dSplit.h:40
Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
void init(const boost::shared_ptr< InputDataType > &pImage, const image::eStripAllocationType &stripAllocationType, const image::eStripParsingDirection &stripParsingDirection)
initialization method for splitted objects
Definition: ImageYStripSeq2dSplit.h:100
Base class for split operation generating sequence image y strips 2d.
Definition: BaseImageYStripSeq2dSplit.h:33
Base class for processor class.
Definition: BaseProcessor.h:43
structure allowing to check whether a given attribute exists in attribute collection information ...
Definition: AttributeCollInfoCheckMacros.h:131
eStripAllocationType
Enumerate describing image strip allocation policy.
Definition: ImageStripTypes.h:88
TAttribute AttributeType
attribute type associated to object
Definition: ImageYStripSeq2dSplit.h:37
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageYStripSeq2d)
initialize processor attribute associate to split operation for a given element index ...
Definition: ImageYStripSeq2dSplit.h:121
Concrete class for split operation generating sequence image y strips 2d.
Definition: ImageYStripSeq2dSplit.h:28
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: ImageYStripSeq2dSplit.h:86
const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: ImageYStripSeq2dSplit.h:93
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
TProcessor ProcessorType
processor type associated to object
Definition: ImageYStripSeq2dSplit.h:34
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: ImageYStripSeq2dSplit.h:110