Public Member Functions | Public Attributes | Private Member Functions | List of all members
LASattribute Class Reference

#include <lasdefinitions.hpp>

Public Member Functions

U32 get_size () const
 
BOOL has_max () const
 
BOOL has_min () const
 
BOOL has_no_data () const
 
BOOL has_offset () const
 
BOOL has_scale () const
 
 LASattribute (U32 type, const char *name, const char *description=0, U32 dim=1)
 
 LASattribute (U8 size)
 
BOOL set_max (F32 max, I32 dim=0)
 
BOOL set_max (F64 max, I32 dim=0)
 
BOOL set_max (I16 max, I32 dim=0)
 
BOOL set_max (I32 max, I32 dim=0)
 
BOOL set_max (I64 max, I32 dim=0)
 
BOOL set_max (I8 max, I32 dim=0)
 
BOOL set_max (U16 max, I32 dim=0)
 
BOOL set_max (U32 max, I32 dim=0)
 
BOOL set_max (U64 max, I32 dim=0)
 
void set_max (U8 *max, I32 dim=0)
 
BOOL set_max (U8 max, I32 dim=0)
 
BOOL set_min (F32 min, I32 dim=0)
 
BOOL set_min (F64 min, I32 dim=0)
 
BOOL set_min (I16 min, I32 dim=0)
 
BOOL set_min (I32 min, I32 dim=0)
 
BOOL set_min (I64 min, I32 dim=0)
 
BOOL set_min (I8 min, I32 dim=0)
 
BOOL set_min (U16 min, I32 dim=0)
 
BOOL set_min (U32 min, I32 dim=0)
 
BOOL set_min (U64 min, I32 dim=0)
 
void set_min (U8 *min, I32 dim=0)
 
BOOL set_min (U8 min, I32 dim=0)
 
BOOL set_no_data (F32 no_data, I32 dim=0)
 
BOOL set_no_data (F64 no_data, I32 dim=0)
 
BOOL set_no_data (I16 no_data, I32 dim=0)
 
BOOL set_no_data (I32 no_data, I32 dim=0)
 
BOOL set_no_data (I64 no_data, I32 dim=0)
 
BOOL set_no_data (I8 no_data, I32 dim=0)
 
BOOL set_no_data (U16 no_data, I32 dim=0)
 
BOOL set_no_data (U32 no_data, I32 dim=0)
 
BOOL set_no_data (U64 no_data, I32 dim=0)
 
BOOL set_no_data (U8 no_data, I32 dim=0)
 
BOOL set_offset (F64 offset, I32 dim=0)
 
BOOL set_scale (F64 scale, I32 dim=0)
 
void update_max (U8 *max, I32 dim=0)
 
void update_min (U8 *min, I32 dim=0)
 

Public Attributes

U8 data_type
 
char description [32]
 
U64I64F64 max [3]
 
U64I64F64 min [3]
 
char name [32]
 
U64I64F64 no_data [3]
 
F64 offset [3]
 
U8 options
 
U8 reserved [2]
 
F64 scale [3]
 
U8 unused [4]
 

Private Member Functions

U64I64F64 biggest (U64I64F64 a, U64I64F64 b) const
 
U64I64F64 cast (U8 *value) const
 
I32 get_dim () const
 
I32 get_type () const
 
U64I64F64 smallest (U64I64F64 a, U64I64F64 b) const
 

Detailed Description

Definition at line 140 of file lasdefinitions.hpp.

Constructor & Destructor Documentation

◆ LASattribute() [1/2]

LASattribute::LASattribute ( U8  size)
inline

Definition at line 155 of file lasdefinitions.hpp.

◆ LASattribute() [2/2]

LASattribute::LASattribute ( U32  type,
const char *  name,
const char *  description = 0,
U32  dim = 1 
)
inline

Definition at line 163 of file lasdefinitions.hpp.

Member Function Documentation

◆ biggest()

U64I64F64 LASattribute::biggest ( U64I64F64  a,
U64I64F64  b 
) const
inlineprivate

Definition at line 287 of file lasdefinitions.hpp.

◆ cast()

U64I64F64 LASattribute::cast ( U8 value) const
inlineprivate

Definition at line 245 of file lasdefinitions.hpp.

◆ get_dim()

I32 LASattribute::get_dim ( ) const
inlineprivate

Definition at line 241 of file lasdefinitions.hpp.

◆ get_size()

U32 LASattribute::get_size ( ) const
inline

