Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Relations » MakeRegionConditional

MakeRegionConditional
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes a region feature, checks whether its value is in range and creates a conditional region on this basis.
Syntax
C++
C#
void fil::MakeRegionConditional ( const fil::Region& inRegion, fil::RegionFeature::Type inFeature, ftl::Optional<float> inMinimum, ftl::Optional<float> inMaximum, ftl::Conditional<fil::Region>& outConditionalRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | |
![]() |
inFeature | RegionFeature::Type | Region feature value to be computed | |
![]() |
inMinimum | Optional<float> | NIL | Lowest value of the range |
![]() |
inMaximum | Optional<float> | NIL | Highest value of the range |
![]() |
outConditionalRegion | Conditional<Region>& | The region if the condition is met or nothing otherwise |