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 |
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.
alvar::DoEraseTest< T >::DoEraseTest | ( | bool | _erase_without_p2d, |
bool | _erase_without_p3d, | ||
int | _type_id = -1 |
||
) | [inline] |
alvar::DoEraseTest< T >::DoEraseTest | ( | float | _limit, |
bool | _erase_without_p2d = false , |
||
bool | _erase_without_p3d = false , |
||
int | _type_id = -1 |
||
) | [inline] |
virtual bool alvar::DoEraseTest< T >::operator() | ( | const T & | f | ) | const [inline, virtual] |
bool alvar::DoEraseTest< T >::erase_without_p2d [protected] |
bool alvar::DoEraseTest< T >::erase_without_p3d [protected] |
float alvar::DoEraseTest< T >::limit_sq [protected] |
bool alvar::DoEraseTest< T >::test_reprojection [protected] |
int alvar::DoEraseTest< T >::type_id [protected] |