Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
lvr2::ScanDirectoryParser Class Reference

#include <ScanDirectoryParser.hpp>

Public Member Functions

PointBufferPtr octreeSubSample (const double &voxelSize, const size_t &minPoints=5)
 
void parseDirectory ()
 
PointBufferPtr randomSubSample (const size_t &targetSize)
 
 ScanDirectoryParser (const std::string &directory) noexcept
 
void setEnd (int e)
 
void setPointCloudExtension (const std::string &extension)
 
void setPointCloudPrefix (const std::string &prefix)
 
void setPoseExtension (const std::string &extension)
 
void setPosePrefix (const std::string &prefix)
 
void setStart (int s)
 
 ~ScanDirectoryParser ()
 

Private Types

using Path = boost::filesystem::path
 

Private Member Functions

size_t examineASCII (const std::string &filename)
 
size_t examinePLY (const std::string &filename)
 

Private Attributes

std::string m_directory
 
size_t m_end
 
size_t m_numPoints
 
std::string m_pointExtension
 
std::string m_pointPrefix
 
std::string m_poseExtension
 
std::string m_posePrefix
 
std::vector< ScanInfo * > m_scans
 
size_t m_start
 

Detailed Description

Definition at line 52 of file ScanDirectoryParser.hpp.

Member Typedef Documentation

◆ Path

using lvr2::ScanDirectoryParser::Path = boost::filesystem::path
private

Definition at line 75 of file ScanDirectoryParser.hpp.

Constructor & Destructor Documentation

◆ ScanDirectoryParser()

lvr2::ScanDirectoryParser::ScanDirectoryParser ( const std::string &  directory)
noexcept

Definition at line 24 of file ScanDirectoryParser.cpp.

◆ ~ScanDirectoryParser()

lvr2::ScanDirectoryParser::~ScanDirectoryParser ( )

Definition at line 15 of file ScanDirectoryParser.cpp.

Member Function Documentation

◆ examineASCII()

size_t lvr2::ScanDirectoryParser::examineASCII ( const std::string &  filename)
private

Definition at line 80 of file ScanDirectoryParser.cpp.

◆ examinePLY()

size_t lvr2::ScanDirectoryParser::examinePLY ( const std::string &  filename)
private

Definition at line 75 of file ScanDirectoryParser.cpp.

◆ octreeSubSample()

PointBufferPtr lvr2::ScanDirectoryParser::octreeSubSample ( const double &  voxelSize,
const size_t &  minPoints = 5 
)

Definition at line 86 of file ScanDirectoryParser.cpp.

◆ parseDirectory()

void lvr2::ScanDirectoryParser::parseDirectory ( )

Definition at line 179 of file ScanDirectoryParser.cpp.

◆ randomSubSample()

PointBufferPtr lvr2::ScanDirectoryParser::randomSubSample ( const size_t &  targetSize)

Definition at line 122 of file ScanDirectoryParser.cpp.

◆ setEnd()

void lvr2::ScanDirectoryParser::setEnd ( int  e)

Definition at line 69 of file ScanDirectoryParser.cpp.

◆ setPointCloudExtension()

void lvr2::ScanDirectoryParser::setPointCloudExtension ( const std::string &  extension)

Definition at line 51 of file ScanDirectoryParser.cpp.

◆ setPointCloudPrefix()

void lvr2::ScanDirectoryParser::setPointCloudPrefix ( const std::string &  prefix)

Definition at line 47 of file ScanDirectoryParser.cpp.

◆ setPoseExtension()

void lvr2::ScanDirectoryParser::setPoseExtension ( const std::string &  extension)

Definition at line 60 of file ScanDirectoryParser.cpp.

◆ setPosePrefix()

void lvr2::ScanDirectoryParser::setPosePrefix ( const std::string &  prefix)

Definition at line 56 of file ScanDirectoryParser.cpp.

◆ setStart()

void lvr2::ScanDirectoryParser::setStart ( int  s)

Definition at line 65 of file ScanDirectoryParser.cpp.

Member Data Documentation

◆ m_directory

std::string lvr2::ScanDirectoryParser::m_directory
private

Definition at line 85 of file ScanDirectoryParser.hpp.

◆ m_end

size_t lvr2::ScanDirectoryParser::m_end
private

Definition at line 88 of file ScanDirectoryParser.hpp.

◆ m_numPoints

size_t lvr2::ScanDirectoryParser::m_numPoints
private

Definition at line 80 of file ScanDirectoryParser.hpp.

◆ m_pointExtension

std::string lvr2::ScanDirectoryParser::m_pointExtension
private

Definition at line 84 of file ScanDirectoryParser.hpp.

◆ m_pointPrefix

std::string lvr2::ScanDirectoryParser::m_pointPrefix
private

Definition at line 81 of file ScanDirectoryParser.hpp.

◆ m_poseExtension

std::string lvr2::ScanDirectoryParser::m_poseExtension
private

Definition at line 83 of file ScanDirectoryParser.hpp.

◆ m_posePrefix

std::string lvr2::ScanDirectoryParser::m_posePrefix
private

Definition at line 82 of file ScanDirectoryParser.hpp.

◆ m_scans

std::vector<ScanInfo*> lvr2::ScanDirectoryParser::m_scans
private

Definition at line 90 of file ScanDirectoryParser.hpp.

◆ m_start

size_t lvr2::ScanDirectoryParser::m_start
private

Definition at line 87 of file ScanDirectoryParser.hpp.


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


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 Mon Feb 28 2022 22:46:12