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

#include <BigVolumen.hpp>

Classes

struct  VolumeCellInfo
 

Public Member Functions

 BigVolumen (std::vector< std::string >, float voxelsize, float overlapping_size=0, float scale=1)
 
BoundingBox< BaseVecT > & getBB ()
 
std::unordered_map< size_t, VolumeCellInfo > * getCellinfo ()
 
bool hasColors ()
 
size_t hashValue (size_t i, size_t j, size_t k)
 
bool hasNormals ()
 
size_t pointSize ()
 
size_t size ()
 
virtual ~BigVolumen ()
 

Private Member Functions

int calcIndex (float f)
 

Private Attributes

BoundingBox< BaseVecT > m_bb
 
boost::iostreams::mapped_file m_ColorFile
 
bool m_extrude
 
std::unordered_map< size_t, VolumeCellInfom_gridNumPoints
 
bool m_has_color
 
bool m_has_normal
 
size_t m_maxIndex
 
size_t m_maxIndexSquare
 
size_t m_maxIndexX
 
size_t m_maxIndexY
 
size_t m_maxIndexZ
 
boost::iostreams::mapped_file m_NomralFile
 
size_t m_numPoints
 
boost::iostreams::mapped_file m_PointFile
 
float m_scale
 
float m_voxelSize
 

Detailed Description

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

Definition at line 58 of file BigVolumen.hpp.

Constructor & Destructor Documentation

◆ BigVolumen()

template<typename BaseVecT >
lvr2::BigVolumen< BaseVecT >::BigVolumen ( std::vector< std::string >  ,
float  voxelsize,
float  overlapping_size = 0,
float  scale = 1 
)

Constructor:

Parameters
cloudPathpath to PointCloud in ASCII xyz Format // Todo: Add other file formats
voxelsize

◆ ~BigVolumen()

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

Member Function Documentation

◆ calcIndex()

template<typename BaseVecT >
int lvr2::BigVolumen< BaseVecT >::calcIndex ( float  f)
inlineprivate

Definition at line 112 of file BigVolumen.hpp.

◆ getBB()

template<typename BaseVecT >
BoundingBox<BaseVecT>& lvr2::BigVolumen< BaseVecT >::getBB ( )
inline

Definition at line 97 of file BigVolumen.hpp.

◆ getCellinfo()

template<typename BaseVecT >
std::unordered_map<size_t, VolumeCellInfo>* lvr2::BigVolumen< BaseVecT >::getCellinfo ( )
inline

Definition at line 109 of file BigVolumen.hpp.

◆ hasColors()

template<typename BaseVecT >
bool lvr2::BigVolumen< BaseVecT >::hasColors ( )
inline

Definition at line 106 of file BigVolumen.hpp.

◆ hashValue()

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::hashValue ( size_t  i,
size_t  j,
size_t  k 
)
inline

Definition at line 101 of file BigVolumen.hpp.

◆ hasNormals()

template<typename BaseVecT >
bool lvr2::BigVolumen< BaseVecT >::hasNormals ( )
inline

Definition at line 107 of file BigVolumen.hpp.

◆ pointSize()

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::pointSize ( )
Returns
Number Points

◆ size()

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::size ( )
Returns
Number of voxels

Member Data Documentation

◆ m_bb

template<typename BaseVecT >
BoundingBox<BaseVecT> lvr2::BigVolumen< BaseVecT >::m_bb
private

Definition at line 129 of file BigVolumen.hpp.

◆ m_ColorFile

template<typename BaseVecT >
boost::iostreams::mapped_file lvr2::BigVolumen< BaseVecT >::m_ColorFile
private

Definition at line 128 of file BigVolumen.hpp.

◆ m_extrude

template<typename BaseVecT >
bool lvr2::BigVolumen< BaseVecT >::m_extrude
private

Definition at line 121 of file BigVolumen.hpp.

◆ m_gridNumPoints

template<typename BaseVecT >
std::unordered_map<size_t, VolumeCellInfo> lvr2::BigVolumen< BaseVecT >::m_gridNumPoints
private

Definition at line 130 of file BigVolumen.hpp.

◆ m_has_color

template<typename BaseVecT >
bool lvr2::BigVolumen< BaseVecT >::m_has_color
private

Definition at line 124 of file BigVolumen.hpp.

◆ m_has_normal

template<typename BaseVecT >
bool lvr2::BigVolumen< BaseVecT >::m_has_normal
private

Definition at line 123 of file BigVolumen.hpp.

◆ m_maxIndex

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_maxIndex
private

Definition at line 115 of file BigVolumen.hpp.

◆ m_maxIndexSquare

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_maxIndexSquare
private

Definition at line 114 of file BigVolumen.hpp.

◆ m_maxIndexX

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_maxIndexX
private

Definition at line 116 of file BigVolumen.hpp.

◆ m_maxIndexY

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_maxIndexY
private

Definition at line 117 of file BigVolumen.hpp.

◆ m_maxIndexZ

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_maxIndexZ
private

Definition at line 118 of file BigVolumen.hpp.

◆ m_NomralFile

template<typename BaseVecT >
boost::iostreams::mapped_file lvr2::BigVolumen< BaseVecT >::m_NomralFile
private

Definition at line 127 of file BigVolumen.hpp.

◆ m_numPoints

template<typename BaseVecT >
size_t lvr2::BigVolumen< BaseVecT >::m_numPoints
private

Definition at line 119 of file BigVolumen.hpp.

◆ m_PointFile

template<typename BaseVecT >
boost::iostreams::mapped_file lvr2::BigVolumen< BaseVecT >::m_PointFile
private

Definition at line 126 of file BigVolumen.hpp.

◆ m_scale

template<typename BaseVecT >
float lvr2::BigVolumen< BaseVecT >::m_scale
private

Definition at line 131 of file BigVolumen.hpp.

◆ m_voxelSize

template<typename BaseVecT >
float lvr2::BigVolumen< BaseVecT >::m_voxelSize
private

Definition at line 120 of file BigVolumen.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:27