Iterator to the runs of a coded element. More...
#include <eVision/EasyObject/EasyObject2/EObjectRunsIterator.h>
Public Member Functions | |
| EObjectRunsIterator (const eVision::ECodedElement &codedElement) | |
| Constructs an iterator to the runs of a coded element. | |
| EObjectRunsIterator (const eVision::EObjectRunsIterator &other) | |
| Constructs an iterator to the runs of a coded element. | |
| virtual | ~EObjectRunsIterator () throw () |
| eVision::EObjectRunsIterator & | operator= (const eVision::EObjectRunsIterator &other) |
| Assignment operator. | |
| void | First () const |
| Rewinds to the first run of the coded element. | |
| bool | IsDone () const |
| Tests whether all the runs have been spanned. | |
| void | Next () const |
| Advance to the next run in the iterator. | |
| int | GetY () const |
| Returns the ordinate (Y-coordinate) of the run the iterator is currently over. | |
| int | GetStartX () const |
| Returns the abscissa (X-coordinate) of the leftmost pixel of the run the iterator is currently over. | |
| int | GetEndX () const |
| Returns the abscissa (X-coordinate) of the rightmost pixel of the run the iterator is currently over. | |
| unsigned int | GetLength () const |
| Returns the lengths of the run the iterator is currently over. | |
| EObjectRunsIterator (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Iterator to the runs of a coded element.
This class is responsible for the sequential access to the individual runs of a coded element.
A run is defined as a maximal sequence of consecutive pixels on the same run, that all belong to the same coded element.
License(s): EasyObject
| eVision::EObjectRunsIterator::EObjectRunsIterator | ( | const eVision::ECodedElement & | codedElement | ) |
Constructs an iterator to the runs of a coded element.
| codedElement | The coded element of interest, in the case the iterator is to be constructed from a given coded element. |
| eVision::EObjectRunsIterator::EObjectRunsIterator | ( | const eVision::EObjectRunsIterator & | other | ) |
Constructs an iterator to the runs of a coded element.
| other | The iterator to be copied, in the case of the copy constructor. |
|
virtual | ||||||||||||
| eVision::EObjectRunsIterator::EObjectRunsIterator | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EObjectRunsIterator::First | ( | ) | const |
Rewinds to the first run of the coded element.
| int eVision::EObjectRunsIterator::GetEndX | ( | ) | const |
Returns the abscissa (X-coordinate) of the rightmost pixel of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator::IsDone to check this condition.
| unsigned int eVision::EObjectRunsIterator::GetLength | ( | ) | const |
Returns the lengths of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator::IsDone to check this condition.
| int eVision::EObjectRunsIterator::GetStartX | ( | ) | const |
Returns the abscissa (X-coordinate) of the leftmost pixel of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator::IsDone to check this condition.
| int eVision::EObjectRunsIterator::GetY | ( | ) | const |
Returns the ordinate (Y-coordinate) of the run the iterator is currently over.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator::IsDone to check this condition.
| bool eVision::EObjectRunsIterator::IsDone | ( | ) | const |
Tests whether all the runs have been spanned.
| void eVision::EObjectRunsIterator::Next | ( | ) | const |
Advance to the next run in the iterator.
An exception is thrown if the iterator has reached its end. Use EObjectRunsIterator::IsDone to check this condition.
| eVision::EObjectRunsIterator & eVision::EObjectRunsIterator::operator= | ( | const eVision::EObjectRunsIterator & | other | ) |
Assignment operator.
| other | The iterator to be copied. |
| CppWrapperInternal::WrappedClass eVision::EObjectRunsIterator::wrappedClass_ |