DGtal 1.4.0
|
#include <iostream>
#include <DGtal/base/Common.h>
#include <DGtal/helpers/StdDefs.h>
#include <DGtal/helpers/Shortcuts.h>
#include <DGtal/helpers/ShortcutsGeometry.h>
#include <DGtal/shapes/SurfaceMesh.h>
#include <DGtal/geometry/surfaces/DigitalSurfaceRegularization.h>
#include <DGtal/dec/PolygonalCalculus.h>
#include <polyscope/polyscope.h>
#include <polyscope/surface_mesh.h>
#include <polyscope/point_cloud.h>
#include <polyscope/curve_network.h>
#include <Eigen/Dense>
#include <Eigen/Sparse>
Go to the source code of this file.
Typedefs | |
typedef Shortcuts< Z3i::KSpace > | SH3 |
typedef ShortcutsGeometry< Z3i::KSpace > | SHG3 |
typedef SurfaceMesh< RealPoint, RealVector > | SurfMesh |
typedef SurfMesh::Vertices | Vertices |
typedef SurfMesh::RealPoint | RealPoint |
typedef SurfMesh::Face | Face |
typedef SurfMesh::Vertex | Vertex |
Functions | |
void | initPhi () |
void | initQuantities () |
int | main () |
Variables | |
polyscope::SurfaceMesh * | psMesh |
polyscope::PointCloud * | psVertices |
polyscope::CurveNetwork * | psBoundary |
SurfMesh | surfmesh |
PolygonalCalculus< SH3::RealPoint, SH3::RealVector >::Vector | phiEigen |
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 dgtalCalculus-single.cpp.
typedef SurfMesh::Face Face |
Definition at line 53 of file dgtalCalculus-single.cpp.
typedef SurfMesh::RealPoint RealPoint |
Definition at line 52 of file dgtalCalculus-single.cpp.
typedef Shortcuts<Z3i::KSpace> SH3 |
Definition at line 47 of file dgtalCalculus-single.cpp.
typedef ShortcutsGeometry<Z3i::KSpace> SHG3 |
Definition at line 48 of file dgtalCalculus-single.cpp.
typedef SurfaceMesh< RealPoint, RealVector > SurfMesh |
Definition at line 50 of file dgtalCalculus-single.cpp.
typedef SurfMesh::Vertex Vertex |
Definition at line 54 of file dgtalCalculus-single.cpp.
typedef SurfMesh::Vertices Vertices |
Definition at line 51 of file dgtalCalculus-single.cpp.
void initPhi | ( | ) |
Definition at line 65 of file dgtalCalculus-single.cpp.
References phiEigen, psMesh, and psVertices.
Referenced by main().
void initQuantities | ( | ) |
Definition at line 74 of file dgtalCalculus-single.cpp.
References DGtal::PolygonalCalculus< TRealPoint, TRealVector >::A(), calculus, DGtal::PolygonalCalculus< TRealPoint, TRealVector >::centroidAsDGtalPoint(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::coGradient(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::D(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::faceArea(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::faceNormalAsDGtalVector(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::flat(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::gradient(), phiEigen, psBoundary, psMesh, DGtal::PolygonalCalculus< TRealPoint, TRealVector >::sharp(), surfmesh, and DGtal::PolygonalCalculus< TRealPoint, TRealVector >::vectorArea().
Referenced by main().
int main | ( | void | ) |
Definition at line 130 of file dgtalCalculus-single.cpp.
References initPhi(), initQuantities(), psBoundary, psMesh, psVertices, and surfmesh.
Definition at line 63 of file dgtalCalculus-single.cpp.
Referenced by initPhi(), and initQuantities().
polyscope::CurveNetwork* psBoundary |
Definition at line 60 of file dgtalCalculus-single.cpp.
Referenced by initQuantities(), and main().
polyscope::SurfaceMesh* psMesh |
Definition at line 58 of file dgtalCalculus-single.cpp.
Referenced by initPhi(), initQuantities(), and main().
polyscope::PointCloud* psVertices |
Definition at line 59 of file dgtalCalculus-single.cpp.
SurfMesh surfmesh |
Definition at line 62 of file dgtalCalculus-single.cpp.
Referenced by initQuantities(), and main().