Classes | Public Member Functions | Private Attributes | List of all members
lvr2::LineReader Struct Reference

#include <LineReader.hpp>

Classes

class  readException
 

Public Member Functions

fileType getFileType (size_t i)
 
fileType getFileType ()
 
bool getNextPoint (xyznc &point)
 
boost::shared_ptr< void > getNextPoints (size_t &return_amount, size_t amount=1000000)
 
size_t getNumPoints ()
 
bool isPly ()
 
 LineReader ()
 
 LineReader (std::string filePath)
 
 LineReader (std::vector< std::string > filePaths)
 
bool ok ()
 
void open (std::string filePath)
 
void open (std::vector< std::string > filePaths)
 
void rewind (size_t i)
 
void rewind ()
 

Private Attributes

bool m_binary
 
size_t m_currentReadFile
 
size_t m_elementAmount
 
std::vector< fileAttributm_fileAttributes
 
std::vector< std::string > m_filePaths
 
std::vector< size_t > m_filePos
 
fileType m_fileType
 
size_t m_line_element_amount
 
size_t m_numFiles
 
bool m_openNextFile
 
bool m_ply
 
size_t m_PointBlockSize
 

Detailed Description

Definition at line 87 of file LineReader.hpp.

Constructor & Destructor Documentation

◆ LineReader() [1/3]

lvr2::LineReader::LineReader ( )

Definition at line 49 of file LineReader.cpp.

◆ LineReader() [2/3]

lvr2::LineReader::LineReader ( std::string  filePath)

Definition at line 57 of file LineReader.cpp.

◆ LineReader() [3/3]

lvr2::LineReader::LineReader ( std::vector< std::string >  filePaths)

Definition at line 51 of file LineReader.cpp.

Member Function Documentation

◆ getFileType() [1/2]

fileType lvr2::LineReader::getFileType ( size_t  i)

Definition at line 242 of file LineReader.cpp.

◆ getFileType() [2/2]

fileType lvr2::LineReader::getFileType ( )

Definition at line 254 of file LineReader.cpp.

◆ getNextPoint()

bool lvr2::LineReader::getNextPoint ( xyznc &  point)

◆ getNextPoints()

boost::shared_ptr< void > lvr2::LineReader::getNextPoints ( size_t &  return_amount,
size_t  amount = 1000000 
)

Definition at line 258 of file LineReader.cpp.

◆ getNumPoints()

size_t lvr2::LineReader::getNumPoints ( )

Definition at line 63 of file LineReader.cpp.

◆ isPly()

bool lvr2::LineReader::isPly ( )
inline

Definition at line 107 of file LineReader.hpp.

◆ ok()

bool lvr2::LineReader::ok ( )

Definition at line 256 of file LineReader.cpp.

◆ open() [1/2]

void lvr2::LineReader::open ( std::string  filePath)

Definition at line 235 of file LineReader.cpp.

◆ open() [2/2]

void lvr2::LineReader::open ( std::vector< std::string >  filePaths)

Definition at line 73 of file LineReader.cpp.

◆ rewind() [1/2]

void lvr2::LineReader::rewind ( size_t  i)

Definition at line 515 of file LineReader.cpp.

◆ rewind() [2/2]

void lvr2::LineReader::rewind ( )

Definition at line 504 of file LineReader.cpp.

Member Data Documentation

◆ m_binary

bool lvr2::LineReader::m_binary
private

Definition at line 126 of file LineReader.hpp.

◆ m_currentReadFile

size_t lvr2::LineReader::m_currentReadFile
private

Definition at line 129 of file LineReader.hpp.

◆ m_elementAmount

size_t lvr2::LineReader::m_elementAmount
private

Definition at line 122 of file LineReader.hpp.

◆ m_fileAttributes

std::vector<fileAttribut> lvr2::LineReader::m_fileAttributes
private

Definition at line 131 of file LineReader.hpp.

◆ m_filePaths

std::vector<std::string> lvr2::LineReader::m_filePaths
private

Definition at line 120 of file LineReader.hpp.

◆ m_filePos

std::vector<size_t> lvr2::LineReader::m_filePos
private

Definition at line 121 of file LineReader.hpp.

◆ m_fileType

fileType lvr2::LineReader::m_fileType
private

Definition at line 123 of file LineReader.hpp.

◆ m_line_element_amount

size_t lvr2::LineReader::m_line_element_amount
private

Definition at line 127 of file LineReader.hpp.

◆ m_numFiles

size_t lvr2::LineReader::m_numFiles
private

Definition at line 128 of file LineReader.hpp.

◆ m_openNextFile

bool lvr2::LineReader::m_openNextFile
private

Definition at line 130 of file LineReader.hpp.

◆ m_ply

bool lvr2::LineReader::m_ply
private

Definition at line 125 of file LineReader.hpp.

◆ m_PointBlockSize

size_t lvr2::LineReader::m_PointBlockSize
private

Definition at line 124 of file LineReader.hpp.


The documentation for this struct 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