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

#include <ChunkingPipeline.hpp>

Public Member Functions

 ChunkingPipeline (const boost::filesystem::path &hdf5Path, const boost::filesystem::path &configPath, std::shared_ptr< ChunkManager > chunkManager=nullptr)
 Creates a basic ChunkingPipeline instance. More...
 
bool start (const boost::filesystem::path &scanDir)
 Start the chunking pipeline. More...
 

Private Member Functions

bool getScanProject (const boost::filesystem::path &dirPath)
 Get new scans from scan project. More...
 
void parseYAMLConfig ()
 Parse YAML config (m_configPath) More...
 
void practicabilityAnalysis (HalfEdgeMesh< BaseVecT > &hem, MeshBufferPtr meshBuffer)
 Calculates practicability analysis of given mesh and adds it as channels to mesh buffer. More...
 

Private Attributes

std::shared_ptr< ChunkManagerm_chunkManager
 
boost::filesystem::path m_configPath
 
boost::filesystem::path m_hdf5Path
 
double m_heightDifferencesRadius = 0.3
 
LSROptions m_lsrOptions
 
std::vector< float > m_practicabilityLayers
 
SLAMOptions m_regOptions
 
double m_roughnessRadius = 0.3
 
bool m_running = false
 
ScanProjectEditMarkPtr m_scanProject
 

Detailed Description

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

Definition at line 50 of file ChunkingPipeline.hpp.

Constructor & Destructor Documentation

◆ ChunkingPipeline()

template<typename BaseVecT >
lvr2::ChunkingPipeline< BaseVecT >::ChunkingPipeline ( const boost::filesystem::path &  hdf5Path,
const boost::filesystem::path &  configPath,
std::shared_ptr< ChunkManager chunkManager = nullptr 
)

Creates a basic ChunkingPipeline instance.

Parameters
hdf5Pathpath to the HDF5 file
configPathpath to the YAML config file
chunkManagershared pointer to ChunkManager instance if null a new instance is created

Member Function Documentation

◆ getScanProject()

template<typename BaseVecT >
bool lvr2::ChunkingPipeline< BaseVecT >::getScanProject ( const boost::filesystem::path &  dirPath)
private

Get new scans from scan project.

Parameters
dirPathpath to scan project directory
Returns
true on success and false on failure

◆ parseYAMLConfig()

template<typename BaseVecT >
void lvr2::ChunkingPipeline< BaseVecT >::parseYAMLConfig ( )
private

Parse YAML config (m_configPath)

◆ practicabilityAnalysis()

template<typename BaseVecT >
void lvr2::ChunkingPipeline< BaseVecT >::practicabilityAnalysis ( HalfEdgeMesh< BaseVecT > &  hem,
MeshBufferPtr  meshBuffer 
)
private

Calculates practicability analysis of given mesh and adds it as channels to mesh buffer.

Parameters
hemHalfEdgeMesh on which practicability analysis is performed
meshBufferbuffer where practicability analysis channels should be added

◆ start()

template<typename BaseVecT >
bool lvr2::ChunkingPipeline< BaseVecT >::start ( const boost::filesystem::path &  scanDir)

Start the chunking pipeline.

Parameters
scanDirpath to scan directory
Returns
true on success and false on failure

Member Data Documentation

◆ m_chunkManager

template<typename BaseVecT >
std::shared_ptr<ChunkManager> lvr2::ChunkingPipeline< BaseVecT >::m_chunkManager
private

Definition at line 79 of file ChunkingPipeline.hpp.

◆ m_configPath

template<typename BaseVecT >
boost::filesystem::path lvr2::ChunkingPipeline< BaseVecT >::m_configPath
private

Definition at line 76 of file ChunkingPipeline.hpp.

◆ m_hdf5Path

template<typename BaseVecT >
boost::filesystem::path lvr2::ChunkingPipeline< BaseVecT >::m_hdf5Path
private

Definition at line 73 of file ChunkingPipeline.hpp.

◆ m_heightDifferencesRadius

template<typename BaseVecT >
double lvr2::ChunkingPipeline< BaseVecT >::m_heightDifferencesRadius = 0.3
private

Definition at line 92 of file ChunkingPipeline.hpp.

◆ m_lsrOptions

template<typename BaseVecT >
LSROptions lvr2::ChunkingPipeline< BaseVecT >::m_lsrOptions
private

Definition at line 88 of file ChunkingPipeline.hpp.

◆ m_practicabilityLayers

template<typename BaseVecT >
std::vector<float> lvr2::ChunkingPipeline< BaseVecT >::m_practicabilityLayers
private

Definition at line 93 of file ChunkingPipeline.hpp.

◆ m_regOptions

template<typename BaseVecT >
SLAMOptions lvr2::ChunkingPipeline< BaseVecT >::m_regOptions
private

Definition at line 85 of file ChunkingPipeline.hpp.

◆ m_roughnessRadius

template<typename BaseVecT >
double lvr2::ChunkingPipeline< BaseVecT >::m_roughnessRadius = 0.3
private

Definition at line 91 of file ChunkingPipeline.hpp.

◆ m_running

template<typename BaseVecT >
bool lvr2::ChunkingPipeline< BaseVecT >::m_running = false
private

Definition at line 96 of file ChunkingPipeline.hpp.

◆ m_scanProject

template<typename BaseVecT >
ScanProjectEditMarkPtr lvr2::ChunkingPipeline< BaseVecT >::m_scanProject
private

Definition at line 82 of file ChunkingPipeline.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