pktools  2.6.7
Processing Kernel for geospatial data
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FileReaderLas Class Reference
Collaboration diagram for FileReaderLas:
Collaboration graph
[legend]

Public Member Functions

 FileReaderLas (const std::string &filename)
 
void open (const std::string &filename)
 
void close (void)
 
liblas::Header const & getHeader () const
 
bool isCompressed () const
 
unsigned long int getPointCount () const
 
void las2ascii (const std::string &filename, bool verbose=false) const
 
template<typename T >
liblas::Bounds< T > getExtent () const
 
void getExtent (double &ulx, double &uly, double &lrx, double &lry) const
 
double getMinZ () const
 
double getMaxZ () const
 
liblas::Reader * getReader ()
 
void resetReader ()
 
void setFilter (std::vector< liblas::FilterPtr > const &filters)
 
bool const & readNextPoint ()
 
bool const & readNextPoint (liblas::Point &thePoint)
 
liblas::Point const & getPoint ()
 
liblas::Point const & readPointAt (std::size_t n)
 
void addReturnsFilter (std::vector< unsigned short > const &returns)
 
void addClassFilter (std::vector< unsigned short > const &classes)
 
void setFilters (const std::vector< liblas::FilterPtr > &filters)
 
void setFilters ()
 

Protected Member Functions

void setCodec (const std::string &filename)
 

Protected Attributes

std::string m_filename
 
std::ifstream * m_ifstream
 
liblas::Reader * m_reader
 
std::vector< liblas::FilterPtr > m_filters
 

Detailed Description

Definition at line 39 of file FileReaderLas.h.


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