ImFusion C++ SDK 4.4.0
ImFusion::GlMinReduction Class Reference

#include <ImFusion/GL/GlReduction.h>

Specialization of GlReduction performing a ReductionOperator::MIN reduction. More...

Inheritance diagram for ImFusion::GlMinReduction:

Detailed Description

Specialization of GlReduction performing a ReductionOperator::MIN reduction.

static GlMinReduction & cachedInstance()
Definition InstanceManager.h:80
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.

Additional Inherited Members

Public Types inherited from ImFusion::GlReduction
enum  ReductionOperator {
  MIN , MAX , SUM , PRODUCT ,
  AVERAGE , AVERAGE_ABSOLUTE
}
 Operation to be performed by reduction. More...
Public Member Functions inherited from ImFusion::GlReduction
 GlReduction (ReductionOperator reductionOperator)
 Creates a new GlReduction instance using the given reduction oparator in reduce().
 GlReduction (GlReduction &&other) noexcept
GlReductionoperator= (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 ImFusion::GL::InstanceManager< GlMinReduction >
static GlMinReductioncachedInstance ()
 Returns the cached instance of type T for the currently active OpenGL context.

The documentation for this class was generated from the following file:
  • ImFusion/GL/GlReduction.h
Search Tab / S to search, Esc to close