Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::geom::Primitive3DFilter::ColorAction Struct Reference

color action More...

#include <Primitive3DFilter.h>

Inheritance diagram for icl::geom::Primitive3DFilter::ColorAction:
icl::geom::Primitive3DFilter::FilterAction

Public Member Functions

 ColorAction (std::vector< unsigned char > formula, float r, float g, float b, float a)
 Constructor. More...
 
virtual ~ColorAction ()
 
void performAction (PointCloudObjectBase &pcObj, std::vector< unsigned char > &actionMap, std::vector< unsigned char > &groupMap, core::Img32f *depthImage)
 perform the actual filter action More...
 
- Public Member Functions inherited from icl::geom::Primitive3DFilter::FilterAction
 FilterAction ()
 Default constructor. More...
 
 FilterAction (std::vector< unsigned char > formula)
 Constructor. More...
 
virtual ~FilterAction ()
 

Public Attributes

float r
 parameters More...
 
float g
 
float b
 
float a
 
- Public Attributes inherited from icl::geom::Primitive3DFilter::FilterAction
std::vector< unsigned char > formula
 

Detailed Description

color action

Constructor & Destructor Documentation

◆ ColorAction()

icl::geom::Primitive3DFilter::ColorAction::ColorAction ( std::vector< unsigned char >  formula,
float  r,
float  g,
float  b,
float  a 
)
inline

Constructor.

◆ ~ColorAction()

virtual icl::geom::Primitive3DFilter::ColorAction::~ColorAction ( )
inlinevirtual

Member Function Documentation

◆ performAction()

void icl::geom::Primitive3DFilter::ColorAction::performAction ( PointCloudObjectBase pcObj,
std::vector< unsigned char > &  actionMap,
std::vector< unsigned char > &  groupMap,
core::Img32f depthImage 
)
virtual

perform the actual filter action

Parameters
pcObjthe point cloud to be filtered
actionMapthe action map specifying which points to filter out (may change in case points are actually removed)
groupMapmay change in case points are actually removed
depthImagepointer to the depth image or 0 if no depth image

Implements icl::geom::Primitive3DFilter::FilterAction.

Member Data Documentation

◆ a

float icl::geom::Primitive3DFilter::ColorAction::a

◆ b

float icl::geom::Primitive3DFilter::ColorAction::b

◆ g

float icl::geom::Primitive3DFilter::ColorAction::g

◆ r

float icl::geom::Primitive3DFilter::ColorAction::r

parameters


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