DGtal
1.0.beta
|
#include <DGtal/geometry/curves/ArithmeticalDSSComputer.h>
Public Types | |
typedef ArithmeticalDSSComputer< TIterator, TInteger, 4 > | Super |
typedef Super::ConstIterator | ConstIterator |
Public Types inherited from DGtal::ArithmeticalDSSComputer< TIterator, TInteger, 4 > | |
typedef TIterator | ConstIterator |
typedef IteratorCirculatorTraits< ConstIterator >::Value | Point |
typedef IteratorCirculatorTraits< TIterator >::Value::Coordinate | Coordinate |
typedef TInteger | Integer |
typedef ArithmeticalDSS< Coordinate, Integer, adjacency > | DSS |
typedef DSS | Primitive |
typedef Point | Vector |
typedef ArithmeticalDSSComputer< ConstIterator, TInteger, adjacency > | Self |
typedef ArithmeticalDSSComputer< ReverseIterator< ConstIterator >, TInteger, adjacency > | Reverse |
Additional Inherited Members | |
Protected Attributes inherited from DGtal::ArithmeticalDSSComputer< TIterator, TInteger, 4 > | |
DSS | myDSS |
ConstIterator | myBegin |
ConstIterator | myEnd |
Aim: This class is a wrapper around ArithmeticalDSS that is devoted to the dynamic recognition of naive and simply 8-connected digital straight segments (DSS) along any sequence of digital points.
See Digital straight lines and segments for further details. See also exampleArithmeticalDSSComputer.cpp for a basic example using StandardDSS4Computer. The use of NaiveDSS8Computer is quite similar.
TIterator | type of iterator on 2d digital points, at least readable and forward. |
TInteger | type of integers used for the computation of remainders, which is a model of CInteger. |
This class is a model of CDynamicBidirectionalSegmentComputer. It is also default constructible, copy constructible, assignable and equality comparable.
Definition at line 523 of file ArithmeticalDSSComputer.h.
typedef Super::ConstIterator DGtal::NaiveDSS8Computer< TIterator, TInteger >::ConstIterator |
Definition at line 531 of file ArithmeticalDSSComputer.h.
typedef ArithmeticalDSSComputer<TIterator, TInteger, 4> DGtal::NaiveDSS8Computer< TIterator, TInteger >::Super |
Base class
Definition at line 530 of file ArithmeticalDSSComputer.h.
DGtal::NaiveDSS8Computer< TIterator, TInteger >::NaiveDSS8Computer | ( | ) |
Default constructor. NB: not valid.
DGtal::NaiveDSS8Computer< TIterator, TInteger >::NaiveDSS8Computer | ( | const ConstIterator & | it | ) |
Constructor with initialisation
it | an iterator on 2d points |
DGtal::NaiveDSS8Computer< TIterator, TInteger >::NaiveDSS8Computer | ( | const NaiveDSS8Computer< TIterator, TInteger > & | aOther | ) |
Copy constructor.
aOther | the object to clone. |
NaiveDSS8Computer& DGtal::NaiveDSS8Computer< TIterator, TInteger >::operator= | ( | const NaiveDSS8Computer< TIterator, TInteger > & | aOther | ) |
Assignment.
aOther | the object to copy. |