#include <OctreeReduction.hpp>
|
template<typename T > |
void | createOctree (T *points, const int &n, bool *flagged, const T &min, const T &max, const int &level) |
|
template<typename T > |
void | createOctree (lvr2::PointBufferPtr &points, size_t s, size_t n, bool *flagged, const lvr2::Vector3< T > &min, const lvr2::Vector3< T > &max, const int &level) |
|
template<typename T > |
size_t | splitPoints (T *points, const size_t &n, const int axis, const double &splitValue) |
|
template<typename T > |
size_t | splitPoints (lvr2::PointBufferPtr &points, size_t s, size_t n, const int axis, const double &splitValue) |
|
template<typename T > |
void | swapAllChannelsOfType (lvr2::PointBufferPtr &points, const size_t &l, const size_t &r) |
|
template<typename T > |
void | swapInChannel (lvr2::Channel< T > &ch, const size_t &l, const size_t &r) |
|
Definition at line 48 of file OctreeReduction.hpp.
◆ OctreeReduction() [1/2]
lvr2::OctreeReduction::OctreeReduction |
( |
PointBufferPtr & |
pointBuffer, |
|
|
const double & |
voxelSize, |
|
|
const size_t & |
minPointsPerVoxel |
|
) |
| |
◆ OctreeReduction() [2/2]
lvr2::OctreeReduction::OctreeReduction |
( |
Vector3f * |
points, |
|
|
const size_t & |
n, |
|
|
const double & |
voxelSize, |
|
|
const size_t & |
minPointsPerVoxel |
|
) |
| |
◆ ~OctreeReduction()
lvr2::OctreeReduction::~OctreeReduction |
( |
| ) |
|
|
inline |
◆ createOctree() [1/2]
template<typename T >
void lvr2::OctreeReduction::createOctree |
( |
T * |
points, |
|
|
const int & |
n, |
|
|
bool * |
flagged, |
|
|
const T & |
min, |
|
|
const T & |
max, |
|
|
const int & |
level |
|
) |
| |
|
private |
◆ createOctree() [2/2]
◆ getReducedPoints() [1/2]
◆ getReducedPoints() [2/2]
void lvr2::OctreeReduction::getReducedPoints |
( |
Vector3f & |
points, |
|
|
size_t & |
n |
|
) |
| |
◆ splitPoints() [1/2]
template<typename T >
size_t lvr2::OctreeReduction::splitPoints |
( |
T * |
points, |
|
|
const size_t & |
n, |
|
|
const int |
axis, |
|
|
const double & |
splitValue |
|
) |
| |
|
private |
◆ splitPoints() [2/2]
template<typename T >
size_t lvr2::OctreeReduction::splitPoints |
( |
lvr2::PointBufferPtr & |
points, |
|
|
size_t |
s, |
|
|
size_t |
n, |
|
|
const int |
axis, |
|
|
const double & |
splitValue |
|
) |
| |
|
private |
◆ swapAllChannelsOfType()
template<typename T >
void lvr2::OctreeReduction::swapAllChannelsOfType |
( |
lvr2::PointBufferPtr & |
points, |
|
|
const size_t & |
l, |
|
|
const size_t & |
r |
|
) |
| |
|
private |
◆ swapInChannel()
template<typename T >
void lvr2::OctreeReduction::swapInChannel |
( |
lvr2::Channel< T > & |
ch, |
|
|
const size_t & |
l, |
|
|
const size_t & |
r |
|
) |
| |
|
private |
◆ m_flags
bool* lvr2::OctreeReduction::m_flags |
|
private |
◆ m_minPointsPerVoxel
size_t lvr2::OctreeReduction::m_minPointsPerVoxel |
|
private |
◆ m_numPoints
size_t lvr2::OctreeReduction::m_numPoints |
|
private |
◆ m_pointBuffer
◆ m_points
Vector3f lvr2::OctreeReduction::m_points |
|
private |
◆ m_voxelSize
double lvr2::OctreeReduction::m_voxelSize |
|
private |
The documentation for this class was generated from the following files: