Lagrange
Loading...
Searching...
No Matches
GeodesicEngineHeat< Scalar, Index >::Impl Struct Reference
Inheritance diagram for GeodesicEngineHeat< Scalar, Index >::Impl:
GeodesicEngine< Scalar, Index >

Public Types

using Super
 Parent class type.
 
using Mesh
 The mesh type.
 
- Public Types inherited from GeodesicEngine< Scalar, Index >
using Mesh = SurfaceMesh<Scalar, Index>
 The mesh type.
 

Public Member Functions

 GeodesicEngineHeat (Mesh &mesh)
 Precompute any data required for repeated geodesic distance computation.
 
 GeodesicEngineHeat (GeodesicEngineHeat &&)
 
 GeodesicEngineHeat (const GeodesicEngineHeat &)=delete
 
GeodesicEngineHeatoperator= (GeodesicEngineHeat &&)
 
GeodesicEngineHeatoperator= (const GeodesicEngineHeat &)=delete
 
SingleSourceGeodesicResult single_source_geodesic (const SingleSourceGeodesicOptions &options) override
 Compute single source geodesic distances using the heat method.
 
- Public Member Functions inherited from GeodesicEngine< Scalar, Index >
 GeodesicEngine (Mesh &mesh)
 Base class constructor.
 
virtual ~GeodesicEngine ()=default
 Base class destructor.
 
virtual Scalar point_to_point_geodesic (const PointToPointGeodesicOptions &options)
 Computes the geodesic distance between two points on the mesh.
 

Public Attributes

std::unique_ptr< gcSurfaceMesh > m_gc_mesh
 
std::unique_ptr< gcGeometry > m_gc_geom
 
std::optional< geometrycentral::surface::HeatMethodDistanceSolver > m_solver
 

Protected Attributes

lagrange::value_ptr< Implm_impl
 

Additional Inherited Members

- Protected Member Functions inherited from GeodesicEngine< Scalar, Index >
const Meshmesh () const
 
Meshmesh ()
 

Member Function Documentation

◆ GeodesicEngineHeat()

GeodesicEngineHeat ( Mesh & mesh)
explicit

Precompute any data required for repeated geodesic distance computation.

Parameters
meshReference to the input mesh.

◆ single_source_geodesic()

SingleSourceGeodesicResult single_source_geodesic ( const SingleSourceGeodesicOptions & options)
overridevirtual

Compute single source geodesic distances using the heat method.

This function only computes a distance, and does not compute polar angles. It is based on the following paper:

  • Crane, Keenan, Clarisse Weischedel, and Max Wardetzky. "Geodesics in heat: A new approach to computing distance based on heat flow." ACM Transactions on Graphics (TOG) 32.5 (2013): 1-11.
Parameters
optionsThe options for the computation.
Returns
The attribute ids of the geodesic distance (id for polar angle will be invalid).

Implements GeodesicEngine< Scalar, Index >.


The documentation for this struct was generated from the following file: