Public Member Functions | Private Member Functions | Private Attributes | List of all members
lvr2::VirtualGrid< BaseVecT > Class Template Reference

#include <VirtualGrid.hpp>

Public Member Functions

void calculateBoxes ()
 
std::shared_ptr< std::vector< BoundingBox< BaseVecT > > > getBoxes ()
 
void setBoundingBox (BoundingBox< BaseVecT > bb)
 
 VirtualGrid (BoundingBox< BaseVecT > &bb, size_t gridCellSize, float voxelsize)
 
virtual ~VirtualGrid ()
 

Private Member Functions

void findInitialBox ()
 
void generateNeighbours ()
 

Private Attributes

std::vector< BoundingBox< BaseVecT > > m_boxes
 
size_t m_gridCellSize
 
BoundingBox< BaseVecT > m_initbox
 
BoundingBox< BaseVecT > m_pcbb
 
float m_voxelsize
 

Detailed Description

template<typename BaseVecT>
class lvr2::VirtualGrid< BaseVecT >

Definition at line 47 of file VirtualGrid.hpp.

Constructor & Destructor Documentation

◆ VirtualGrid()

template<typename BaseVecT >
lvr2::VirtualGrid< BaseVecT >::VirtualGrid ( BoundingBox< BaseVecT > &  bb,
size_t  gridCellSize,
float  voxelsize 
)

Constructor

Parameters
bb
maxNodePoints
gridCellSize
voxelsize

◆ ~VirtualGrid()

template<typename BaseVecT >
virtual lvr2::VirtualGrid< BaseVecT >::~VirtualGrid ( )
virtual

Destructor

Member Function Documentation

◆ calculateBoxes()

template<typename BaseVecT >
void lvr2::VirtualGrid< BaseVecT >::calculateBoxes ( )

Method to calculate the boxes/chunks covering the PointCloud-BB

◆ findInitialBox()

template<typename BaseVecT >
void lvr2::VirtualGrid< BaseVecT >::findInitialBox ( )
private

locates the initial Box surrounding the lower left corner of the PointCloud-BB

◆ generateNeighbours()

template<typename BaseVecT >
void lvr2::VirtualGrid< BaseVecT >::generateNeighbours ( )
private

generates the Boxes/Chunks surrounding the initial Box to cover the PointCloud-BB

◆ getBoxes()

template<typename BaseVecT >
std::shared_ptr<std::vector<BoundingBox<BaseVecT> > > lvr2::VirtualGrid< BaseVecT >::getBoxes ( )
inline
Returns
the chunks of the virtual Grid

Definition at line 84 of file VirtualGrid.hpp.

◆ setBoundingBox()

template<typename BaseVecT >
void lvr2::VirtualGrid< BaseVecT >::setBoundingBox ( BoundingBox< BaseVecT >  bb)

Sets a new Bounding Box

Parameters
bb

Member Data Documentation

◆ m_boxes

template<typename BaseVecT >
std::vector<BoundingBox<BaseVecT> > lvr2::VirtualGrid< BaseVecT >::m_boxes
private

Definition at line 108 of file VirtualGrid.hpp.

◆ m_gridCellSize

template<typename BaseVecT >
size_t lvr2::VirtualGrid< BaseVecT >::m_gridCellSize
private

Definition at line 111 of file VirtualGrid.hpp.

◆ m_initbox

template<typename BaseVecT >
BoundingBox<BaseVecT> lvr2::VirtualGrid< BaseVecT >::m_initbox
private

Definition at line 105 of file VirtualGrid.hpp.

◆ m_pcbb

template<typename BaseVecT >
BoundingBox<BaseVecT> lvr2::VirtualGrid< BaseVecT >::m_pcbb
private

Definition at line 102 of file VirtualGrid.hpp.

◆ m_voxelsize

template<typename BaseVecT >
float lvr2::VirtualGrid< BaseVecT >::m_voxelsize
private

Definition at line 114 of file VirtualGrid.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:28