OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Public Attributes | List of all members
grm::NeighborType< DerivedNode > Struct Template Reference

#include <grmGraph.h>

+ Collaboration diagram for grm::NeighborType< DerivedNode >:

Public Types

typedef std::shared_ptr< DerivedNode > SharedDerived
 
typedef std::weak_ptr< DerivedNode > WeakDerived
 

Public Member Functions

SharedDerived GetRegion ()
 
 NeighborType (WeakDerived ptr, double w, unsigned int c)
 

Public Attributes

unsigned int m_Boundary
 
float m_Cost
 
bool m_CostUpdated
 
WeakDerived m_Target
 

Detailed Description

template<class DerivedNode>
struct grm::NeighborType< DerivedNode >

Definition at line 59 of file grmGraph.h.

Member Typedef Documentation

◆ SharedDerived

template<class DerivedNode >
typedef std::shared_ptr<DerivedNode> grm::NeighborType< DerivedNode >::SharedDerived

Definition at line 62 of file grmGraph.h.

◆ WeakDerived

template<class DerivedNode >
typedef std::weak_ptr<DerivedNode> grm::NeighborType< DerivedNode >::WeakDerived

Definition at line 61 of file grmGraph.h.

Constructor & Destructor Documentation

◆ NeighborType()

template<class DerivedNode >
grm::NeighborType< DerivedNode >::NeighborType ( WeakDerived  ptr,
double  w,
unsigned int  c 
)
inline

Definition at line 69 of file grmGraph.h.

Member Function Documentation

◆ GetRegion()

template<class DerivedNode >
SharedDerived grm::NeighborType< DerivedNode >::GetRegion ( )
inline

Definition at line 72 of file grmGraph.h.

References grm::NeighborType< DerivedNode >::m_Target.

Member Data Documentation

◆ m_Boundary

template<class DerivedNode >
unsigned int grm::NeighborType< DerivedNode >::m_Boundary

Definition at line 66 of file grmGraph.h.

◆ m_Cost

template<class DerivedNode >
float grm::NeighborType< DerivedNode >::m_Cost

Definition at line 65 of file grmGraph.h.

◆ m_CostUpdated

template<class DerivedNode >
bool grm::NeighborType< DerivedNode >::m_CostUpdated

Definition at line 67 of file grmGraph.h.

◆ m_Target

template<class DerivedNode >
WeakDerived grm::NeighborType< DerivedNode >::m_Target

Definition at line 64 of file grmGraph.h.

Referenced by grm::NeighborType< DerivedNode >::GetRegion().


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