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 <DGtal/math/linalg/DirichletConditions.h>
#include <polyscope/polyscope.h>
#include <polyscope/surface_mesh.h>
#include <polyscope/point_cloud.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 std::size_t | Index |
Functions | |
void | computeLaplace () |
void | myCallback () |
int | main () |
Variables | |
polyscope::SurfaceMesh * | psMesh |
SurfMesh | surfmesh |
float | scale = 0.1 |
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-poisson.cpp.
typedef std::size_t Index |
Definition at line 52 of file dgtalCalculus-poisson.cpp.
typedef Shortcuts<Z3i::KSpace> SH3 |
Definition at line 48 of file dgtalCalculus-poisson.cpp.
typedef ShortcutsGeometry<Z3i::KSpace> SHG3 |
Definition at line 49 of file dgtalCalculus-poisson.cpp.
typedef SurfaceMesh< RealPoint, RealVector > SurfMesh |
Definition at line 51 of file dgtalCalculus-poisson.cpp.
void computeLaplace | ( | ) |
[PolyDEC-init]
[PolyDEC-init]
Definition at line 58 of file dgtalCalculus-poisson.cpp.
References calculus, DGtal::SurfaceMesh< TRealPoint, TRealVector >::computeManifoldBoundaryEdges(), DGtal::SurfaceMesh< TRealPoint, TRealVector >::edgeVertices(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::form0(), DGtal::PolygonalCalculus< TRealPoint, TRealVector >::globalLaplaceBeltrami(), DGtal::SurfaceMesh< TRealPoint, TRealVector >::position(), psMesh, and surfmesh.
Referenced by myCallback().
int main | ( | void | ) |
Definition at line 104 of file dgtalCalculus-poisson.cpp.
References binary_image, DGtal::Shortcuts< TKSpace >::defaultParameters(), DGtal::ShortcutsGeometry< TKSpace >::defaultParameters(), DGtal::Shortcuts< TKSpace >::getKSpace(), K, DGtal::Shortcuts< TKSpace >::makeBinaryImage(), DGtal::Shortcuts< TKSpace >::makeDigitalSurface(), DGtal::Shortcuts< TKSpace >::makeDigitizedImplicitShape3D(), DGtal::Shortcuts< TKSpace >::makeImplicitShape3D(), DGtal::Shortcuts< TKSpace >::makePrimalSurfaceMesh(), myCallback(), DGtal::ShortcutsGeometry< TKSpace >::parametersGeometryEstimation(), psMesh, surface, and surfmesh.
void myCallback | ( | ) |
Definition at line 97 of file dgtalCalculus-poisson.cpp.
References computeLaplace().
Referenced by main().
polyscope::SurfaceMesh* psMesh |
Definition at line 54 of file dgtalCalculus-poisson.cpp.
Referenced by computeLaplace(), and main().
float scale = 0.1 |
Definition at line 56 of file dgtalCalculus-poisson.cpp.
SurfMesh surfmesh |
Definition at line 55 of file dgtalCalculus-poisson.cpp.
Referenced by computeLaplace(), and main().