15 #ifndef __IPSDKIMAGEPROCESSING_IMAGEZSUBSTRIP3DSPLIT_H__ 16 #define __IPSDKIMAGEPROCESSING_IMAGEZSUBSTRIP3DSPLIT_H__ 18 #include <IPSDKImageProcessing/DataSplit/Strip/ZSubStrip3d/BaseImageZSubStrip3dSplit.h> 26 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
28 typename TAttribute::ValueType>
61 void init(
const boost::shared_ptr<InputDataType>& pImage,
74 const boost::shared_ptr<OutputType>& pImageZStrip3d);
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>
106 this->initBase(pImage, stripAllocationType, zOffset, nbZPlans);
109 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
115 "This attribute is not part of processor class");
117 return dynamic_cast<const TProcessor*
>(&processor) != 0;
120 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
123 const boost::shared_ptr<OutputType>& pImageZStrip3d)
126 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
129 tProcessor.TProcessor::template set<TAttribute>(pImageZStrip3d);
140 #endif // __IPSDKIMAGEPROCESSING_IMAGEZSUBSTRIP3DSPLIT_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
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageZStrip3d)
initialize processor attribute associate to split operation for a given element index ...
Definition: ImageZSubStrip3dSplit.h:122
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: ImageZSubStrip3dSplit.h:111
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: ImageZSubStrip3dSplit.h:93
Base class for split operation generating image z strips 3d from a subset of contiguous z-plans...
Definition: BaseImageZSubStrip3dSplit.h:32
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: ImageZSubStrip3dSplit.h:86
TAttribute::ValueType OutputType
output data type for split operation
Definition: ImageZSubStrip3dSplit.h:39
TAttribute AttributeType
attribute type associated to object
Definition: ImageZSubStrip3dSplit.h:36
void init(const boost::shared_ptr< InputDataType > &pImage, const image::eStripAllocationType &stripAllocationType, ipUInt64 zOffset, ipUInt64 nbZPlans)
initialization method for splitted objects
Definition: ImageZSubStrip3dSplit.h:100
TProcessor ProcessorType
processor type associated to object
Definition: ImageZSubStrip3dSplit.h:33
Concrete class for split operation generating image z strips 3d from a subset of contiguous z-plans...
Definition: ImageZSubStrip3dSplit.h:27