Data Filter based on Octree representation. More...
#include <OctreeGrid.h>
Classes | |
struct | CentroidSampler |
struct | FirstPtsSampler |
struct | MedoidSampler |
struct | RandomPtsSampler |
Public Member Functions | |
virtual DataPoints | filter (const DataPoints &input) |
Apply filters to input point cloud. This is the non-destructive version and returns a copy. More... | |
virtual void | inPlaceFilter (DataPoints &cloud) |
Apply these filters to a point cloud without copying. More... | |
OctreeGridDataPointsFilter (const Parameters ¶ms=Parameters()) | |
OctreeGridDataPointsFilter () | |
virtual | ~OctreeGridDataPointsFilter () |
Public Member Functions inherited from PointMatcher< T >::DataPointsFilter | |
DataPointsFilter () | |
Construct without parameter. More... | |
DataPointsFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual void | init () |
Init this filter. More... | |
virtual | ~DataPointsFilter () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with documented parameters. More... | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. More... | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
static bool | Comp (std::string a, std::string b) |
Return whether a < b, lexically casted to S. More... | |
Public Attributes | |
bool | buildParallel |
std::size_t | maxPointByNode |
T | maxSizeByNode |
SamplingMethod | samplingMethod |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class More... | |
Parameters | parameters |
parameters with their values encoded in string More... | |
const ParametersDoc | parametersDoc |
documentation of parameters More... | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read More... | |
Private Member Functions | |
template<std::size_t dim> | |
void | sample (DataPoints &cloud) |
Data Filter based on Octree representation.
Processings are applyed via a Visitor through Depth-first search in the Octree (DFS) i.e. for each node, the Visitor/Callback is called
Definition at line 54 of file OctreeGrid.h.
typedef PM::DataPoints OctreeGridDataPointsFilter< T >::DataPoints |
Definition at line 58 of file OctreeGrid.h.
typedef PM::DataPointsFilter OctreeGridDataPointsFilter< T >::DataPointsFilter |
Definition at line 59 of file OctreeGrid.h.
typedef DataPoints::Index OctreeGridDataPointsFilter< T >::Index |
Definition at line 68 of file OctreeGrid.h.
typedef PointMatcher<T>::DataPoints::InvalidField OctreeGridDataPointsFilter< T >::InvalidField |
Definition at line 70 of file OctreeGrid.h.
typedef Parametrizable::InvalidParameter OctreeGridDataPointsFilter< T >::InvalidParameter |
Definition at line 66 of file OctreeGrid.h.
typedef PointMatcherSupport::Parametrizable OctreeGridDataPointsFilter< T >::P |
Definition at line 62 of file OctreeGrid.h.
typedef Parametrizable::ParameterDoc OctreeGridDataPointsFilter< T >::ParameterDoc |
Definition at line 64 of file OctreeGrid.h.
typedef Parametrizable::Parameters OctreeGridDataPointsFilter< T >::Parameters |
Definition at line 63 of file OctreeGrid.h.
typedef Parametrizable::ParametersDoc OctreeGridDataPointsFilter< T >::ParametersDoc |
Definition at line 65 of file OctreeGrid.h.
typedef PointMatcherSupport::Parametrizable OctreeGridDataPointsFilter< T >::Parametrizable |
Definition at line 61 of file OctreeGrid.h.
typedef PointMatcher<T> OctreeGridDataPointsFilter< T >::PM |
Definition at line 57 of file OctreeGrid.h.
enum OctreeGridDataPointsFilter::SamplingMethod : int |
Enumerator | |
---|---|
FIRST_PTS | |
RAND_PTS | |
CENTROID | |
MEDOID |
Definition at line 153 of file OctreeGrid.h.
OctreeGridDataPointsFilter< T >::OctreeGridDataPointsFilter | ( | const Parameters & | params = Parameters() | ) |
Definition at line 286 of file OctreeGrid.cpp.
OctreeGridDataPointsFilter< T >::OctreeGridDataPointsFilter | ( | ) |
|
inlinevirtual |
Definition at line 169 of file OctreeGrid.h.
|
inlinestatic |
Definition at line 77 of file OctreeGrid.h.
|
inlinestatic |
Definition at line 72 of file OctreeGrid.h.
|
virtual |
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 306 of file OctreeGrid.cpp.
|
virtual |
Apply these filters to a point cloud without copying.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 314 of file OctreeGrid.cpp.
|
private |
Definition at line 329 of file OctreeGrid.cpp.
bool OctreeGridDataPointsFilter< T >::buildParallel |
Definition at line 156 of file OctreeGrid.h.
std::size_t OctreeGridDataPointsFilter< T >::maxPointByNode |
Definition at line 158 of file OctreeGrid.h.
T OctreeGridDataPointsFilter< T >::maxSizeByNode |
Definition at line 159 of file OctreeGrid.h.
SamplingMethod OctreeGridDataPointsFilter< T >::samplingMethod |
Definition at line 161 of file OctreeGrid.h.