16 #ifndef __IPSDKIMAGEPROCESSING_STRIPSHAPE3DCOLLSPLIT_H__ 17 #define __IPSDKIMAGEPROCESSING_STRIPSHAPE3DCOLLSPLIT_H__ 19 #include <IPSDKImageProcessing/DataSplit/Shape3dColl/BaseStripShape3dCollSplit.h> 27 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
62 void init(
const InputStorageType& pShape3dColl);
72 const InputStorageType& pSubShape3dColl);
82 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
83 inline const std::string&
86 return TAttribute::getObjectNameStr();
89 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
90 inline const std::string&
93 return TAttribute::getToolTipStr();
96 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
101 this->initBase(pShape3dColl);
104 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
110 "This attribute is not part of processor class");
112 return dynamic_cast<const TProcessor*
>(&processor) != 0;
115 template <
typename TProcessor,
typename InputStorageType,
typename TAttribute>
118 const InputStorageType& pSubShape3dColl)
121 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
124 tProcessor.TProcessor::template set<TAttribute>(pSubShape3dColl);
135 #endif // __IPSDKIMAGEPROCESSING_STRIPSHAPE3DCOLLSPLIT_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
TProcessor ProcessorType
processor type associated to object
Definition: StripShape3dCollSplit.h:33
Base class for by strip split operation generating sub shape 3d collection.
Definition: BaseStripShape3dCollSplit.h:28
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: StripShape3dCollSplit.h:84
Concrete class for by strip split operation generating sub shape 3d collection.
Definition: StripShape3dCollSplit.h:28
const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: StripShape3dCollSplit.h:91
void init(const InputStorageType &pShape3dColl)
initialization method for splitted objects
Definition: StripShape3dCollSplit.h:98
BoolResult processAttribute(processor::BaseProcessor &processor, const InputStorageType &pSubShape3dColl)
initialize processor attribute associate to split operation for a given sub shape 3d collection ...
Definition: StripShape3dCollSplit.h:117
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
InputStorageType::element_type InputDataType
input data type for split operation
Definition: StripShape3dCollSplit.h:42
bool checkProcessorType(const processor::BaseProcessor &processor)
check processor type in derived class
Definition: StripShape3dCollSplit.h:106
TAttribute AttributeType
attribute type associated to object
Definition: StripShape3dCollSplit.h:36
TAttribute::ValueType OutputType
output data type for split operation
Definition: StripShape3dCollSplit.h:39