![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GL/GlReduction.h>
Specialization of GlReduction performing a ReductionOperator::PRODUCT reduction.
More...
Inheritance diagram for GlProductReduction:Specialization of GlReduction performing a ReductionOperator::PRODUCT reduction.
Additional Inherited Members | |
Public Types inherited from GlReduction | |
| enum | ReductionOperator { MIN , MAX , SUM , PRODUCT , AVERAGE , AVERAGE_ABSOLUTE } |
| Operation to be performed by reduction. More... | |
Public Member Functions inherited from GlReduction | |
| GlReduction (ReductionOperator reductionOperator) | |
| Creates a new GlReduction instance using the given reduction oparator in reduce(). | |
| GlReduction (GlReduction &&other) noexcept | |
| GlReduction & | operator= (GlReduction &&) noexcept |
| std::vector< double > | reduce (const GlImage &img, const GlMask *mask=nullptr, std::vector< vec3i > *outArgMinMax=nullptr) |
| Reduces the given input image and returns the reduction result for each channel. | |
| std::vector< double > | reduce (const ImageMath::GlExpr &expr, const ImageDescriptor &desc, std::vector< vec3i > *outArgMinMax=nullptr) |
| Reduces the given input image and returns the reduction result for each channel. | |
| std::vector< double > | reduceSubregion (const GlImage &img, const vec3i &subregion, const GlMask *mask=nullptr, std::vector< vec3i > *outArgMinMax=nullptr) |
| Reduces the given subregion of the input image and returns the reduction result for each channel. | |
Static Public Member Functions inherited from InstanceManager< GlProductReduction > | |
| static GlProductReduction & | cachedInstance () |
| Returns the cached instance of type T for the currently active OpenGL context. | |