|
DGtal 1.4.0
|
Aim: More...
#include <DGtal/geometry/surfaces/estimation/MaximalSegmentSliceEstimation.h>
Public Types | |
| using | Surface = TSurface |
| using | Tracker = typename Surface::DigitalSurfaceTracker |
| using | SurfaceSlice = DigitalSurface2DSlice<Tracker> |
| using | Scalar = double |
| using | KSpace = typename Surface::KSpace |
| using | SCell = typename KSpace::SCell |
| using | Cell = typename KSpace::Cell |
| using | Point = typename Surface::Point |
| using | Vector = Point |
| using | Integer = typename Point::Coordinate |
| using | Space = typename KSpace::Space |
| using | RealPoint = typename Space::RealPoint |
| using | RealVector = RealPoint |
| using | Surfel = typename Surface::Surfel |
| using | Quantity = RealVector |
Public Member Functions | |
| MaximalSegmentSliceEstimation () | |
| MaximalSegmentSliceEstimation (ConstAlias< Surface > aSurface) | |
| ~MaximalSegmentSliceEstimation () | |
| MaximalSegmentSliceEstimation (const MaximalSegmentSliceEstimation &other) | |
| MaximalSegmentSliceEstimation & | operator= (const MaximalSegmentSliceEstimation &other) |
| template<typename SurfelConstIterator > | |
| void | init (Scalar const &h, SurfelConstIterator itb, SurfelConstIterator ite) |
| template<typename SurfelConstIterator > | |
| Quantity | eval (SurfelConstIterator it) const |
| template<typename SurfelConstIterator , typename OutputIterator > | |
| OutputIterator | eval (SurfelConstIterator itb, SurfelConstIterator ite, OutputIterator out) const |
| Scalar | h () const |
| void | attach (ConstAlias< Surface > aSurface) |
| void | selfDisplay (std::ostream &out) const |
| bool | isValid () const |
Private Types | |
| using | Point2 = PointVector<2, Integer> |
| using | RealPoint2 = PointVector<2, double> |
| using | Container = std::deque<SCell> |
| using | Iterator = typename Container::const_iterator |
| using | DSSComputer = ArithmeticalDSSComputerOnSurfels<KSpace, Circulator<Iterator>, Integer, 4> |
Private Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CDigitalSurfaceContainer< typename TSurface::DigitalSurfaceContainer >)) | |
| KSpace const & | space () const |
| std::pair< Point2, Point2 > | getExtremalPoints (SurfaceSlice const &aSlice, Dimension const &aProjectDir1, Dimension const &aProjectDir2) const |
| Vector | trivialNormal (Surfel const &aSurfel) const |
Private Attributes | |
| CountedConstPtrOrConstPtr< Surface > | mySurface |
| Scalar | myH |
Aim:
Description of template class 'MaximalSegmentSliceEstimation'
| TSurface | the digital surface type. |
Models: A MaximalSegmentSliceEstimation is a model of concepts::CSurfelLocalEstimator and concepts::CDigitalSurfaceLocalEstimator.
Definition at line 65 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Cell = typename KSpace::Cell |
Definition at line 79 of file MaximalSegmentSliceEstimation.h.
|
private |
Definition at line 95 of file MaximalSegmentSliceEstimation.h.
|
private |
Definition at line 97 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Integer = typename Point::Coordinate |
Definition at line 82 of file MaximalSegmentSliceEstimation.h.
|
private |
Definition at line 96 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::KSpace = typename Surface::KSpace |
Definition at line 77 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Point = typename Surface::Point |
Definition at line 80 of file MaximalSegmentSliceEstimation.h.
|
private |
Definition at line 93 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Quantity = RealVector |
Definition at line 89 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::RealPoint = typename Space::RealPoint |
Definition at line 84 of file MaximalSegmentSliceEstimation.h.
|
private |
Definition at line 94 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::RealVector = RealPoint |
Definition at line 85 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Scalar = double |
Definition at line 74 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::SCell = typename KSpace::SCell |
Definition at line 78 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Space = typename KSpace::Space |
Definition at line 83 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Surface = TSurface |
Definition at line 71 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::SurfaceSlice = DigitalSurface2DSlice<Tracker> |
Definition at line 73 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Surfel = typename Surface::Surfel |
Definition at line 88 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Tracker = typename Surface::DigitalSurfaceTracker |
Definition at line 72 of file MaximalSegmentSliceEstimation.h.
| using DGtal::MaximalSegmentSliceEstimation< TSurface >::Vector = Point |
Definition at line 81 of file MaximalSegmentSliceEstimation.h.
| DGtal::MaximalSegmentSliceEstimation< TSurface >::MaximalSegmentSliceEstimation | ( | ) |
Default constructor.
| DGtal::MaximalSegmentSliceEstimation< TSurface >::MaximalSegmentSliceEstimation | ( | ConstAlias< Surface > | aSurface | ) |
Constructor.
| aSurface | a digiral surface. |
| DGtal::MaximalSegmentSliceEstimation< TSurface >::~MaximalSegmentSliceEstimation | ( | ) |
Destructor.
| DGtal::MaximalSegmentSliceEstimation< TSurface >::MaximalSegmentSliceEstimation | ( | const MaximalSegmentSliceEstimation< TSurface > & | other | ) |
Copy constructor.
| other | the object to clone. |
| void DGtal::MaximalSegmentSliceEstimation< TSurface >::attach | ( | ConstAlias< Surface > | aSurface | ) |
|
private |
| Quantity DGtal::MaximalSegmentSliceEstimation< TSurface >::eval | ( | SurfelConstIterator | it | ) | const |
Estimates the quantity on a surfel.
| it | an iterator whose value type is a Surfel. |
| OutputIterator DGtal::MaximalSegmentSliceEstimation< TSurface >::eval | ( | SurfelConstIterator | itb, |
| SurfelConstIterator | ite, | ||
| OutputIterator | out ) const |
Estimates the quantity on a range of surfels.
| itb | an iterator on the start of the range of surfels. |
| ite | a past-the-end iterator of the range of surfels. |
| out | an output iterator to store the results. |
|
private |
Computes the extremal points of a set of 2D digital points using maximal segments.
| aSlice | a slice of the digital surface. |
| aProjectDir1 | the first direction of projection. |
| aProjectDir2 | the second direction of projection. |
| Scalar DGtal::MaximalSegmentSliceEstimation< TSurface >::h | ( | ) | const |
| void DGtal::MaximalSegmentSliceEstimation< TSurface >::init | ( | Scalar const & | h, |
| SurfelConstIterator | itb, | ||
| SurfelConstIterator | ite ) |
Initializes the estimator (in this case, do nothing apart from storing the gridstep).
| h | the grdstep. |
| itb | an iterator on the start of the range of surfels. |
| ite | a past-the-end iterator of the range of surfels. |
| bool DGtal::MaximalSegmentSliceEstimation< TSurface >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
| MaximalSegmentSliceEstimation & DGtal::MaximalSegmentSliceEstimation< TSurface >::operator= | ( | const MaximalSegmentSliceEstimation< TSurface > & | other | ) |
Copy assignment operator.
| other | the object to copy. |
| void DGtal::MaximalSegmentSliceEstimation< TSurface >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
|
private |
Khalimsky space associated to the digital surface.
|
private |
| aSurfel | a surfel. |
|
private |
The gridstep
Definition at line 193 of file MaximalSegmentSliceEstimation.h.
|
private |
A pointer to the digital surface.
Definition at line 192 of file MaximalSegmentSliceEstimation.h.