Defines public interface to LAS reader implementation.
More...
#include <reader.hpp>
Defines public interface to LAS reader implementation.
◆ Reader() [1/3]
| liblas::Reader::Reader |
( |
std::istream & | ifs | ) |
|
Consructor initializes reader with input stream as source of LAS records.
- Parameters
-
| ifs | - stream used as source of LAS records. |
- Exceptions
-
| std::runtime_error | - on failure state of the input stream. |
Referenced by operator=(), and Reader().
◆ Reader() [2/3]
| liblas::Reader::Reader |
( |
ReaderIPtr | reader | ) |
|
◆ Reader() [3/3]
| liblas::Reader::Reader |
( |
Reader const & | other | ) |
|
◆ ~Reader()
| liblas::Reader::~Reader |
( |
| ) |
|
◆ GetFilters()
Gets the list of filters to be applied to points as they are read.
◆ GetHeader()
| Header const & liblas::Reader::GetHeader |
( |
| ) |
const |
Provides read-only access to header of LAS file being read.
- Exceptions
-
◆ GetPoint()
| Point const & liblas::Reader::GetPoint |
( |
| ) |
const |
Provides read-only access to current point record.
- Exceptions
-
◆ GetTransforms()
Gets the list of transforms to be applied to points as they are read.
◆ operator=()
◆ operator[]()
| Point const & liblas::Reader::operator[] |
( |
std::size_t | n | ) |
|
Provides index-based access to point records.
The operator is implemented in terms of ReadPointAt method and is not const-qualified because it updates file stream position.
- Exceptions
-
◆ ReadNextPoint()
| bool liblas::Reader::ReadNextPoint |
( |
| ) |
|
Fetches next point record in file.
- Exceptions
-
◆ ReadPointAt()
| bool liblas::Reader::ReadPointAt |
( |
std::size_t | n | ) |
|
Fetches n-th point record from file.
- Exceptions
-
◆ Reset()
| void liblas::Reader::Reset |
( |
| ) |
|
Reinitializes state of the reader.
- Exceptions
-
◆ Seek()
| bool liblas::Reader::Seek |
( |
std::size_t | n | ) |
|
Move to the specified point to start ReadNextPoint operations.
- Exceptions
-
◆ SetFilters()
Sets filters that are used to determine whether or not to keep a point that was read from the file.
Filters have no effect for reading data at specific locations in the file.
They only affect reading ReadNextPoint-style operations Filters are applied before transforms.
◆ SetHeader()
| void liblas::Reader::SetHeader |
( |
Header const & | | ) |
|
◆ SetTransforms()
Sets transforms to apply to points.
Points are transformed in place in the order of the transform list. Filters are applied before transforms.
The documentation for this class was generated from the following file: