21 #ifndef __IPSDKIMAGEPROCESSING_PREVIOUSIMAGEZSTRIP3DSPLIT_H__ 22 #define __IPSDKIMAGEPROCESSING_PREVIOUSIMAGEZSTRIP3DSPLIT_H__ 24 #include <IPSDKImageProcessing/DataSplit/Strip/PreviousZStrip3d/BasePreviousImageZStrip3dSplit.h> 32 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
34 typename TAttribute::ValueType>
67 void init(
const boost::shared_ptr<InputDataType>& pImage,
78 const boost::shared_ptr<OutputType>& pImageZStrip3d);
88 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
89 inline const std::string&
92 return TAttribute::getObjectNameStr();
95 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
96 inline const std::string&
99 return TAttribute::getToolTipStr();
102 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
108 this->initBase(pImage, stripParsingDirection);
111 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
117 "This attribute is not part of processor class");
119 return dynamic_cast<const TProcessor*
>(&processor) != 0;
122 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
125 const boost::shared_ptr<OutputType>& pImageZStrip3d)
128 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
131 tProcessor.TProcessor::template set<TAttribute>(pImageZStrip3d);
142 #endif // __IPSDKIMAGEPROCESSING_PREVIOUSIMAGEZSTRIP3DSPLIT_H__ Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
TProcessor ProcessorType
processor type associated to object
Definition: PreviousImageZStrip3dSplit.h:39
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: PreviousImageZStrip3dSplit.h:97
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: PreviousImageZStrip3dSplit.h:90
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
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: PreviousImageZStrip3dSplit.h:113
TAttribute AttributeType
attribute type associated to object
Definition: PreviousImageZStrip3dSplit.h:42
Concrete class for split operation allowing to generate z strips 3d :
Definition: PreviousImageZStrip3dSplit.h:33
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageZStrip3d)
initialize processor attribute associate to split operation for a given element index ...
Definition: PreviousImageZStrip3dSplit.h:124
Base class for split operation allowing to generate z strips 3d :
Definition: BasePreviousImageZStrip3dSplit.h:40
void init(const boost::shared_ptr< InputDataType > &pImage, const image::eStripParsingDirection &stripParsingDirection)
initialization method for splitted objects
Definition: PreviousImageZStrip3dSplit.h:104
TAttribute::ValueType OutputType
output data type for split operation
Definition: PreviousImageZStrip3dSplit.h:45