Definition at line 221 of file lasdefinitions.hpp.

◆ get_type()

I32 LASattribute::get_type ( ) const
inlineprivate

Definition at line 237 of file lasdefinitions.hpp.

◆ has_max()

BOOL LASattribute::has_max ( ) const
inline

Definition at line 217 of file lasdefinitions.hpp.

◆ has_min()

BOOL LASattribute::has_min ( ) const
inline

Definition at line 216 of file lasdefinitions.hpp.

◆ has_no_data()

BOOL LASattribute::has_no_data ( ) const
inline

Definition at line 215 of file lasdefinitions.hpp.

◆ has_offset()

BOOL LASattribute::has_offset ( ) const
inline

Definition at line 219 of file lasdefinitions.hpp.

◆ has_scale()

BOOL LASattribute::has_scale ( ) const
inline

Definition at line 218 of file lasdefinitions.hpp.

◆ set_max() [1/11]

BOOL LASattribute::set_max ( F32  max,
I32  dim = 0 
)
inline

Definition at line 209 of file lasdefinitions.hpp.

◆ set_max() [2/11]

BOOL LASattribute::set_max ( F64  max,
I32  dim = 0 
)
inline

Definition at line 210 of file lasdefinitions.hpp.

◆ set_max() [3/11]

BOOL LASattribute::set_max ( I16  max,
I32  dim = 0 
)
inline

Definition at line 204 of file lasdefinitions.hpp.

◆ set_max() [4/11]

BOOL LASattribute::set_max ( I32  max,
I32  dim = 0 
)
inline

Definition at line 206 of file lasdefinitions.hpp.

◆ set_max() [5/11]

BOOL LASattribute::set_max ( I64  max,
I32  dim = 0 
)
inline

Definition at line 208 of file lasdefinitions.hpp.

◆ set_max() [6/11]

BOOL LASattribute::set_max ( I8  max,
I32  dim = 0 
)
inline

Definition at line 202 of file lasdefinitions.hpp.

◆ set_max() [7/11]

BOOL LASattribute::set_max ( U16  max,
I32  dim = 0 
)
inline

Definition at line 203 of file lasdefinitions.hpp.

◆ set_max() [8/11]

BOOL LASattribute::set_max ( U32  max,
I32  dim = 0 
)
inline

Definition at line 205 of file lasdefinitions.hpp.

◆ set_max() [9/11]

BOOL LASattribute::set_max ( U64  max,
I32  dim = 0 
)
inline

Definition at line 207 of file lasdefinitions.hpp.

◆ set_max() [10/11]

void LASattribute::set_max ( U8 max,
I32  dim = 0 
)
inline

Definition at line 199 of file lasdefinitions.hpp.

◆ set_max() [11/11]

BOOL LASattribute::set_max ( U8  max,
I32  dim = 0 
)
inline

Definition at line 201 of file lasdefinitions.hpp.

◆ set_min() [1/11]

BOOL LASattribute::set_min ( F32  min,
I32  dim = 0 
)
inline

Definition at line 196 of file lasdefinitions.hpp.

◆ set_min() [2/11]

BOOL LASattribute::set_min ( F64  min,
I32  dim = 0 
)
inline

Definition at line 197 of file lasdefinitions.hpp.

◆ set_min() [3/11]

BOOL LASattribute::set_min ( I16  min,
I32  dim = 0 
)
inline

Definition at line 191 of file lasdefinitions.hpp.

◆ set_min() [4/11]

BOOL LASattribute::set_min ( I32  min,
I32  dim = 0 
)
inline

Definition at line 193 of file lasdefinitions.hpp.

◆ set_min() [5/11]

BOOL LASattribute::set_min ( I64  min,
I32  dim = 0 
)
inline

Definition at line 195 of file lasdefinitions.hpp.

◆ set_min() [6/11]

BOOL LASattribute::set_min ( I8  min,
I32  dim = 0 
)
inline

Definition at line 189 of file lasdefinitions.hpp.

◆ set_min() [7/11]

BOOL LASattribute::set_min ( U16  min,
I32  dim = 0 
)
inline

Definition at line 190 of file lasdefinitions.hpp.

◆ set_min() [8/11]

BOOL LASattribute::set_min ( U32  min,
I32  dim = 0 
)
inline

Definition at line 192 of file lasdefinitions.hpp.

◆ set_min() [9/11]

BOOL LASattribute::set_min ( U64  min,
I32  dim = 0 
)
inline

Definition at line 194 of file lasdefinitions.hpp.

