Functor class for Container3d Sort() to sort the search base using distance to specified origin. More...
#include <Container3d.h>
Public Member Functions | |
Container3dSortDist (Container3d< T > &_container, const CvPoint3D32f _orig) | |
bool | operator() (size_t i1, size_t i2) |
Protected Attributes | |
Container3d< T > & | container |
CvPoint3D32f | orig |
Functor class for Container3d Sort() to sort the search base using distance to specified origin.
Definition at line 44 of file Container3d.h.
alvar::Container3dSortDist< T >::Container3dSortDist | ( | Container3d< T > & | _container, |
const CvPoint3D32f | _orig | ||
) | [inline] |
Definition at line 49 of file Container3d.h.
bool alvar::Container3dSortDist< T >::operator() | ( | size_t | i1, |
size_t | i2 | ||
) | [inline] |
Definition at line 50 of file Container3d.h.
Container3d<T>& alvar::Container3dSortDist< T >::container [protected] |
Definition at line 47 of file Container3d.h.
CvPoint3D32f alvar::Container3dSortDist< T >::orig [protected] |
Definition at line 46 of file Container3d.h.