RDB 2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Enumerations | Functions
dataTypes.hpp File Reference

Point attribute access data types. More...

#include <array>
#include <vector>
#include <limits>
#include <cstdlib>
#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Classes

class  riegl::rdb::pointcloud::DataTypeOf< ValueType >
 Get RDB data type enumerator from data type. More...
 

Namespaces

 riegl
 RIEGL Laser Measurement Systems GmbH, Austria.
 
 riegl::rdb
 RDB library components.
 
 riegl::rdb::pointcloud
 RDB point cloud classes.
 

Enumerations

enum  riegl::rdb::pointcloud::DataType {
  riegl::rdb::pointcloud::NONE = 0, riegl::rdb::pointcloud::UINT8 = 1, riegl::rdb::pointcloud::INT8 = 2, riegl::rdb::pointcloud::UINT16 = 3,
  riegl::rdb::pointcloud::INT16 = 4, riegl::rdb::pointcloud::UINT32 = 5, riegl::rdb::pointcloud::INT32 = 6, riegl::rdb::pointcloud::UINT64 = 7,
  riegl::rdb::pointcloud::INT64 = 8, riegl::rdb::pointcloud::SINGLE = 9, riegl::rdb::pointcloud::DOUBLE = 10, riegl::rdb::pointcloud::FLOAT32 = SINGLE,
  riegl::rdb::pointcloud::FLOAT64 = DOUBLE
}
 Point attribute access data type. More...
 

Functions

template<typename ValueType >
DataType riegl::rdb::pointcloud::dataTypeOf ()
 Convenience wrapper for DataTypeOf class. More...
 
template<typename ValueType >
DataType riegl::rdb::pointcloud::dataTypeOf (const ValueType &value)
 Convenience wrapper for DataTypeOf class. More...
 
template<typename ValueType >
ValueType * riegl::rdb::pointcloud::dataPointerOf (ValueType *const value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType >
const ValueType * riegl::rdb::pointcloud::dataPointerOf (const ValueType *const value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType >
ValueType * riegl::rdb::pointcloud::dataPointerOf (ValueType &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType >
const ValueType * riegl::rdb::pointcloud::dataPointerOf (const ValueType &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType , std::size_t Size>
ValueType * riegl::rdb::pointcloud::dataPointerOf (std::array< ValueType, Size > &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType , std::size_t Size>
const ValueType * riegl::rdb::pointcloud::dataPointerOf (const std::array< ValueType, Size > &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType , class Allocator >
ValueType * riegl::rdb::pointcloud::dataPointerOf (std::vector< ValueType, Allocator > &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 
template<typename ValueType , class Allocator >
const ValueType * riegl::rdb::pointcloud::dataPointerOf (const std::vector< ValueType, Allocator > &value)
 Get pointer to variable or to data in a std::array or vector container. More...
 

Detailed Description

Point attribute access data types.

Author
RIEGL LMS GmbH, Austria
Version
2015-10-14/AW: Initial version
2018-07-05/AW: Add tools to get data type enum and pointer of data

Definition in file dataTypes.hpp.