liblas Namespace Reference
Namespace grouping all elements of libLAS public interface. More...
Classes | |
| class | invalid_point_data |
| Exception reporting invalid point data. More... | |
| class | guid |
| Definition of Globally Unique Identifier type. More... | |
| class | reader_iterator |
| Input iterator associated with liblas::LASReader. More... | |
| class | writer_iterator |
| Output iterator associated with liblas::LASWriter. More... | |
| class | Classification |
| Class definition to manipulate properties of point record classification. More... | |
| class | Color |
| RGB color container. More... | |
| class | LASError |
| Definition of error notification used on the level of C API. More... | |
| class | PointFormat |
| class | Header |
| Definition of public header block. More... | |
| class | Point |
| Point data record composed with X, Y, Z coordinates and attributes. More... | |
| class | Reader |
| Defines public interface to LAS reader implementation. More... | |
| class | SpatialReference |
| Spatial Reference System container for libLAS. More... | |
| class | VariableRecord |
| Representation of variable-length record data. More... | |
| class | Writer |
| Defines public interface to LAS writer implementation. More... | |
| class | ReaderI |
| class | WriterI |
Typedefs | |
| typedef liblas::Writer | LASWriter |
| typedef liblas::Reader | LASReader |
| typedef liblas::Point | LASPoint |
| typedef liblas::SpatialReference | LASSpatialReference |
| typedef liblas::VariableRecord | LASVariableRecord |
| typedef liblas::Header | LASHeader |
| typedef liblas::Classification | LASClassification |
| typedef liblas::Color | LASColor |
| typedef reader_iterator< LASPoint > | lasreader_iterator |
| Public specialization of LASReader input iterator for liblas::LASPoint type. | |
| typedef writer_iterator< LASPoint > | laswriter_iterator |
| Public specialization of LASWriter output iterator for liblas::LASPoint type. | |
Enumerations | |
| enum | LASVersion { eLASVersion10 = 1 * 100000 + 0, eLASVersion11 = 1 * 100000 + 1, eLASVersion12 = 1 * 100000 + 2, eLASVersion20 = 2 * 100000 + 0 } |
Version numbers of the ASPRS LAS Specification. More... | |
| enum | FormatVersion { eVersionMajorMin = 1, eVersionMajorMax = 1, eVersionMinorMin = 0, eVersionMinorMax = 2 } |
Range of allowed ASPRS LAS file format versions. More... | |
| enum | PointFormatName { ePointFormat0 = 0, ePointFormat1 = 1, ePointFormat2 = 2, ePointFormat3 = 3, ePointFormatUnknown = -99 } |
Versions of point record format. More... | |
| enum | PointSize { ePointSize0 = 20, ePointSize1 = 28, ePointSize2 = 26, ePointSize3 = 34 } |
Number of bytes of point record storage in particular format. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, guid const &g) |
| std::istream & | operator>> (std::istream &is, guid &g) |
| template<typename T > | |
| bool | operator== (reader_iterator< T > const &lhs, reader_iterator< T > const &rhs) |
| Equality operator implemented in terms of reader_iterator::equal. | |
| template<typename T > | |
| bool | operator!= (reader_iterator< T > const &lhs, reader_iterator< T > const &rhs) |
| Inequality operator implemented in terms of reader_iterator::equal. | |
| bool | operator== (Classification const &lhs, Classification const &rhs) |
| Equal-to operator implemented in terms of Classification::equal. | |
| bool | operator!= (Classification const &lhs, Classification const &rhs) |
| Not-equal-to operator implemented in terms of Classification::equal. | |
| std::ostream & | operator<< (std::ostream &os, Classification const &cls) |
| The output stream operator is based on std::bitset<N>::operator<<. | |
| bool | operator== (Point const &lhs, Point const &rhs) |
| Equal-to operator implemented in terms of Point::equal method. | |
| bool | operator!= (Point const &lhs, Point const &rhs) |
| Not-equal-to operator implemented in terms of Point::equal method. | |
| bool | operator== (VariableRecord const &lhs, VariableRecord const &rhs) |
| Equality operator. | |
| bool | operator!= (VariableRecord const &lhs, VariableRecord const &rhs) |
| Inequality operator. | |
| bool | Open (std::ifstream &ifs, std::string const &filename) |
| Open file to read in binary mode. | |
| bool | Create (std::ofstream &ofs, std::string const &filename) |
| Create file and open to write in binary mode. | |
| bool | IsGDALEnabled () |
| Check if GDAL support has been built in to libLAS. | |
| bool | IsLibGeoTIFFEnabled () |
| Check if GeoTIFF support has been built in to libLAS. | |
| bool | IsLibSpatialIndexEnabled () |
| Check if libspatialindex support has been built in to libLAS. | |
Detailed Description
Namespace grouping all elements of libLAS public interface.
- Note:
- User's may notice there is namespace detail nested in the liblas namespace. The detail should be considered as private namespace dedicated for implementation details, so libLAS users are not supposed to access it directly, nor included headers from the detail subdirectory of liblas include folder.
Typedef Documentation
| typedef liblas::Color liblas::LASColor |
| typedef liblas::Header liblas::LASHeader |
| typedef liblas::Point liblas::LASPoint |
| typedef liblas::Reader liblas::LASReader |
Public specialization of LASReader input iterator for liblas::LASPoint type.
| typedef liblas::Writer liblas::LASWriter |
Public specialization of LASWriter output iterator for liblas::LASPoint type.
Enumeration Type Documentation
| enum liblas::LASVersion |
| enum liblas::PointSize |
Function Documentation
| bool liblas::Create | ( | std::ofstream & | ofs, | |
| std::string const & | filename | |||
| ) | [inline] |
Create file and open to write in binary mode.
The output file is also attached to output stream.
- Parameters:
-
ofs - reference to output file stream to which created file is attached filename - name of file to open
- Returns:
- true if file has been create with success, false otherwise
- Exceptions:
-
No throw
| bool liblas::IsGDALEnabled | ( | ) | [inline] |
Check if GDAL support has been built in to libLAS.
| bool liblas::IsLibGeoTIFFEnabled | ( | ) | [inline] |
Check if GeoTIFF support has been built in to libLAS.
| bool liblas::IsLibSpatialIndexEnabled | ( | ) | [inline] |
Check if libspatialindex support has been built in to libLAS.
| bool liblas::Open | ( | std::ifstream & | ifs, | |
| std::string const & | filename | |||
| ) | [inline] |
Open file to read in binary mode.
The input file is also attached to input stream.
- Parameters:
-
ifs - reference to input file stream to which opened file is attached filename - name of file to open
- Returns:
- true if file has been opened with success, false otherwise
- Exceptions:
-
No throw
| bool liblas::operator!= | ( | VariableRecord const & | lhs, | |
| VariableRecord const & | rhs | |||
| ) | [inline] |
Inequality operator.
Implemented in terms of LASRecordHeader::equal member function.
- Exceptions:
-
No throw
| bool liblas::operator!= | ( | Point const & | lhs, | |
| Point const & | rhs | |||
| ) | [inline] |
Not-equal-to operator implemented in terms of Point::equal method.
| bool liblas::operator!= | ( | Classification const & | lhs, | |
| Classification const & | rhs | |||
| ) | [inline] |
Not-equal-to operator implemented in terms of Classification::equal.
| bool liblas::operator!= | ( | reader_iterator< T > const & | lhs, | |
| reader_iterator< T > const & | rhs | |||
| ) | [inline] |
Inequality operator implemented in terms of reader_iterator::equal.
| std::ostream& liblas::operator<< | ( | std::ostream & | os, | |
| Classification const & | cls | |||
| ) | [inline] |
The output stream operator is based on std::bitset<N>::operator<<.
It outputs classification flags in form of string. Effects promised as by Standard for Programming Language C++ , 23.3.5.2: Each character is determined by the value of its corresponding bit position in *this. Character position N - 1 corresponds to bit position zero. Subsequent decreasing character positions correspond to increasing bit positions. Bit value zero becomes the character 0, bit value one becomes the character 1.
| std::ostream& liblas::operator<< | ( | std::ostream & | os, | |
| guid const & | g | |||
| ) | [inline] |
| bool liblas::operator== | ( | VariableRecord const & | lhs, | |
| VariableRecord const & | rhs | |||
| ) | [inline] |
Equality operator.
Implemented in terms of VariableRecord::equal member function.
- Exceptions:
-
No throw
References liblas::VariableRecord::equal().

| bool liblas::operator== | ( | Point const & | lhs, | |
| Point const & | rhs | |||
| ) | [inline] |
Equal-to operator implemented in terms of Point::equal method.
References liblas::Point::equal().

| bool liblas::operator== | ( | Classification const & | lhs, | |
| Classification const & | rhs | |||
| ) | [inline] |
Equal-to operator implemented in terms of Classification::equal.
References liblas::Classification::equal().

| bool liblas::operator== | ( | reader_iterator< T > const & | lhs, | |
| reader_iterator< T > const & | rhs | |||
| ) | [inline] |
Equality operator implemented in terms of reader_iterator::equal.
References liblas::reader_iterator< T >::equal().

| std::istream& liblas::operator>> | ( | std::istream & | is, | |
| guid & | g | |||
| ) | [inline] |

