Public Member Functions | Public Attributes | List of all members
OctreeGridDataPointsFilter< T >::RandomPtsSampler Struct Reference

#include <OctreeGrid.h>

Inheritance diagram for OctreeGridDataPointsFilter< T >::RandomPtsSampler:
Inheritance graph
[legend]

Public Member Functions

virtual bool finalize ()
 
template<std::size_t dim>
bool operator() (Octree_< T, dim > &oc)
 
 RandomPtsSampler (DataPoints &dp)
 
 RandomPtsSampler (DataPoints &dp, const std::size_t seed_)
 
virtual ~RandomPtsSampler ()
 
- Public Member Functions inherited from OctreeGridDataPointsFilter< T >::FirstPtsSampler
 FirstPtsSampler (DataPoints &dp)
 
template<std::size_t dim>
bool operator() (Octree_< T, dim > &oc)
 
virtual ~FirstPtsSampler ()
 

Public Attributes

const std::size_t seed
 
- Public Attributes inherited from OctreeGridDataPointsFilter< T >::FirstPtsSampler
std::size_t idx
 
std::unordered_map< std::size_t, std::size_t > mapidx
 
DataPointspts
 

Detailed Description

template<typename T>
struct OctreeGridDataPointsFilter< T >::RandomPtsSampler

Definition at line 107 of file OctreeGrid.h.

Constructor & Destructor Documentation

◆ RandomPtsSampler() [1/2]

template<typename T >
OctreeGridDataPointsFilter< T >::RandomPtsSampler::RandomPtsSampler ( DataPoints dp)

Definition at line 85 of file OctreeGrid.cpp.

◆ RandomPtsSampler() [2/2]

template<typename T >
OctreeGridDataPointsFilter< T >::RandomPtsSampler::RandomPtsSampler ( DataPoints dp,
const std::size_t  seed_ 
)

Definition at line 91 of file OctreeGrid.cpp.

◆ ~RandomPtsSampler()

template<typename T >
virtual OctreeGridDataPointsFilter< T >::RandomPtsSampler::~RandomPtsSampler ( )
inlinevirtual

Definition at line 117 of file OctreeGrid.h.

Member Function Documentation

◆ finalize()

template<typename T >
bool OctreeGridDataPointsFilter< T >::RandomPtsSampler::finalize ( )
virtual

Reimplemented from OctreeGridDataPointsFilter< T >::FirstPtsSampler.

Definition at line 130 of file OctreeGrid.cpp.

◆ operator()()

template<typename T >
template<std::size_t dim>
bool OctreeGridDataPointsFilter< T >::RandomPtsSampler::operator() ( Octree_< T, dim > &  oc)

Definition at line 99 of file OctreeGrid.cpp.

Member Data Documentation

◆ seed

template<typename T >
const std::size_t OctreeGridDataPointsFilter< T >::RandomPtsSampler::seed

Definition at line 113 of file OctreeGrid.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03