Back to FabImage Library website
You are here: Start » Function Reference » Profile » Profile Combinators » AccumulateProfile

AccumulateProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Creates a profile in a loop by concatenating individual values.
Syntax
C++
C#
void fil::AccumulateProfile ( const float inValue, ftl::Optional<int> inMaxCount, bool inReset, fil::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inValue | const float | |||
![]() |
inMaxCount | Optional<int> | 0 - ![]() |
NIL | Number of last values that are remembered |
![]() |
inReset | bool | Reset accumulator state | ||
![]() |
outProfile | Profile& | Output profile |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inMaxCount cannot be negative in AccumulateProfile. |