![]() |
ImFusion SDK 4.3
|
#include <ImFusion/ImageMath/Poly/ReductionWrapper.h>
Polymorphic wrapper to wrap an expression and represent a reduction. More...
Inheritance diagram for ReductionWrapper< Op >:Polymorphic wrapper to wrap an expression and represent a reduction.
| Op | A struct representing a reduction expression examples can be found in BinaryOps.h |
Public Member Functions | |
| ReductionWrapper (std::shared_ptr< ExprBase > operand, const Op &func, Selection sel=Selection()) | |
| Constructor storing the operand for later lazy evaluation. | |
| ReductionWrapper (std::shared_ptr< ExprBase > operand, Selection sel=Selection()) | |
| Constructor for standard functor Op. | |
| reduction_type | eval (std::vector< vec4i > *outArg=nullptr) const override |
| GlExprInterface & | operand () override |
| const GlExprInterface & | operand () const override |
| const ImgOps::BinaryImgOpGl & | op () const override |
Public Member Functions inherited from ReductionWrapperBase | |
| ReductionWrapperBase (Selection sel) | |
| const Selection & | sel () const |
Additional Inherited Members | |
Protected Member Functions inherited from ReductionWrapperGl | |
| bool | reduceGl (reduction_type &outRes, std::vector< vec4i > *outArg) const |
| Evaluates expression into this ArrayGl on the GPU. | |
Protected Attributes inherited from ReductionWrapperBase | |
| const Selection | m_sel |
| Selection on which the reduction gets computed. | |
|
inlineoverridevirtual |
Implements ReductionWrapperBase.
|
inlineoverridevirtual |
Implements ReductionWrapperBase.
|
inlineoverridevirtual |
Implements ReductionWrapperBase.
|
inlineoverridevirtual |
Implements ReductionWrapperBase.