|
DGtal 2.0.0
|
#include <iostream>#include <string>#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/dec/PolygonalCalculus.h>#include <DGtal/dec/GeodesicsInHeat.h>#include <polyscope/polyscope.h>#include <polyscope/surface_mesh.h>#include <polyscope/pick.h>#include "ConfigExamples.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 PolygonalCalculus< SH3::RealPoint, SH3::RealVector > | PolyCalculus |
Functions | |
| void | precompute () |
| void | picksource (int v_idx) |
| void | computeGeodesics () |
| void | myCallback () |
| int | main () |
Variables | |
| polyscope::SurfaceMesh * | psMesh |
| SurfMesh | surfmesh |
| float | dt = 2.0 |
| float | Lambda = 0.05 |
| bool | Mixed = false |
| GeodesicsInHeat< PolyCalculus > * | heat |
| PolyCalculus * | calculus |
| int | vertex_idx = -1 |
| int | face_idx = -1 |
| int | edge_idx = -1 |
| bool | isPrecomputed =false |
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-halfsphere.cpp.
Definition at line 56 of file dgtalCalculus-halfsphere.cpp.
| typedef Shortcuts<Z3i::KSpace> SH3 |
Definition at line 50 of file dgtalCalculus-halfsphere.cpp.
| typedef ShortcutsGeometry<Z3i::KSpace> SHG3 |
Definition at line 51 of file dgtalCalculus-halfsphere.cpp.
| void computeGeodesics | ( | ) |
Definition at line 97 of file dgtalCalculus-halfsphere.cpp.
Referenced by myCallback().
| int main | ( | void | ) |
Definition at line 155 of file dgtalCalculus-halfsphere.cpp.
References binary_image, DGtal::Shortcuts< Z3i::KSpace >::defaultParameters(), DGtal::ShortcutsGeometry< Z3i::KSpace >::defaultParameters(), DGtal::Shortcuts< Z3i::KSpace >::getKSpace(), DGtal::ShortcutsGeometry< Z3i::KSpace >::getNormalVectors(), DGtal::Shortcuts< Z3i::KSpace >::getSurfelRange(), K, DGtal::Shortcuts< Z3i::KSpace >::makeBinaryImage(), DGtal::Shortcuts< Z3i::KSpace >::makeDigitalSurface(), DGtal::Shortcuts< Z3i::KSpace >::makeDigitizedImplicitShape3D(), DGtal::Shortcuts< Z3i::KSpace >::makeImplicitShape3D(), DGtal::Shortcuts< Z3i::KSpace >::makePrimalSurfaceMesh(), myCallback(), DGtal::ShortcutsGeometry< Z3i::KSpace >::parametersGeometryEstimation(), psMesh, surface, and surfmesh.
| void myCallback | ( | ) |
Definition at line 105 of file dgtalCalculus-halfsphere.cpp.
References computeGeodesics(), dt, isPrecomputed, Lambda, Mixed, picksource(), precompute(), and vertex_idx.
| void picksource | ( | int | v_idx | ) |
Definition at line 90 of file dgtalCalculus-halfsphere.cpp.
Referenced by myCallback().
| void precompute | ( | ) |
Definition at line 71 of file dgtalCalculus-halfsphere.cpp.
References calculus, DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), dt, heat, Lambda, Mixed, surfmesh, and DGtal::trace.
Referenced by myCallback().
| PolyCalculus* calculus |
Definition at line 64 of file dgtalCalculus-halfsphere.cpp.
| float dt = 2.0 |
Definition at line 60 of file dgtalCalculus-halfsphere.cpp.
| int edge_idx = -1 |
Definition at line 67 of file dgtalCalculus-halfsphere.cpp.
| int face_idx = -1 |
Definition at line 66 of file dgtalCalculus-halfsphere.cpp.
| GeodesicsInHeat<PolyCalculus>* heat |
Definition at line 63 of file dgtalCalculus-halfsphere.cpp.
| bool isPrecomputed =false |
Definition at line 104 of file dgtalCalculus-halfsphere.cpp.
| float Lambda = 0.05 |
Definition at line 61 of file dgtalCalculus-halfsphere.cpp.
Referenced by myCallback(), and precompute().
| bool Mixed = false |
Definition at line 62 of file dgtalCalculus-halfsphere.cpp.
Referenced by myCallback(), and precompute().
| polyscope::SurfaceMesh* psMesh |
Definition at line 58 of file dgtalCalculus-halfsphere.cpp.
| SurfMesh surfmesh |
Definition at line 59 of file dgtalCalculus-halfsphere.cpp.
| int vertex_idx = -1 |
Definition at line 65 of file dgtalCalculus-halfsphere.cpp.
Referenced by myCallback().