MeshLib
 
Loading...
Searching...
No Matches
MR::EdgePathsBuilderT< MetricToPenalty > Class Template Reference

the class is responsible for finding smallest metric edge paths on a mesh More...

#include <MREdgePathsBuilder.h>

Classes

struct  ReachedVert
 

Public Member Functions

bool done () const
 
float doneDistance () const
 
const VertPathInfoMapvertPathInfoMap () const
 

Protected Attributes

MetricToPenalty metricToPenalty_
 
 EdgePathsBuilderT (const MeshTopology &topology, const EdgeMetric &metric)
 
bool addStart (VertId startVert, float startMetric)
 
ReachedVert reachNext ()
 
bool addOrgRingSteps (const ReachedVert &rv)
 
ReachedVert growOneEdge ()
 
const VertPathInfogetVertInfo (VertId v) const
 
EdgePath getPathBack (VertId backpathStart) const
 

Detailed Description

template<class MetricToPenalty>
class MR::EdgePathsBuilderT< MetricToPenalty >

the class is responsible for finding smallest metric edge paths on a mesh

Constructor & Destructor Documentation

◆ EdgePathsBuilderT()

template<class MetricToPenalty >
MR::EdgePathsBuilderT< MetricToPenalty >::EdgePathsBuilderT ( const MeshTopology & topology,
const EdgeMetric & metric )

Member Function Documentation

◆ addOrgRingSteps()

template<class MetricToPenalty >
bool MR::EdgePathsBuilderT< MetricToPenalty >::addOrgRingSteps ( const ReachedVert & rv)

◆ addStart()

template<class MetricToPenalty >
bool MR::EdgePathsBuilderT< MetricToPenalty >::addStart ( VertId startVert,
float startMetric )

◆ done()

template<class MetricToPenalty >
bool MR::EdgePathsBuilderT< MetricToPenalty >::done ( ) const
inline

◆ doneDistance()

template<class MetricToPenalty >
float MR::EdgePathsBuilderT< MetricToPenalty >::doneDistance ( ) const
inline

◆ getPathBack()

template<class MetricToPenalty >
EdgePath MR::EdgePathsBuilderT< MetricToPenalty >::getPathBack ( VertId backpathStart) const

◆ getVertInfo()

template<class MetricToPenalty >
const VertPathInfo * MR::EdgePathsBuilderT< MetricToPenalty >::getVertInfo ( VertId v) const

◆ growOneEdge()

template<class MetricToPenalty >
auto MR::EdgePathsBuilderT< MetricToPenalty >::growOneEdge ( )

◆ reachNext()

template<class MetricToPenalty >
auto MR::EdgePathsBuilderT< MetricToPenalty >::reachNext ( )

◆ vertPathInfoMap()

template<class MetricToPenalty >
const VertPathInfoMap & MR::EdgePathsBuilderT< MetricToPenalty >::vertPathInfoMap ( ) const
inline

Member Data Documentation

◆ metricToPenalty_

template<class MetricToPenalty >
MetricToPenalty MR::EdgePathsBuilderT< MetricToPenalty >::metricToPenalty_
protected

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