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

std::size_t idx
 
std::unordered_map< std::size_t, std::size_t > mapidx
 
DataPointspts
 
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 86 of file OctreeGrid.cpp.

◆ RandomPtsSampler() [2/2]

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

Definition at line 92 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 131 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 100 of file OctreeGrid.cpp.

Member Data Documentation

◆ idx

template<typename T >
std::size_t OctreeGridDataPointsFilter< T >::FirstPtsSampler::idx

Definition at line 92 of file OctreeGrid.h.

◆ mapidx

template<typename T >
std::unordered_map<std::size_t, std::size_t> OctreeGridDataPointsFilter< T >::FirstPtsSampler::mapidx

Definition at line 97 of file OctreeGrid.h.

◆ pts

template<typename T >
DataPoints& OctreeGridDataPointsFilter< T >::FirstPtsSampler::pts

Definition at line 93 of file OctreeGrid.h.

◆ 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 Mon Sep 16 2024 02:24:11