libLAS API Reference
(svn-trunk)
|
Namespace grouping all elements of libLAS public interface. More...
Namespaces | |
chipper | |
Classes | |
class | Bounds |
class | BoundsFilter |
A filter for keeping or rejecting points that fall within a specified bounds. More... | |
class | Classification |
Class definition to manipulate properties of point record classification. More... | |
class | ClassificationFilter |
A filter for keeping or rejecting a list of classification ids. More... | |
class | Color |
RGB color container. More... | |
class | ColorFetchingTransform |
class | ColorFilter |
A filter for color ranges. More... | |
class | configuration_error |
class | ContinuousValueFilter |
A templated class that allows you to create complex filters using functions that are callable from the liblas::Point class. More... | |
class | CoordinateSummary |
class | DefaultHeader |
Singleton used for all empty points upon construction. More... | |
class | Dimension |
Dimension definition. More... | |
class | Error |
Definition of error notification used on the level of C API. More... | |
class | FilterI |
Defines public interface to LAS filter implementation. More... | |
class | Header |
Definition of public header block. More... | |
struct | index |
class | Index |
class | index_filter_iterator |
class | IndexData |
class | IndexIterator |
class | invalid_expression |
class | invalid_format |
class | invalid_point_data |
Exception reporting invalid point data. More... | |
class | liblas_error |
struct | name |
class | not_yet_implemented |
class | Point |
Point data record composed with X, Y, Z coordinates and attributes. More... | |
struct | position |
class | Range |
class | Reader |
Defines public interface to LAS reader implementation. More... | |
class | reader_iterator |
Input iterator associated with liblas::LASReader. More... | |
class | ReaderFactory |
class | ReaderI |
class | ReprojectionTransform |
class | ReturnFilter |
A filter for keeping or rejecting a list of return ids. More... | |
class | Schema |
Schema definition. More... | |
struct | SetActive |
struct | SetRequired |
class | SpatialReference |
Spatial Reference System container for libLAS. More... | |
class | Summary |
A summarization utililty for LAS points. More... | |
class | ThinFilter |
A filter simple decimation. More... | |
class | TransformI |
Defines public interface to LAS transform implementation. More... | |
class | TranslationTransform |
class | ValidationFilter |
class | VariableRecord |
Representation of variable-length record data. More... | |
class | Writer |
Defines public interface to LAS writer implementation. More... | |
class | writer_iterator |
Output iterator associated with liblas::LASWriter. More... | |
class | WriterFactory |
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 boost::shared_ptr< FilterI > | FilterPtr |
typedef std::vector< uint8_t > | IndexVLRData |
typedef std::vector< liblas::detail::IndexCell > | IndexCellRow |
typedef std::vector< IndexCellRow > | IndexCellDataBlock |
typedef reader_iterator< Point > | lasreader_iterator |
Public specialization of LASReader input iterator for liblas::LASPoint type. More... | |
typedef writer_iterator< Point > | laswriter_iterator |
Public specialization of LASWriter output iterator for liblas::LASPoint type. More... | |
typedef std::vector< Dimension > | DimensionArray |
typedef boost::multi_index::multi_index_container< Dimension, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< position >, boost::multi_index::identity< Dimension > >, boost::multi_index::random_access< boost::multi_index::tag< index > >, boost::multi_index::hashed_unique< boost::multi_index::tag< name >, boost::multi_index::const_mem_fun< Dimension, std::string const &,&Dimension::GetName > > >> | IndexMap |
typedef IndexMap::index< name >::type | index_by_name |
typedef IndexMap::index< position >::type | index_by_position |
typedef IndexMap::index< index >::type | index_by_index |
typedef boost::shared_ptr< liblas::TransformI > | TransformPtr |
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 = 3 } |
Range of allowed ASPRS LAS file format versions. More... | |
enum | PointFormatName { ePointFormat0 = 0, ePointFormat1 = 1, ePointFormat2 = 2, ePointFormat3 = 3, ePointFormat4 = 4, ePointFormat5 = 5, 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 | |
bool | operator== (Classification const &lhs, Classification const &rhs) |
Equal-to operator implemented in terms of Classification::equal. More... | |
bool | operator!= (Classification const &lhs, Classification const &rhs) |
Not-equal-to operator implemented in terms of Classification::equal. More... | |
std::ostream & | operator<< (std::ostream &os, Classification const &cls) |
The output stream operator is based on std::bitset<N>::operator<<. More... | |
bool | operator== (Color const &lhs, Color const &rhs) |
bool | operator!= (Color const &lhs, Color const &rhs) |
std::ostream & | operator<< (std::ostream &os, liblas::Dimension const &d) |
LAS_DLL std::ostream & | operator<< (std::ostream &os, liblas::Header const &) |
template<typename T , typename Q > | |
void | ReadVLRData_n (T &dest, IndexVLRData const &src, Q &pos) |
template<typename T , typename Q > | |
void | ReadVLRDataNoInc_n (T &dest, IndexVLRData const &src, Q const &pos) |
template<typename T , typename Q > | |
void | ReadeVLRData_str (char *dest, IndexVLRData const &src, T const srclen, Q &pos) |
template<typename T , typename Q > | |
void | ReadVLRDataNoInc_str (char *dest, IndexVLRData const &src, T const srclen, Q pos) |
template<typename T > | |
bool | operator== (reader_iterator< T > const &lhs, reader_iterator< T > const &rhs) |
Equality operator implemented in terms of reader_iterator::equal. More... | |
template<typename T > | |
bool | operator!= (reader_iterator< T > const &lhs, reader_iterator< T > const &rhs) |
Inequality operator implemented in terms of reader_iterator::equal. More... | |
bool | Open (std::ifstream &ifs, std::string const &filename) |
Open file to read in binary mode. More... | |
std::istream * | Open (std::string const &filename, std::ios::openmode mode) |
bool | Create (std::ofstream &ofs, std::string const &filename) |
Create file and open to write in binary mode. More... | |
std::ostream * | Create (std::string const &filename, std::ios::openmode mode) |
void | Cleanup (std::ostream *ofs) |
void | Cleanup (std::istream *ifs) |
bool | operator== (Point const &lhs, Point const &rhs) |
Equal-to operator implemented in terms of Point::equal method. More... | |
bool | operator!= (Point const &lhs, Point const &rhs) |
Not-equal-to operator implemented in terms of Point::equal method. More... | |
LAS_DLL std::ostream & | operator<< (std::ostream &os, liblas::Point const &) |
bool | sort_dimensions (Dimension i, Dimension j) |
LAS_DLL std::ostream & | operator<< (std::ostream &os, liblas::Schema const &) |
LAS_DLL std::ostream & | operator<< (std::ostream &os, liblas::Summary const &s) |
LAS_DLL uint32_t | GetStreamPrecision (double scale) |
bool | operator== (VariableRecord const &lhs, VariableRecord const &rhs) |
Equality operator. More... | |
bool | operator!= (VariableRecord const &lhs, VariableRecord const &rhs) |
Inequality operator. More... | |
LAS_DLL std::ostream & | operator<< (std::ostream &os, liblas::VariableRecord const &) |
bool LAS_DLL | IsGDALEnabled (void) |
bool LAS_DLL | IsLibGeoTIFFEnabled (void) |
bool LAS_DLL | IsLasZipEnabled (void) |
std::string LAS_DLL | GetFullVersion (void) |
std::string LAS_DLL | GetVersion (void) |
Variables | |
class LAS_DLL | IndexData |
class LAS_DLL | IndexIterator |
Namespace grouping all elements of libLAS public interface.
typedef std::vector<Dimension> liblas::DimensionArray |
typedef boost::shared_ptr<FilterI> liblas::FilterPtr |
typedef IndexMap::index<index>::type liblas::index_by_index |
typedef IndexMap::index<name>::type liblas::index_by_name |
typedef IndexMap::index<position>::type liblas::index_by_position |
typedef std::vector<IndexCellRow> liblas::IndexCellDataBlock |
typedef std::vector<liblas::detail::IndexCell> liblas::IndexCellRow |
typedef boost::multi_index::multi_index_container< Dimension, boost::multi_index::indexed_by< boost::multi_index::ordered_unique<boost::multi_index::tag<position>, boost::multi_index::identity<Dimension> >, boost::multi_index::random_access<boost::multi_index::tag<index> >, boost::multi_index::hashed_unique<boost::multi_index::tag<name>, boost::multi_index::const_mem_fun<Dimension,std::string const&,&Dimension::GetName> > >> liblas::IndexMap |
typedef std::vector<uint8_t> liblas::IndexVLRData |
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.
typedef boost::shared_ptr<liblas::TransformI> liblas::TransformPtr |
Range of allowed ASPRS LAS file format versions.
Enumerator | |
---|---|
eVersionMajorMin |
Minimum of major component. |
eVersionMajorMax |
Maximum of major component. |
eVersionMinorMin |
Minimum of minor component. |
eVersionMinorMax |
Maximum of minor component. |
enum liblas::LASVersion |
Versions of point record format.
Enumerator | |
---|---|
ePointFormat0 |
Point Data Format 0. |
ePointFormat1 |
Point Data Format 1. |
ePointFormat2 |
Point Data Format 2. |
ePointFormat3 |
Point Data Format 3. |
ePointFormat4 |
Point Data Format 3. |
ePointFormat5 |
Point Data Format 3. |
ePointFormatUnknown |
Point Data Format is unknown. |
enum liblas::PointSize |
|
inline |
|
inline |
|
inline |
Create file and open to write in binary mode.
The output file is also attached to output stream.
ofs | - reference to output file stream to which created file is attached |
filename | - name of file to open |
No | throw |
|
inline |
References NULL.
std::string LAS_DLL liblas::GetFullVersion | ( | void | ) |
LAS_DLL uint32_t liblas::GetStreamPrecision | ( | double | scale | ) |
std::string LAS_DLL liblas::GetVersion | ( | void | ) |
bool LAS_DLL liblas::IsGDALEnabled | ( | void | ) |
bool LAS_DLL liblas::IsLasZipEnabled | ( | void | ) |
bool LAS_DLL liblas::IsLibGeoTIFFEnabled | ( | void | ) |
|
inline |
Open file to read in binary mode.
The input file is also attached to input stream.
ifs | - reference to input file stream to which opened file is attached |
filename | - name of file to open |
No | throw |
|
inline |
References NULL.
bool liblas::operator!= | ( | reader_iterator< T > const & | lhs, |
reader_iterator< T > const & | rhs | ||
) |
Inequality operator implemented in terms of reader_iterator::equal.
|
inline |
Inequality operator.
Implemented in terms of LASRecordHeader::equal member function.
No | throw |
Not-equal-to operator implemented in terms of Point::equal method.
|
inline |
Not-equal-to operator implemented in terms of Classification::equal.
LAS_DLL std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::Summary const & | s | ||
) |
LAS_DLL std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::VariableRecord const & | |||
) |
LAS_DLL std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::Schema const & | |||
) |
std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::Dimension const & | d | ||
) |
LAS_DLL std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::Point const & | |||
) |
|
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.
LAS_DLL std::ostream& liblas::operator<< | ( | std::ostream & | os, |
liblas::Header const & | |||
) |
bool liblas::operator== | ( | reader_iterator< T > const & | lhs, |
reader_iterator< T > const & | rhs | ||
) |
Equality operator implemented in terms of reader_iterator::equal.
References liblas::reader_iterator< T >::equal().
|
inline |
Equality operator.
Implemented in terms of VariableRecord::equal member function.
No | throw |
References liblas::VariableRecord::equal().
Equal-to operator implemented in terms of Point::equal method.
References liblas::Point::equal().
|
inline |
Equal-to operator implemented in terms of Classification::equal.
References liblas::Classification::equal().
|
inline |
|
inline |
|
inline |
|
inline |
class LAS_DLL liblas::IndexData |
class LAS_DLL liblas::IndexIterator |