Points are defined using template class qgar::GenPoint.
Chains of points are useful to represent contours, skeletons, and so on. qgar::AbstractGenPointChain is the corresponding generic type (i.e. base class). Derived class qgar::GenPointChain defines a chain of effective points, instances of class qgar::GenPoint, whereas derived class qgar::FreemanChain defines a chain of Freeman codes, instances of class qgar::FreemanCode.
qgar::LinkedChainList defines a STL list of integer point chains, that may be a useful data structure in some cases. See some exampls in applications QAedgesDetection or QAvectorizationRW in the QgarApps API.
Some (chains of) points type names are predefined to make it easier to write (chains of) points declarations when coding.
Classes | |
| class | qgar::GenPoint< T > |
| Point with coordinates of type T. More... | |
| class | qgar::AbstractGenPointChain< T > |
| Base class for chain of points having coordinates of type T. More... | |
| class | qgar::FreemanChain |
| Chain of Freeman codes. More... | |
| class | qgar::FreemanCode |
| A Freeman code, defined as a pair (direction, length). More... | |
| class | qgar::GenPointChain< T > |
| Chain of points having coordinates of type T. More... | |
| class | qgar::LinkedChainList |
| List of linked chains of integer points. More... | |
Predefined abstract point chain types | |
| typedef AbstractGenPointChain< int > | qgar::AbstChain |
| Abstract chain of points with integer coordinates. | |
| typedef AbstractGenPointChain< int > | qgar::IAbstChain |
| Abstract chain of points with integer coordinates. | |
| typedef AbstractGenPointChain< float > | qgar::FAbstChain |
| Abstract chain of points with float coordinates. | |
| typedef AbstractGenPointChain< double > | qgar::DAbstChain |
| Abstract chain of points with double coordinates. | |
|
|
Abstract chain of points with integer coordinates.
Definition at line 426 of file AbstractGenPointChain.H. |
|
|
Abstract chain of points with double coordinates.
Definition at line 446 of file AbstractGenPointChain.H. |
|
|
Abstract chain of points with float coordinates.
Definition at line 440 of file AbstractGenPointChain.H. |
|
|
Abstract chain of points with integer coordinates.
Definition at line 434 of file AbstractGenPointChain.H. |