DGtal 1.4.2
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/topology/KhalimskySpaceND.h"
#include "DGtal/topology/SurfelAdjacency.h"
#include "DGtal/topology/SurfelNeighborhood.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/shapes/ShapeFactory.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/geometry/curves/GridCurve.h"
#include "DGtal/geometry/curves/estimation/MostCenteredMaximalSegmentEstimator.h"
#include "DGtal/geometry/curves/StabbingCircleComputer.h"
Go to the source code of this file.
Functions | |
template<typename Shape , typename RealPoint > | |
bool | estimatorOnShapeDigitization (const string &name, Shape &aShape, const RealPoint &low, const RealPoint &up, double h) |
int | main () |
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/.
An example file named exampleCurvature.
This file is part of the DGtal library.
Definition in file exampleCurvature.cpp.
bool estimatorOnShapeDigitization | ( | const string & | name, |
Shape & | aShape, | ||
const RealPoint & | low, | ||
const RealPoint & | up, | ||
double | h ) |
[MostCenteredConstruction]
[MostCenteredConstruction]
[MostCenteredInit]
[MostCenteredInit]
[MostCenteredEvaluation]
[MostCenteredEvaluation]
Definition at line 65 of file exampleCurvature.cpp.
References DGtal::GaussDigitizer< TSpace, TEuclideanShape >::attach(), DGtal::Trace::beginBlock(), domain, DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Surfaces< TKSpace >::findABel(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getDomain(), DGtal::GridCurve< TKSpace >::getIncidentPointsRange(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getLowerBound(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::getUpperBound(), DGtal::GaussDigitizer< TSpace, TEuclideanShape >::init(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::GridCurve< TKSpace >::initFromVector(), DGtal::GridCurve< TKSpace >::isOpen(), K, DGtal::trace, and DGtal::Surfaces< TKSpace >::track2DBoundaryPoints().
Referenced by main().
int main | ( | void | ) |
Definition at line 164 of file exampleCurvature.cpp.
References DGtal::Trace::beginBlock(), DGtal::PointVector< 3, double >::diagonal(), DGtal::Trace::endBlock(), estimatorOnShapeDigitization(), DGtal::Trace::info(), and DGtal::trace.