OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Private Attributes | List of all members
otb::PathLengthFunctor< TInput1 > Class Template Reference

#include <otbPathLengthFunctor.h>

Public Member Functions

double GetThreshold (void) const
 
bool operator() (const TInput1 &input)
 
 PathLengthFunctor ()
 
void SetThreshold (double threshold)
 
 ~PathLengthFunctor ()
 

Private Attributes

double m_Threshold
 

Detailed Description

template<class TInput1>
class otb::PathLengthFunctor< TInput1 >

Select paths according to their length.

This functor gets the length of a path and returns true if it is above the threshold, false otherwise.

Definition at line 41 of file otbPathLengthFunctor.h.

Constructor & Destructor Documentation

◆ PathLengthFunctor()

template<class TInput1 >
otb::PathLengthFunctor< TInput1 >::PathLengthFunctor ( )
inline

◆ ~PathLengthFunctor()

template<class TInput1 >
otb::PathLengthFunctor< TInput1 >::~PathLengthFunctor ( )
inline

Definition at line 57 of file otbPathLengthFunctor.h.

Member Function Documentation

◆ GetThreshold()

template<class TInput1 >
double otb::PathLengthFunctor< TInput1 >::GetThreshold ( void  ) const
inline

◆ operator()()

template<class TInput1 >
bool otb::PathLengthFunctor< TInput1 >::operator() ( const TInput1 &  input)
inline

◆ SetThreshold()

template<class TInput1 >
void otb::PathLengthFunctor< TInput1 >::SetThreshold ( double  threshold)
inline

Member Data Documentation

◆ m_Threshold

template<class TInput1 >
double otb::PathLengthFunctor< TInput1 >::m_Threshold
private

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