4#include "ModelInputIterator.h"
The ImageIterator class is used to iterate given ModelInputPictures instance mip. Handles boundaries ...
Definition imageiterator.h:19
bool isFirst(ModelInputPictures *mip, unsigned int currentIdx) override
check if currentIdx is first index in ModelInputPictures mip.
Definition imageiterator.cpp:33
unsigned int getFirst(ModelInputPictures *mip) override
get index of first image in ModelInputPictures instance mip. First is 0.
Definition imageiterator.cpp:22
unsigned int getPrevious(ModelInputPictures *mip, unsigned int currentIdx, unsigned int stepsize=1) override
steps for stepsize images backward from given currentIdx without leaving the boundaries of ModelInput...
Definition imageiterator.cpp:12
unsigned int getNext(ModelInputPictures *mip, unsigned int currentIdx, unsigned int stepsize=1) override
steps for stepsize images forward from given currentIdx without leaving the boundaries of ModelInputP...
Definition imageiterator.cpp:3
unsigned int getLast(ModelInputPictures *mip) override
get index of last image in ModelINputPictures instance mip. Last is mip.getPicCount()-1.
Definition imageiterator.cpp:28
bool isLast(ModelInputPictures *mip, unsigned int currentIdx) override
check if currentIdx is last index in ModelInputPictures mip.
Definition imageiterator.cpp:39