15 #ifndef __IPSDKIMAGEPROCESSING_STATICIMAGEZSTRIP3DSPLIT_H__ 16 #define __IPSDKIMAGEPROCESSING_STATICIMAGEZSTRIP3DSPLIT_H__ 18 #include <IPSDKImageProcessing/DataSplit/StaticStrip/ZStrip3d/BaseStaticImageZStrip3dSplit.h> 26 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
28 typename TAttribute::ValueType>
62 void init(
const boost::shared_ptr<InputDataType>& pImage,
75 const boost::shared_ptr<OutputType>& pImageZStrip3d);
85 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
86 inline const std::string&
89 return TAttribute::getObjectNameStr();
92 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
93 inline const std::string&
96 return TAttribute::getToolTipStr();
99 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
107 this->initBase(pImage, planElementInfoColl, stripAllocationType, stripParsingDirection);
110 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
116 "This attribute is not part of processor class");
118 return dynamic_cast<const TProcessor*
>(&processor) != 0;
121 template <
typename TProcessor,
typename InputDataType,
typename TAttribute>
124 const boost::shared_ptr<OutputType>& pImageZStrip3d)
127 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
130 tProcessor.TProcessor::template set<TAttribute>(pImageZStrip3d);
141 #endif // __IPSDKIMAGEPROCESSING_STATICIMAGEZSTRIP3DSPLIT_H__ const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: StaticImageZStrip3dSplit.h:87
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 ElementsRangeColl &planElementInfoColl, const image::eStripAllocationType &stripAllocationType, const image::eStripParsingDirection &stripParsingDirection)
initialization method for splitted objects
Definition: StaticImageZStrip3dSplit.h:101
std::vector< ElementsRange > ElementsRangeColl
collection of strip split element informations
Definition: StaticImageStripSplitTypes.h:49
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: StaticImageZStrip3dSplit.h:112
TProcessor ProcessorType
processor type associated to object
Definition: StaticImageZStrip3dSplit.h:33
Concrete class for static split operation generating image z strips 3d.
Definition: StaticImageZStrip3dSplit.h:27
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: StaticImageZStrip3dSplit.h:94
BoolResult processAttribute(processor::BaseProcessor &processor, const boost::shared_ptr< OutputType > &pImageZStrip3d)
initialize processor attribute associate to split operation for a given element index ...
Definition: StaticImageZStrip3dSplit.h:123
TAttribute::ValueType OutputType
output data type for split operation
Definition: StaticImageZStrip3dSplit.h:39
Base class for static split operation generating image z strips 3d.
Definition: BaseStaticImageZStrip3dSplit.h:33
eStripParsingDirection
Enumerate describing strip parsing direction.
Definition: ImageStripTypes.h:72
TAttribute AttributeType
attribute type associated to object
Definition: StaticImageZStrip3dSplit.h:36