DGtal
0.6.devel
|
#include <ArithmeticalDSS3d.h>
Public Types | |
typedef TInteger | Integer |
typedef TIterator | ConstIterator |
typedef ArithmeticalDSS3d < ConstIterator, TInteger, connectivity > | Self |
typedef ArithmeticalDSS3d < ReverseIterator < ConstIterator >, TInteger, connectivity > | Reverse |
typedef IteratorCirculatorTraits < ConstIterator >::Value | Point3d |
typedef IteratorCirculatorTraits < ConstIterator >::Value | Vector3d |
typedef Point3d::Coordinate | Coordinate |
typedef DGtal::PointVector < 2, Coordinate > | Point2d |
typedef DGtal::PointVector < 2, Coordinate > | Vector2d |
typedef DGtal::PointVector < 2, double > | PointD2d |
typedef DGtal::PointVector < 3, double > | PointD3d |
typedef DGtal::PointVector < 3, double > | VectorD3d |
typedef Projector< SpaceND < 2, Coordinate > > | Projector2d |
typedef ConstIteratorAdapter < ConstIterator, Projector2d, Point2d > | IteratorAdapter |
typedef DGtal::ArithmeticalDSS < IteratorAdapter, TInteger, connectivity > | ArithmeticalDSS2d |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CInteger< TInteger >)) | |
ArithmeticalDSS3d () | |
ArithmeticalDSS3d (const ConstIterator &it) | |
void | init (const ConstIterator &it) |
ArithmeticalDSS3d (const ArithmeticalDSS3d &other) | |
ArithmeticalDSS3d & | operator= (const ArithmeticalDSS3d &other) |
Self | getSelf () const |
Reverse | getReverse () const |
bool | operator== (const ArithmeticalDSS3d &other) const |
bool | operator!= (const ArithmeticalDSS3d &other) const |
~ArithmeticalDSS3d () | |
bool | extendForward () |
bool | isExtendableForward () |
void | getParameters (Vector3d &direction, PointD3d &intercept, PointD3d &thickness) const |
bool | isValid () const |
ConstIterator | begin () const |
ConstIterator | end () const |
std::string | className () const |
void | selfDisplay (std::ostream &out) |
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)
Description of class 'ArithmeticalDSS3d'
Definition at line 74 of file ArithmeticalDSS3d.h.
typedef DGtal::ArithmeticalDSS<IteratorAdapter,TInteger,connectivity> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::ArithmeticalDSS2d |
Definition at line 111 of file ArithmeticalDSS3d.h.
typedef TIterator DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::ConstIterator |
Definition at line 87 of file ArithmeticalDSS3d.h.
typedef Point3d::Coordinate DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Coordinate |
Definition at line 95 of file ArithmeticalDSS3d.h.
typedef TInteger DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Integer |
Definition at line 83 of file ArithmeticalDSS3d.h.
typedef ConstIteratorAdapter<ConstIterator,Projector2d,Point2d> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::IteratorAdapter |
Definition at line 107 of file ArithmeticalDSS3d.h.
typedef DGtal::PointVector<2,Coordinate> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Point2d |
Definition at line 97 of file ArithmeticalDSS3d.h.
typedef IteratorCirculatorTraits<ConstIterator>::Value DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Point3d |
Definition at line 93 of file ArithmeticalDSS3d.h.
typedef DGtal::PointVector<2,double> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::PointD2d |
Definition at line 100 of file ArithmeticalDSS3d.h.
typedef DGtal::PointVector<3,double> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::PointD3d |
Definition at line 101 of file ArithmeticalDSS3d.h.
typedef Projector<SpaceND<2,Coordinate> > DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Projector2d |
Definition at line 105 of file ArithmeticalDSS3d.h.
typedef ArithmeticalDSS3d<ReverseIterator<ConstIterator>,TInteger,connectivity> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Reverse |
Definition at line 89 of file ArithmeticalDSS3d.h.
typedef ArithmeticalDSS3d<ConstIterator,TInteger,connectivity> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Self |
Definition at line 88 of file ArithmeticalDSS3d.h.
typedef DGtal::PointVector<2,Coordinate> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Vector2d |
Definition at line 98 of file ArithmeticalDSS3d.h.
typedef IteratorCirculatorTraits<ConstIterator>::Value DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::Vector3d |
Definition at line 94 of file ArithmeticalDSS3d.h.
typedef DGtal::PointVector<3,double> DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::VectorD3d |
Definition at line 102 of file ArithmeticalDSS3d.h.
|
inline |
Default constructor. not valid
Definition at line 52 of file ArithmeticalDSS3d.ih.
|
inline |
Constructor with initialisation
it | an iterator |
Constructor with initialisation
Definition at line 75 of file ArithmeticalDSS3d.ih.
|
inline |
Copy constructor.
other | the object to clone. |
Copy constructor.
other | the object to clone. Forbidden by default. |
Definition at line 127 of file ArithmeticalDSS3d.ih.
|
inline |
|
inline |
Definition at line 275 of file ArithmeticalDSS3d.ih.
Referenced by DGtal::Display3DFactory::drawAsBoundingBox(), and DGtal::Display3DFactory::drawAsPoints().
DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::BOOST_CONCEPT_ASSERT | ( | (CInteger< TInteger >) | ) |
|
inline |
Definition at line 408 of file ArithmeticalDSS3d.ih.
Referenced by DGtal::Display3DFactory::draw().
|
inline |
Definition at line 282 of file ArithmeticalDSS3d.ih.
Referenced by DGtal::Display3DFactory::drawAsBoundingBox(), and DGtal::Display3DFactory::drawAsPoints().
|
inline |
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.
Tests whether the union between a point (adding to the front of the DSS with respect to the scan orientaion) and a DSS is a DSS. Computes the parameters of the new DSS with the adding point if true.
it | an iterator on a sequence of points |
Definition at line 230 of file ArithmeticalDSS3d.ih.
References DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::extendForward().
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::extendForward().
|
inline |
Computes the parameters (direction, intercept, thickness) of the DSS
direction | |
intercept | |
thickness |
Definition at line 318 of file ArithmeticalDSS3d.ih.
Referenced by DGtal::Display3DFactory::drawAsBoundingBox().
|
inline |
Definition at line 170 of file ArithmeticalDSS3d.ih.
|
inline |
Definition at line 162 of file ArithmeticalDSS3d.ih.
|
inline |
Initialisation.
it | an iterator |
Initialisation.
it | an iterator on a sequence of points |
Definition at line 99 of file ArithmeticalDSS3d.ih.
|
inline |
Tests whether the 3d DSS can be extended at the front.
Definition at line 253 of file ArithmeticalDSS3d.ih.
References DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::isExtendableForward().
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::isExtendableForward().
|
inline |
|
inline |
Difference operator.
other | the object to compare with. |
Definition at line 208 of file ArithmeticalDSS3d.ih.
|
inline |
Assignment.
other | the object to copy. |
Assignment.
other | the object to copy. |
Definition at line 143 of file ArithmeticalDSS3d.ih.
References DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myBegin, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myEnd, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myProjXY, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myProjXZ, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myProjYZ, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myXYalgo, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myXZalgo, and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myYZalgo.
|
inline |
Equality operator.
other | the object to compare with. |
Equality operator.
other | the object to compare with. |
Definition at line 189 of file ArithmeticalDSS3d.ih.
References DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myBegin, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myEnd, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myXYalgo, DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myXZalgo, and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::myYZalgo.
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 423 of file ArithmeticalDSS3d.ih.
|
protected |
begin and end iterators
Definition at line 263 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=(), and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator==().
|
protected |
Definition at line 263 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=(), and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator==().
|
protected |
projectors
Definition at line 255 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=().
|
protected |
Definition at line 255 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=().
|
protected |
Definition at line 255 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=().
|
protected |
2d-arithmeticalDSS recognition algorithms
Definition at line 258 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=(), and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator==().
|
protected |
Definition at line 259 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=(), and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator==().
|
protected |
Definition at line 260 of file ArithmeticalDSS3d.h.
Referenced by DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator=(), and DGtal::ArithmeticalDSS3d< TIterator, TInteger, connectivity >::operator==().