|
DGtal 2.0.0
|
#include <iostream>#include <unordered_map>#include "ConfigExamples.h"#include "DGtal/helpers/StdDefs.h"#include "DGtal/base/Common.h"#include "DGtal/geometry/surfaces/estimation/PlaneProbingTetrahedronEstimator.h"#include "DGtal/geometry/surfaces/estimation/PlaneProbingParallelepipedEstimator.h"#include "DGtal/geometry/surfaces/DigitalSurfacePredicate.h"#include "DGtal/geometry/surfaces/estimation/PlaneProbingDigitalSurfaceLocalEstimator.h"#include "DGtal/helpers/Shortcuts.h"#include "DGtal/helpers/ShortcutsGeometry.h"#include "DGtal/io/viewers/PolyscopeViewer.h"Go to the source code of this file.
Typedefs | |
| using | SH3 = Shortcuts<KSpace> |
| using | SHG3 = ShortcutsGeometry<KSpace> |
| using | Surfel = SH3::Surfel |
Functions | |
| RealPoint | centerSurfel (KSpace const &K, SH3::SCell const &s) |
| int | main (int argc, char **argv) |
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 that shows how to construct and use a PlaneProbingDigitalSurfaceLocalEstimator.
This file is part of the DGtal library.
Definition in file examplePlaneProbingSurfaceLocalEstimator.cpp.
Definition at line 49 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
| using SHG3 = ShortcutsGeometry<KSpace> |
Definition at line 50 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
| using Surfel = SH3::Surfel |
Definition at line 52 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
| RealPoint centerSurfel | ( | KSpace const & | K, |
| SH3::SCell const & | s ) |
Definition at line 57 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
References DGtal::Shortcuts< KSpace >::getPrimalVertices(), and K.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
[PlaneProbingDigitalSurfaceLocalEstimatorConstruction]
[PlaneProbingDigitalSurfaceLocalEstimatorConstruction]
[PlaneProbingDigitalSurfaceLocalEstimatorUsage]
[PlaneProbingDigitalSurfaceLocalEstimatorUsage]
Definition at line 72 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
References centerSurfel(), DGtal::Shortcuts< KSpace >::defaultParameters(), DGtal::ShortcutsGeometry< KSpace >::defaultParameters(), DGtal::Shortcuts< KSpace >::getKSpace(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::getNormalized(), DGtal::Shortcuts< KSpace >::getSurfelRange(), DGtal::Color::Green, K, DGtal::Shortcuts< KSpace >::makeBinaryImage(), DGtal::Shortcuts< KSpace >::makeDigitalSurface(), DGtal::Color::Red, surface, and DGtal::Color::White.