15 #ifndef __IPSDKIMAGEPROCESSING_IMAGEYSTRIP3DSPLIT_H__ 16 #define __IPSDKIMAGEPROCESSING_IMAGEYSTRIP3DSPLIT_H__ 18 #include <IPSDKImageProcessing/DataSplit/Strip/YStrip3d/BaseImageYStrip3dSplit.h> 26 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
28 typename TAttribute::ValueType>
61 void init(
const boost::shared_ptr<InputDataType>& pImage,
73 const boost::shared_ptr<OutputType>& pImageYStrip3d);
83 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
84 inline const std::string&
87 return TAttribute::getObjectNameStr();
90 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
91 inline const std::string&
94 return TAttribute::getToolTipStr();
97 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
104 this->initBase(pImage, stripAllocationType, stripParsingDirection);
107 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
113 "This attribute is not part of processor class");
115 return dynamic_cast<const TProcessor*
>(&processor) != 0;
118 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
121 const boost::shared_ptr<OutputType>& pImageYStrip3d)
124 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
127 tProcessor.TProcessor::template set<TAttribute>(pImageYStrip3d);
138 #endif // __IPSDKIMAGEPROCESSING_IMAGEYSTRIP3DSPLIT_H__ 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
Base class for split operation generating image y strips 3d.
Definition: BaseImageYStrip3dSplit.h:32
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: ImageYStrip3dSplit.h:85
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: ImageYStrip3dSplit.h:109
TAttribute AttributeType
attribute type associated to object
Definition: ImageYStrip3dSplit.h:36
void init(const boost::shared_ptr< InputDataType > &pImage, const image::eStripAllocationType &stripAllocationType, const image::eStripParsingDirection &stripParsingDirection)
initialization method for splitted objects
Definition: ImageYStrip3dSplit.h:99
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
const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: ImageYStrip3dSplit.h:92
TProcessor ProcessorType
processor type associated to object
Definition: ImageYStrip3dSplit.h:33
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageYStrip3d)
initialize processor attribute associate to split operation for a given element index ...
Definition: ImageYStrip3dSplit.h:120
TAttribute::ValueType OutputType
output data type for split operation
Definition: ImageYStrip3dSplit.h:39
Concrete class for split operation generating image y strips 3d.
Definition: ImageYStrip3dSplit.h:27