aimstil  5.0.5
til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy > Class Template Reference

#include <cathier/triangle_mesh_geodesic_map.h>

Inheritance diagram for til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >:
Collaboration diagram for til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >:

Public Types

typedef Mesh_distance_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy > Base
 
typedef Base::Neighborhood Neighborhood
 
typedef Base::VertexIndex VertexIndex
 
- Public Types inherited from til::Mesh_distance_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >
typedef Mesh_distance_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy > Self
 
typedef TPrec precision_type
 
typedef TStoragePolicy::DistCollection DistCollection
 
typedef TStoragePolicy::Label Label
 
typedef TStoragePolicy::LabelCollection LabelCollection
 
typedef TCircularNeighborhoods ::value_type Neighborhood
 
typedef std::size_t VertexIndex
 
typedef std::priority_queue< std::pair< VertexIndex, TPrec >, std::vector< std::pair< VertexIndex, TPrec > >, Greater_Pair2< VertexIndex, TPrec > > Queue
 
- Public Types inherited from til::DistanceMapLabels
enum  { UNACTIVE = 0, DONE, ACTIVE }
 

Public Member Functions

 Voronoi_triangle_mesh_geodesic_map (const TVertices &vertices, const TCircularNeighborhoods &neighc)
 
 Voronoi_triangle_mesh_geodesic_map (const TVertices &vertices, const TCircularNeighborhoods &neighc, const TStopGhost &sp)
 
shared_ptr< std::vector< unsigned int > > clusterLabels ()
 
template<typename TVertexIndex >
void init (std::vector< TVertexIndex > &startPoints, std::vector< TPrec > &startDist)
 
- Public Member Functions inherited from til::Mesh_distance_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >
 Mesh_distance_map (const TVertices &vertices, const TCircularNeighborhoods &neighc)
 
 Mesh_distance_map (const TVertices &vertices, const TCircularNeighborhoods &neighc, const TStopGhost &sp)
 
virtual ~Mesh_distance_map ()
 
TStopGhost & stopGhost ()
 
const TStopGhost & stopGhost () const
 
shared_ptr< const DistCollectiondistanceMap () const
 Get computed distance map. More...
 
shared_ptr< DistCollectiondistanceMap ()
 
shared_ptr< const LabelCollectionlabels () const
 
shared_ptr< LabelCollectionlabels ()
 
void init (VertexIndex iVertex)
 Initialize to compute the geodesic distance to a single point. More...
 
void init (std::vector< TVertexIndex > &startPoints, std::vector< TPrec > &startDist)
 Initialize to compute the geodesic distance to a list a points with predefined distance values. More...
 
void process ()
 

Additional Inherited Members

- Protected Attributes inherited from til::Mesh_distance_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >
const TVertices & m_vertices
 
const TCircularNeighborhoods & m_neighc
 
shared_ptr< LabelCollectionm_pLabel
 
shared_ptr< DistCollectionm_pDist
 
TPrec F
 
Queue m_queue
 
TStopGhost m_stopGhost
 
bool m_allDone
 

Detailed Description

template<typename TVertices, typename TCircularNeighborhoods, typename TPrec, typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
class til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >

Definition at line 334 of file triangle_mesh_geodesic_map.h.

Member Typedef Documentation

◆ Base

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
typedef Mesh_distance_map<TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy> til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::Base

Definition at line 339 of file triangle_mesh_geodesic_map.h.

◆ Neighborhood

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
typedef Base::Neighborhood til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::Neighborhood

Definition at line 340 of file triangle_mesh_geodesic_map.h.

◆ VertexIndex

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
typedef Base::VertexIndex til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::VertexIndex

Definition at line 341 of file triangle_mesh_geodesic_map.h.

Constructor & Destructor Documentation

◆ Voronoi_triangle_mesh_geodesic_map() [1/2]

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::Voronoi_triangle_mesh_geodesic_map ( const TVertices &  vertices,
const TCircularNeighborhoods &  neighc 
)
inline

Definition at line 345 of file triangle_mesh_geodesic_map.h.

◆ Voronoi_triangle_mesh_geodesic_map() [2/2]

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::Voronoi_triangle_mesh_geodesic_map ( const TVertices &  vertices,
const TCircularNeighborhoods &  neighc,
const TStopGhost &  sp 
)
inline

Definition at line 349 of file triangle_mesh_geodesic_map.h.

Member Function Documentation

◆ clusterLabels()

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
shared_ptr<std::vector<unsigned int> > til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::clusterLabels ( )
inline

Definition at line 356 of file triangle_mesh_geodesic_map.h.

◆ init()

template<typename TVertices , typename TCircularNeighborhoods , typename TPrec , typename TStopGhost = ghost::GMapStop_None, typename TStoragePolicy = policy::GMap_DefaultStorage_sparse_vect_dbl>
template<typename TVertexIndex >
void til::Voronoi_triangle_mesh_geodesic_map< TVertices, TCircularNeighborhoods, TPrec, TStopGhost, TStoragePolicy >::init ( std::vector< TVertexIndex > &  startPoints,
std::vector< TPrec > &  startDist 
)
inline

Definition at line 359 of file triangle_mesh_geodesic_map.h.

References til::distance_to_neighbors().


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