DGtal 2.1.0
|
An example of generating a grid curve from a parametric shape and estimating its length. More...
#include <iostream>
#include <fstream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/shapes/ShapeFactory.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/topology/helpers/Surfaces.h"
#include "DGtal/geometry/curves/GridCurve.h"
#include "DGtal/geometry/curves/estimation/TrueGlobalEstimatorOnPoints.h"
#include "DGtal/geometry/curves/estimation/ParametricShapeArcLengthFunctor.h"
#include "DGtal/geometry/curves/estimation/DSSLengthEstimator.h"
#include "DGtal/io/boards/Board2D.h"
Go to the source code of this file.
Functions | |
int | main () |
An example of generating a grid curve from a parametric shape and estimating its length.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This file is part of the DGtal library.
Definition in file shapeGridCurveEstimator.cpp.
int main | ( | void | ) |
[shapeGridCurveEstimator-dig]
[shapeGridCurveEstimator-dig]
[shapeGridCurveEstimator-prepareTracking]
[shapeGridCurveEstimator-prepareTracking]
[shapeGridCurveEstimator-tracking]
[shapeGridCurveEstimator-tracking]
[shapeGridCurveEstimator-instantiation]
[shapeGridCurveEstimator-instantiation]
[shapeGridCurveEstimator-getRange]
[shapeGridCurveEstimator-getRange]
[shapeGridCurveEstimator-lengthEstimation]
[shapeGridCurveEstimator-lengthEstimation]
[shapeGridCurveEstimator-trueLengthEstimation]
[shapeGridCurveEstimator-trueLengthEstimation]
[shapeGridCurveEstimator-higher]
[shapeGridCurveEstimator-higher]
Definition at line 70 of file shapeGridCurveEstimator.cpp.
References DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::attach(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::attach(), LibBoard::Board::clear(), DGtal::DSSLengthEstimator< TConstIterator >::eval(), DGtal::Surfaces< TKSpace >::findABel(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getLowerBound(), DGtal::Flower2D< TSpace >::getLowerBound(), DGtal::GridCurve< TKSpace >::getPointsRange(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getUpperBound(), DGtal::Flower2D< TSpace >::getUpperBound(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::init(), DGtal::GridCurve< TKSpace >::initFromPointsVector(), LibBoard::Board::saveEPS(), and DGtal::trace.