Dimension definition.
More...
#include <dimension.hpp>
liblas::Dimension::Dimension |
( |
std::string const & |
name, |
|
|
std::size_t |
size_in_bits |
|
) |
| |
liblas::Dimension::Dimension |
( |
Dimension const & |
other | ) |
|
virtual liblas::Dimension::~Dimension |
( |
| ) |
|
|
inlinevirtual |
std::size_t liblas::Dimension::GetBitOffset |
( |
| ) |
const |
|
inline |
The bit location within the byte to start reading data.
liblas::Schema will set these values for you when liblas::Dimension are added to the liblas::Schema. This value will be 0 for dimensions that are composed of entire bytes.
std::size_t liblas::Dimension::GetBitSize |
( |
| ) |
const |
|
inline |
bits, total logical size of point record, including any custom dimensions
std::size_t liblas::Dimension::GetByteOffset |
( |
| ) |
const |
|
inline |
std::size_t liblas::Dimension::GetByteSize |
( |
| ) |
const |
bytes, physical/serialisation size of record
std::string liblas::Dimension::GetDescription |
( |
| ) |
const |
|
inline |
double liblas::Dimension::GetMaximum |
( |
| ) |
const |
|
inline |
The maximum value of this dimension as a double.
double liblas::Dimension::GetMinimum |
( |
| ) |
const |
|
inline |
The minimum value of this dimension as a double.
std::string const& liblas::Dimension::GetName |
( |
| ) |
const |
|
inline |
double liblas::Dimension::GetOffset |
( |
| ) |
const |
|
inline |
The offset value for this dimension.
Usually zero, but it can be set to any value in combination with the scale to allow for more expressive ranges.
uint32_t liblas::Dimension::GetPosition |
( |
| ) |
const |
|
inline |
The index position of the index.
In a standard ePointFormat0 data record, the X dimension would have a position of 0, while the Y dimension would have a position of 1, for example.
liblas::property_tree::ptree liblas::Dimension::GetPTree |
( |
| ) |
const |
double liblas::Dimension::GetScale |
( |
| ) |
const |
|
inline |
The scaling value for this dimension as a double.
This should be positive or negative powers of ten.
bool liblas::Dimension::IsActive |
( |
| ) |
const |
|
inline |
Is this dimension being used.
A dimension with IsActive false may exist as a placeholder in PointFormatName-specified dimensions, but have their IsActive flag set to false. In this case, those values may be disregarded.
Referenced by liblas::SetActive::operator()().
void liblas::Dimension::IsActive |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::IsFinitePrecision |
( |
| ) |
const |
|
inline |
If true, this dimension uses scale/offset values.
void liblas::Dimension::IsFinitePrecision |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::IsInteger |
( |
| ) |
const |
|
inline |
Does this dimension interpret to an integer? Only applicable to dimensions with IsNumeric == true.
void liblas::Dimension::IsInteger |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::IsNumeric |
( |
| ) |
const |
|
inline |
Is this dimension a numeric dimension.
Dimensions with IsNumeric == false are considered generic bit/byte fields/
void liblas::Dimension::IsNumeric |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::IsRequired |
( |
| ) |
const |
|
inline |
void liblas::Dimension::IsRequired |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::IsSigned |
( |
| ) |
const |
|
inline |
Does this dimension have a sign? Only applicable to dimensions with IsNumeric == true.
void liblas::Dimension::IsSigned |
( |
bool |
v | ) |
|
|
inline |
bool liblas::Dimension::operator!= |
( |
const Dimension & |
other | ) |
const |
|
inline |
bool liblas::Dimension::operator< |
( |
Dimension const & |
dim | ) |
const |
|
inline |
bool liblas::Dimension::operator== |
( |
const Dimension & |
other | ) |
const |
bool liblas::Dimension::operator> |
( |
Dimension const & |
dim | ) |
const |
|
inline |
void liblas::Dimension::SetBitOffset |
( |
std::size_t |
v | ) |
|
|
inline |
void liblas::Dimension::SetByteOffset |
( |
std::size_t |
v | ) |
|
|
inline |
void liblas::Dimension::SetDescription |
( |
std::string const & |
v | ) |
|
|
inline |
void liblas::Dimension::SetMaximum |
( |
double |
max | ) |
|
|
inline |
void liblas::Dimension::SetMinimum |
( |
double |
min | ) |
|
|
inline |
void liblas::Dimension::SetOffset |
( |
double |
v | ) |
|
|
inline |
void liblas::Dimension::SetPosition |
( |
uint32_t |
v | ) |
|
|
inline |
void liblas::Dimension::SetScale |
( |
double |
v | ) |
|
|
inline |
The documentation for this class was generated from the following file: