DGtal 1.4.0
|
#include <DGtal/helpers/StdDefs.h>
#include <DGtal/base/BasicFunctors.h>
#include <DGtal/topology/DigitalSurface.h>
#include <DGtal/topology/SetOfSurfels.h>
#include <DGtal/topology/CanonicCellEmbedder.h>
#include <DGtal/topology/LightImplicitDigitalSurface.h>
#include <DGtal/io/colormaps/ColorBrightnessColorMap.h>
#include <DGtal/geometry/surfaces/estimation/LocalEstimatorFromSurfelFunctorAdapter.h>
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
#include <DGtal/geometry/surfaces/estimation/IntegralInvariantCovarianceEstimator.h>
#include <DGtal/shapes/parametric/Ball3D.h>
#include <DGtal/shapes/Shapes.h>
#include <DGtal/shapes/GaussDigitizer.h>
#include <DGtal/shapes/Mesh.h>
#include <DGtal/shapes/MeshHelpers.h>
#include "DGtal/shapes/TriangulatedSurface.h"
#include <DGtal/io/viewers/Viewer3D.h>
#include <DGtal/math/linalg/EigenSupport.h>
Go to the source code of this file.
Typedefs | |
typedef Z3i::RealVector | RealVector3D |
typedef Z3i::RealPoint | RealPoint3D |
Functions | |
RealPoint | cartesian_to_spherical (const RealPoint3D &a) |
template<typename Shape > | |
void | laplacian (Shape &shape, const Options &options, std::function< double(const RealPoint3D &)> input_function, std::function< double(const RealPoint3D &)> target_function, int argc, char **argv) |
int | main (int argc, char **argv) |
This program is free software : you can redistribuate 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 you option) any later version.
This program is distributed int 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, set http://www.gnu.org/license/.
An example file named exampleTriangulatedSurface.
This file is part of the DGtal library.
Definition in file sphereCotangentLaplaceOperator.cpp.
typedef Z3i::RealPoint RealPoint3D |
Definition at line 70 of file sphereCotangentLaplaceOperator.cpp.
typedef Z3i::RealVector RealVector3D |
Definition at line 69 of file sphereCotangentLaplaceOperator.cpp.
RealPoint cartesian_to_spherical | ( | const RealPoint3D & | a | ) |
Definition at line 72 of file sphereCotangentLaplaceOperator.cpp.
Referenced by laplacian(), and main().
void laplacian | ( | Shape & | shape, |
const Options & | options, | ||
std::function< double(const RealPoint3D &)> | input_function, | ||
std::function< double(const RealPoint3D &)> | target_function, | ||
int | argc, | ||
char ** | argv ) |
Definition at line 87 of file sphereCotangentLaplaceOperator.cpp.
References DGtal::TriangulatedSurface< TPoint >::allVertices(), DGtal::Trace::beginBlock(), cartesian_to_spherical(), DGtal::crossProduct(), DGtal::MeshHelpers::digitalSurface2DualTriangulatedSurface(), domain, DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::TriangulatedSurface< TPoint >::facesAroundVertex(), DGtal::Astroid2D< TSpace >::getLowerBound(), DGtal::Astroid2D< TSpace >::getUpperBound(), DGtal::TriangulatedSurface< TPoint >::head(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::HyperRectDomain< TSpace >::lowerBound(), DGtal::TriangulatedSurface< TPoint >::nbFaces(), DGtal::TriangulatedSurface< TPoint >::nbVertices(), DGtal::TriangulatedSurface< TPoint >::next(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::norm(), DGtal::TriangulatedSurface< TPoint >::opposite(), DGtal::TriangulatedSurface< TPoint >::outArcs(), DGtal::TriangulatedSurface< TPoint >::position(), DGtal::Color::Red, DGtal::Viewer3D< TSpace, TKSpace >::show(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::Surfaces< TKSpace >::sMakeBoundary(), DGtal::trace, DGtal::MeshHelpers::triangulatedSurface2Mesh(), DGtal::HyperRectDomain< TSpace >::upperBound(), and DGtal::TriangulatedSurface< TPoint >::verticesAroundFace().
Referenced by DGtal::GeodesicsInHeat< TPolygonalCalculus >::init(), DGtal::VectorsInHeat< TPolygonalCalculus >::init(), and main().
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 276 of file sphereCotangentLaplaceOperator.cpp.
References cartesian_to_spherical(), laplacian(), and DGtal::PointVector< dim, TEuclideanRing, TContainer >::norm().