Image Component Library (ICL)
|
Class for filtering point clouds according to a set of primitives and a filter configuration. More...
#include <Primitive3DFilter.h>
Classes | |
struct | ColorAction |
color action More... | |
struct | FilterAction |
a general filter action More... | |
struct | FilterConfig |
filter config More... | |
struct | FilterDepthImgAction |
filterdepthimg action More... | |
struct | IntensityAction |
intensity action More... | |
struct | LabelAction |
label action More... | |
struct | Primitive3D |
a primitive More... | |
struct | Quaternion |
quaternion describing the orientation of the primitive More... | |
struct | RemoveAction |
remove action More... | |
struct | SetposAction |
setpos action More... | |
Public Types | |
enum | PrimitiveType { CUBE, SPHERE, CYLINDER } |
the primitive type More... | |
Public Member Functions | |
Primitive3DFilter (const FilterConfig &config) | |
Constructor. More... | |
virtual | ~Primitive3DFilter () |
Destructor. More... | |
void | setConfig (const FilterConfig &config) |
set filter config More... | |
void | apply (const std::vector< Primitive3D > &primitives, PointCloudObjectBase &pcObj, core::Img32f *depthImage=0) |
applies the filter operation to the given point cloud More... | |
Static Private Attributes | |
static const char * | KERNEL_CODE |
Class for filtering point clouds according to a set of primitives and a filter configuration.
icl::geom::Primitive3DFilter::Primitive3DFilter | ( | const FilterConfig & | config | ) |
Constructor.
|
inlinevirtual |
Destructor.
void icl::geom::Primitive3DFilter::apply | ( | const std::vector< Primitive3D > & | primitives, |
PointCloudObjectBase & | pcObj, | ||
core::Img32f * | depthImage = 0 |
||
) |
applies the filter operation to the given point cloud
primitives | a vector of geometric primitives |
pcObj | the point cloud to be filtered |
depthImage | the optional depth image (only needed if there is a filterdepthimg tag in the config) |
|
inline |
set filter config
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |