Public Member Functions | Protected Attributes | List of all members
alvar::DoEraseTest< T > Class Template Reference

This is default functor for testing which items in the container should be erased. More...

#include <EC.h>

Public Member Functions

 DoEraseTest (bool _erase_without_p2d, bool _erase_without_p3d, int _type_id=-1)
 
 DoEraseTest (float _limit, bool _erase_without_p2d=false, bool _erase_without_p3d=false, int _type_id=-1)
 
virtual bool operator() (const T &f) const
 

Protected Attributes

bool erase_without_p2d
 
bool erase_without_p3d
 
float limit_sq
 
bool test_reprojection
 
int type_id
 

Detailed Description

template<typename T>
class alvar::DoEraseTest< T >

This is default functor for testing which items in the container should be erased.

By default this can test for has_p2d and has_p3d . Furthermore, it can test for reprojection error when Pose , Camera and limit are given.

Definition at line 205 of file EC.h.

Constructor & Destructor Documentation

template<typename T>
alvar::DoEraseTest< T >::DoEraseTest ( bool  _erase_without_p2d,
bool  _erase_without_p3d,
int  _type_id = -1 
)
inline

Definition at line 213 of file EC.h.

template<typename T>
alvar::DoEraseTest< T >::DoEraseTest ( float  _limit,
bool  _erase_without_p2d = false,
bool  _erase_without_p3d = false,
int  _type_id = -1 
)
inline

Definition at line 216 of file EC.h.

Member Function Documentation

template<typename T>
virtual bool alvar::DoEraseTest< T >::operator() ( const T &  f) const
inlinevirtual

Definition at line 219 of file EC.h.

Member Data Documentation

template<typename T>
bool alvar::DoEraseTest< T >::erase_without_p2d
protected

Definition at line 208 of file EC.h.

template<typename T>
bool alvar::DoEraseTest< T >::erase_without_p3d
protected

Definition at line 209 of file EC.h.

template<typename T>
float alvar::DoEraseTest< T >::limit_sq
protected

Definition at line 211 of file EC.h.

template<typename T>
bool alvar::DoEraseTest< T >::test_reprojection
protected

Definition at line 210 of file EC.h.

template<typename T>
int alvar::DoEraseTest< T >::type_id
protected

Definition at line 207 of file EC.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24