36 #if defined(StandardDSS6Computer_RECURSES)
37 #error Recursive header files inclusion detected in StandardDSS6Computer.h
40 #define StandardDSS6Computer_RECURSES
42 #if !defined StandardDSS6Computer_h
44 #define StandardDSS6Computer_h
51 #include <boost/array.hpp>
52 #include "DGtal/base/Exceptions.h"
53 #include "DGtal/base/Common.h"
54 #include "DGtal/kernel/PointVector.h"
55 #include "DGtal/kernel/CInteger.h"
56 #include "DGtal/geometry/curves/ArithmeticalDSSComputer.h"
57 #include "DGtal/base/ConstIteratorAdapter.h"
58 #include "DGtal/kernel/BasicPointFunctors.h"
75 template <
typename TIterator,
typename TInteger,
int connectivity>
313 template <
typename TIterator,
typename TInteger,
int connectivity>
317 object.selfDisplay( out);
328 #include "DGtal/geometry/curves/StandardDSS6Computer.ih"
335 #undef StandardDSS6Computer_RECURSES
This class adapts any iterator so that operator* returns another element than the one pointed to by t...
Aim: Implements basic operations that will be used in Point and Vector classes.
Aim: Dynamic recognition of a 3d-digital straight segment (DSS)
const ArithmeticalDSSComputer2d & arithmeticalDSS2dYZ() const
StandardDSS6Computer & operator=(const StandardDSS6Computer &other)
ConstIteratorAdapter< ConstIterator, Projector2d, Point2d > IteratorAdapter
Iterator over adapter.
functors::Projector< SpaceND< 2, Coordinate > > Projector2d
Adapter for iterators.
ConstIterator end() const
StandardDSS6Computer< ConstIterator, TInteger, connectivity > Self
Self type.
ArithmeticalDSSComputer2d myXYalgo
2d-arithmeticalDSS recognition algorithms
ConstIterator begin() const
DGtal::ArithmeticalDSSComputer< IteratorAdapter, TInteger, connectivity > ArithmeticalDSSComputer2d
2D arithmetical DSS recognition algorithm
ArithmeticalDSSComputer2d myXZalgo
Projector2d myProjXY
projectors
BOOST_CONCEPT_ASSERT((concepts::CInteger< TInteger >))
TInteger Integer
Type of integer, devoted to remainders (and intercepts)
Reverse getReverse() const
std::pair< Integer, Integer > Quotient
Type which represent quotient of two integers first/second.
Point3d::Coordinate Coordinate
Type of 3d digital point coordinate.
TIterator ConstIterator
Type of iterator, at least readable and forward.
StandardDSS6Computer(const StandardDSS6Computer &other)
void init(const ConstIterator &it)
const ArithmeticalDSSComputer2d & arithmeticalDSS2dXZ() const
bool isInDSS(const ConstIterator &it) const
void getParameters(Vector3d &direction, PointR3d &intercept, PointR3d &thickness) const
bool operator==(const StandardDSS6Computer &other) const
StandardDSS6Computer(const ConstIterator &it)
IteratorCirculatorTraits< ConstIterator >::Value Point3d
Type of 3d digital point.
bool operator!=(const StandardDSS6Computer &other) const
boost::array< Quotient, 3 > PointR3d
Type of 3d rational point.
void selfDisplay(std::ostream &out) const
ConstIterator myBegin
begin and end iterators
DGtal::PointVector< 2, Coordinate > Point2d
Type of 2d digital point.
const ArithmeticalDSSComputer2d & arithmeticalDSS2dXY() const
const ArithmeticalDSSComputer2d & arithmeticalDSS2d(Dimension i) const
StandardDSS6Computer< ReverseIterator< ConstIterator >, TInteger, connectivity > Reverse
Reverse type.
std::string className() const
bool isInDSS(const Point3d &aPoint) const
IteratorCirculatorTraits< ConstIterator >::Value Vector3d
Type of 3d digital vector.
ArithmeticalDSSComputer2d myYZalgo
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
DGtal::uint32_t Dimension
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Aim: Functor that maps a point P of dimension i to a point Q of dimension j. The member myDims is an ...