DGtal 1.4.0
|
Aim: Dynamic recognition of a 3d-digital straight segment (DSS) More...
#include <DGtal/geometry/curves/StandardDSS6Computer.h>
Public Types | |
typedef TInteger | Integer |
Type of integer, devoted to remainders (and intercepts) | |
typedef std::pair< Integer, Integer > | Quotient |
Type which represent quotient of two integers first/second. | |
typedef TIterator | ConstIterator |
Type of iterator, at least readable and forward. | |
typedef StandardDSS6Computer< ConstIterator, TInteger, connectivity > | Self |
Self type. | |
typedef StandardDSS6Computer< ReverseIterator< ConstIterator >, TInteger, connectivity > | Reverse |
Reverse type. | |
typedef IteratorCirculatorTraits< ConstIterator >::Value | Point3d |
Type of 3d digital point. | |
typedef IteratorCirculatorTraits< ConstIterator >::Value | Vector3d |
Type of 3d digital vector. | |
typedef Point3d::Coordinate | Coordinate |
Type of 3d digital point coordinate. | |
typedef DGtal::PointVector< 2, Coordinate > | Point2d |
Type of 2d digital point. | |
typedef boost::array< Quotient, 3 > | PointR3d |
Type of 3d rational point. | |
typedef functors::Projector< SpaceND< 2, Coordinate > > | Projector2d |
Adapter for iterators. | |
typedef ConstIteratorAdapter< ConstIterator, Projector2d, Point2d > | IteratorAdapter |
Iterator over adapter. | |
typedef DGtal::ArithmeticalDSSComputer< IteratorAdapter, TInteger, connectivity > | ArithmeticalDSSComputer2d |
2D arithmetical DSS recognition algorithm | |
Protected Attributes | |
Projector2d | myProjXY |
projectors | |
Projector2d | myProjXZ |
Projector2d | myProjYZ |
ArithmeticalDSSComputer2d | myXYalgo |
2d-arithmeticalDSS recognition algorithms | |
ArithmeticalDSSComputer2d | myXZalgo |
ArithmeticalDSSComputer2d | myYZalgo |
ConstIterator | myBegin |
begin and end iterators | |
ConstIterator | myEnd |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CInteger< TInteger >)) | |
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)
Description of class 'StandardDSS6Computer'
Definition at line 76 of file StandardDSS6Computer.h.
typedef DGtal::ArithmeticalDSSComputer< IteratorAdapter, TInteger, connectivity > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::ArithmeticalDSSComputer2d |
2D arithmetical DSS recognition algorithm
Definition at line 107 of file StandardDSS6Computer.h.
typedef TIterator DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::ConstIterator |
Type of iterator, at least readable and forward.
Definition at line 87 of file StandardDSS6Computer.h.
typedef Point3d::Coordinate DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Coordinate |
Type of 3d digital point coordinate.
Definition at line 97 of file StandardDSS6Computer.h.
typedef TInteger DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Integer |
Type of integer, devoted to remainders (and intercepts)
Definition at line 83 of file StandardDSS6Computer.h.
typedef ConstIteratorAdapter< ConstIterator, Projector2d, Point2d > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::IteratorAdapter |
Iterator over adapter.
Definition at line 105 of file StandardDSS6Computer.h.
typedef DGtal::PointVector< 2, Coordinate > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Point2d |
Type of 2d digital point.
Definition at line 99 of file StandardDSS6Computer.h.
typedef IteratorCirculatorTraits<ConstIterator>::Value DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Point3d |
Type of 3d digital point.
Definition at line 93 of file StandardDSS6Computer.h.
typedef boost::array< Quotient, 3 > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::PointR3d |
Type of 3d rational point.
Definition at line 101 of file StandardDSS6Computer.h.
typedef functors::Projector< SpaceND< 2, Coordinate > > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Projector2d |
Adapter for iterators.
Definition at line 103 of file StandardDSS6Computer.h.
typedef std::pair<Integer, Integer> DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Quotient |
Type which represent quotient of two integers first/second.
Definition at line 85 of file StandardDSS6Computer.h.
typedef StandardDSS6Computer< ReverseIterator< ConstIterator >,TInteger, connectivity > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Reverse |
Reverse type.
Definition at line 91 of file StandardDSS6Computer.h.
typedef StandardDSS6Computer< ConstIterator, TInteger, connectivity > DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Self |
Self type.
Definition at line 89 of file StandardDSS6Computer.h.
typedef IteratorCirculatorTraits<ConstIterator>::Value DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::Vector3d |
Type of 3d digital vector.
Definition at line 95 of file StandardDSS6Computer.h.
DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::StandardDSS6Computer | ( | ) |
Default constructor. not valid
DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::StandardDSS6Computer | ( | const ConstIterator & | it | ) |
DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::StandardDSS6Computer | ( | const StandardDSS6Computer< TIterator, TInteger, connectivity > & | other | ) |
Copy constructor.
other | the object to clone. |
|
inline |
const ArithmeticalDSSComputer2d & DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::arithmeticalDSS2d | ( | Dimension | i | ) | const |
i | the axis orthogonal to the plane |
const ArithmeticalDSSComputer2d & DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::arithmeticalDSS2dXY | ( | ) | const |
const ArithmeticalDSSComputer2d & DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::arithmeticalDSS2dXZ | ( | ) | const |
const ArithmeticalDSSComputer2d & DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::arithmeticalDSS2dYZ | ( | ) | const |
ConstIterator DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::begin | ( | ) | const |
|
private |
std::string DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::className | ( | ) | const |
ConstIterator DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::end | ( | ) | const |
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::extendFront | ( | ) |
Tests whether the current DSS can be extended at the front. Computes the parameters of the extended DSS if yes. with the adding point if true.
void DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::getParameters | ( | Vector3d & | direction, |
PointR3d & | intercept, | ||
PointR3d & | thickness ) const |
Computes the parameters (direction, intercept, thickness) of the DSS
direction | direction |
intercept | intercept |
thickness | thickness |
Reverse DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::getReverse | ( | ) | const |
Self DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::getSelf | ( | ) | const |
void DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::init | ( | const ConstIterator & | it | ) |
Initialisation.
it | an iterator |
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::isExtendableFront | ( | ) |
Tests whether the 3d DSS can be extended at the front.
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::isInDSS | ( | const ConstIterator & | it | ) | const |
Checks whether a point belongs to the DSS or not
it | an iterator on the point to be checked |
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::isInDSS | ( | const Point3d & | aPoint | ) | const |
Checks whether a point belongs to the DSS or not
aPoint | the point to be checked |
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::operator!= | ( | const StandardDSS6Computer< TIterator, TInteger, connectivity > & | other | ) | const |
Difference operator.
other | the object to compare with. |
StandardDSS6Computer & DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::operator= | ( | const StandardDSS6Computer< TIterator, TInteger, connectivity > & | other | ) |
Assignment.
other | the object to copy. |
bool DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::operator== | ( | const StandardDSS6Computer< TIterator, TInteger, connectivity > & | other | ) | const |
Equality operator.
other | the object to compare with. |
void DGtal::StandardDSS6Computer< TIterator, TInteger, connectivity >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
|
protected |
begin and end iterators
Definition at line 295 of file StandardDSS6Computer.h.
|
protected |
Definition at line 295 of file StandardDSS6Computer.h.
|
protected |
projectors
Definition at line 287 of file StandardDSS6Computer.h.
|
protected |
Definition at line 287 of file StandardDSS6Computer.h.
|
protected |
Definition at line 287 of file StandardDSS6Computer.h.
|
protected |
2d-arithmeticalDSS recognition algorithms
Definition at line 290 of file StandardDSS6Computer.h.
|
protected |
Definition at line 291 of file StandardDSS6Computer.h.
|
protected |
Definition at line 292 of file StandardDSS6Computer.h.