OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
otb::CorrectPolygonFunctor< TPolygon > Class Template Reference

#include <otbCorrectPolygonFunctor.h>

Public Types

typedef PolygonType::Pointer PolygonPointerType
 
typedef TPolygon PolygonType
 

Public Member Functions

PolygonPointerType operator() (const TPolygon *input)
 
typedef
otb::SimplifyPathFunctor
< PolygonType, PolygonType
SimplifyFunctorType
 
typedef ClosePathFunctor
< PolygonType, PolygonType
CloseFunctorType
 
 CorrectPolygonFunctor ()
 
 ~CorrectPolygonFunctor ()
 

Detailed Description

template<class TPolygon>
class otb::CorrectPolygonFunctor< TPolygon >

This filter simplify and close the input polygon, making the last point equal to the first one.

This filter may be useful when a truly closed polygon is needed (to draw it for example)

See Also
UnaryFunctorObjectListFilter

Definition at line 42 of file otbCorrectPolygonFunctor.h.

Member Typedef Documentation

template<class TPolygon >
typedef ClosePathFunctor<PolygonType, PolygonType> otb::CorrectPolygonFunctor< TPolygon >::CloseFunctorType

Some typedefs specific to functors

Definition at line 51 of file otbCorrectPolygonFunctor.h.

template<class TPolygon >
typedef PolygonType::Pointer otb::CorrectPolygonFunctor< TPolygon >::PolygonPointerType

Definition at line 47 of file otbCorrectPolygonFunctor.h.

template<class TPolygon >
typedef TPolygon otb::CorrectPolygonFunctor< TPolygon >::PolygonType

Definition at line 46 of file otbCorrectPolygonFunctor.h.

Some typedefs specific to functors

Definition at line 50 of file otbCorrectPolygonFunctor.h.

Constructor & Destructor Documentation

template<class TPolygon >
otb::CorrectPolygonFunctor< TPolygon >::CorrectPolygonFunctor ( )
inline

Some typedefs specific to functors

Definition at line 52 of file otbCorrectPolygonFunctor.h.

template<class TPolygon >
otb::CorrectPolygonFunctor< TPolygon >::~CorrectPolygonFunctor ( )
inline

Some typedefs specific to functors

Definition at line 54 of file otbCorrectPolygonFunctor.h.

Member Function Documentation

template<class TPolygon >
PolygonPointerType otb::CorrectPolygonFunctor< TPolygon >::operator() ( const TPolygon *  input)
inline

create functors

Erase aligned points and close polygon

Definition at line 57 of file otbCorrectPolygonFunctor.h.

References otb::SimplifyPathFunctor< TInput, TOutput >::SetTolerance().


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