MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::ElementFocus Struct Reference

How the extractor chooses among several found elements: rank by criterion, highest first when largest, lowest first otherwise. More...

#include <VisionExtractor.hpp>

+ Collaboration diagram for MayaFlux::Yantra::ElementFocus:

Public Attributes

ElementCriterion criterion { ElementCriterion::Area }
 
bool largest { true }
 
glm::vec2 point { 0.5F, 0.5F }
 

Detailed Description

How the extractor chooses among several found elements: rank by criterion, highest first when largest, lowest first otherwise.

Proximity ignores largest and picks the element whose centre is closest to point.

Definition at line 72 of file VisionExtractor.hpp.


The documentation for this struct was generated from the following file: