Class RowOfKernelImagesForRegion

Class Documentation

class RowOfKernelImagesForRegion

A row of KernelImagesForRegion

Intended for iterating over subregions of a KernelImagesForRegion using computeNextRow.

Public Types

typedef std::vector<std::shared_ptr<KernelImagesForRegion>> RegionList
typedef RegionList::iterator Iterator
typedef RegionList::const_iterator ConstIterator

Public Functions

RowOfKernelImagesForRegion(int nx, int ny)

Construct a RowOfKernelImagesForRegion

Parameters
  • nx: number of columns

  • ny: number of rows

RegionList::const_iterator begin() const

Return the begin iterator for the list

RegionList::const_iterator end() const

Return the end iterator for the list

RegionList::iterator begin()

Return the begin iterator for the list

RegionList::iterator end()

Return the end iterator for the list

std::shared_ptr<KernelImagesForRegion> front()

Return the first region in the list

std::shared_ptr<KernelImagesForRegion> back()

Return the last region in the list

int getNX() const
int getNY() const
int getYInd() const
std::shared_ptr<KernelImagesForRegion const> getRegion(int ind) const

get the specified region (range-checked)

Exceptions
  • std::range_error: if ind out of range

bool hasData() const
bool isLastRow() const
int incrYInd()