DGtal
1.5.beta
|
#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/Viewer3D.h"
Go to the source code of this file.
Typedefs | |
using | KSpace = Z3i::KSpace |
using | SH3 = Shortcuts< KSpace > |
using | SHG3 = ShortcutsGeometry< KSpace > |
using | Surface = SH3::DigitalSurface |
using | Surfel = SH3::Surfel |
using | Point = SH3::Point |
using | RealPoint = SH3::RealPoint |
using | Integer = Point::Coordinate |
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.
using Integer = Point::Coordinate |
Definition at line 55 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
using KSpace = Z3i::KSpace |
Definition at line 48 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
using Point = SH3::Point |
Definition at line 53 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
using RealPoint = SH3::RealPoint |
Definition at line 54 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
Definition at line 49 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
using SHG3 = ShortcutsGeometry<KSpace> |
Definition at line 50 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
using Surface = SH3::DigitalSurface |
Definition at line 51 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 K, and DGtal::KhalimskySpaceND< dim, TInteger >::uCoords().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
[PlaneProbingDigitalSurfaceLocalEstimatorConstruction]
[PlaneProbingDigitalSurfaceLocalEstimatorConstruction]
[PlaneProbingDigitalSurfaceLocalEstimatorUsage]
[PlaneProbingDigitalSurfaceLocalEstimatorUsage]
Definition at line 72 of file examplePlaneProbingSurfaceLocalEstimator.cpp.
References centerSurfel(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::getNormalized(), K, and surface.