Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Loop Utils » LastTwoObjects

LastTwoObjects
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Returns the current and the previous object.
Syntax
void fil::LastTwoObjects ( const T& inObject, const T& inInitialObject, bool inReset, T& outCurrentObject, T& outPreviousObject )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inObject | const T& | ||
![]() |
inInitialObject | const T& | Object to be used as the previous one in first iteration | |
![]() |
inReset | bool | False | Reset accumulator state |
![]() |
outCurrentObject | T& | Object from this iteration | |
![]() |
outPreviousObject | T& | Object from previous iteration |