Image Component Library (ICL)
|
Internal most common fill-Filter to filter out single points. More...
#include <OctreeObject.h>
Public Member Functions | |
PointFilter (const Vec &p, float radius=10) | |
Create point filter with given center and radius. More... | |
PointFilter (const geom::Camera &cam) | |
Create point filter with given camera. More... | |
template<int N> | |
bool | operator() (const math::FixedColVector< float, N > &v) const |
actual filter function More... | |
Public Attributes | |
math::Vec3 | pos |
position to filter out More... | |
float | sqrRadius |
squared distance threshold to the filter point More... | |
Internal most common fill-Filter to filter out single points.
The single point that is usually filtered out is the camera center. Therefore, two constructors are provided. One that can be arbitrarily defined and another one that uses a camera's position and it's focal length as distance threshold directly
In other words, the filter filters our an epsilon sphere around the given center point, where epsilon is the given radius or the given camera's focal length
|
inline |
Create point filter with given center and radius.
|
inline |
Create point filter with given camera.
Internally uses the Camera's position and its focal length as radius
|
inline |
actual filter function
realized as an inline template
math::Vec3 icl::geom::OctreeObject< Scalar, CAPACITY, SF, Pt, ALLOC_CHUNK_SIZE >::PointFilter::pos |
position to filter out
float icl::geom::OctreeObject< Scalar, CAPACITY, SF, Pt, ALLOC_CHUNK_SIZE >::PointFilter::sqrRadius |
squared distance threshold to the filter point