◆ set_min() [10/11]

void LASattribute::set_min ( U8 min,
I32  dim = 0 
)
inline

Definition at line 186 of file lasdefinitions.hpp.

◆ set_min() [11/11]

BOOL LASattribute::set_min ( U8  min,
I32  dim = 0 
)
inline

Definition at line 188 of file lasdefinitions.hpp.

◆ set_no_data() [1/10]

BOOL LASattribute::set_no_data ( F32  no_data,
I32  dim = 0 
)
inline

Definition at line 183 of file lasdefinitions.hpp.

◆ set_no_data() [2/10]

BOOL LASattribute::set_no_data ( F64  no_data,
I32  dim = 0 
)
inline

Definition at line 184 of file lasdefinitions.hpp.

◆ set_no_data() [3/10]

BOOL LASattribute::set_no_data ( I16  no_data,
I32  dim = 0 
)
inline

Definition at line 178 of file lasdefinitions.hpp.

◆ set_no_data() [4/10]

BOOL LASattribute::set_no_data ( I32  no_data,
I32  dim = 0 
)
inline

Definition at line 180 of file lasdefinitions.hpp.

◆ set_no_data() [5/10]

BOOL LASattribute::set_no_data ( I64  no_data,
I32  dim = 0 
)
inline

Definition at line 182 of file lasdefinitions.hpp.

◆ set_no_data() [6/10]

BOOL LASattribute::set_no_data ( I8  no_data,
I32  dim = 0 
)
inline

Definition at line 176 of file lasdefinitions.hpp.

◆ set_no_data() [7/10]

BOOL LASattribute::set_no_data ( U16  no_data,
I32  dim = 0 
)
inline

Definition at line 177 of file lasdefinitions.hpp.

◆ set_no_data() [8/10]

BOOL LASattribute::set_no_data ( U32  no_data,
I32  dim = 0 
)
inline

Definition at line 179 of file lasdefinitions.hpp.

◆ set_no_data() [9/10]

BOOL LASattribute::set_no_data ( U64  no_data,
I32  dim = 0 
)
inline

Definition at line 181 of file lasdefinitions.hpp.

◆ set_no_data() [10/10]

BOOL LASattribute::set_no_data ( U8  no_data,
I32  dim = 0 
)
inline

Definition at line 175 of file lasdefinitions.hpp.

◆ set_offset()

BOOL LASattribute::set_offset ( F64  offset,
I32  dim = 0 
)
inline

Definition at line 213 of file lasdefinitions.hpp.

◆ set_scale()

BOOL LASattribute::set_scale ( F64  scale,
I32  dim = 0 
)
inline

Definition at line 212 of file lasdefinitions.hpp.

◆ smallest()

U64I64F64 LASattribute::smallest ( U64I64F64  a,
U64I64F64  b 
) const
inlineprivate

Definition at line 271 of file lasdefinitions.hpp.

◆ update_max()

void LASattribute::update_max ( U8 max,
I32  dim = 0 
)
inline

Definition at line 200 of file lasdefinitions.hpp.

◆ update_min()

void LASattribute::update_min ( U8 min,
I32  dim = 0 
)
inline

Definition at line 187 of file lasdefinitions.hpp.

Member Data Documentation

◆ data_type

U8 LASattribute::data_type

Definition at line 144 of file lasdefinitions.hpp.

◆ description

char LASattribute::description[32]

Definition at line 153 of file lasdefinitions.hpp.

◆ max

U64I64F64 LASattribute::max[3]

Definition at line 150 of file lasdefinitions.hpp.

◆ min

U64I64F64 LASattribute::min[3]

Definition at line 149 of file lasdefinitions.hpp.

◆ name

char LASattribute::name[32]

Definition at line 146 of file lasdefinitions.hpp.

◆ no_data

U64I64F64 LASattribute::no_data[3]

Definition at line 148 of file lasdefinitions.hpp.

◆ offset

F64 LASattribute::offset[3]

Definition at line 152 of file lasdefinitions.hpp.

◆ options

U8 LASattribute::options

Definition at line 145 of file lasdefinitions.hpp.

◆ reserved

U8 LASattribute::reserved[2]

Definition at line 143 of file lasdefinitions.hpp.

◆ scale

F64 LASattribute::scale[3]

Definition at line 151 of file lasdefinitions.hpp.

◆ unused

U8 LASattribute::unused[4]

Definition at line 147 of file lasdefinitions.hpp.


The documentation for this class was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26