ChannelInfo stores the basic properties of a channel.
More...
#include <PointData.h>
ChannelInfo stores the basic properties of a channel; its name, datatype and bits of precision.
Definition at line 126 of file PointData.h.
§ ~ChannelInfo()
ChannelInfo::~ChannelInfo |
( |
void |
| ) |
|
§ ChannelInfo()
ChannelInfo::ChannelInfo |
( |
void |
| ) |
|
§ getBits()
size_t ChannelInfo::getBits |
( |
void |
| ) |
const |
This functon returns the number of bits used in the data type. For floating point data types this value it the number of bits needed after its been quantized.
§ getDataType()
DataType ChannelInfo::getDataType |
( |
void |
| ) |
const |
This method returns the channels data type.
§ getName()
const char* ChannelInfo::getName |
( |
void |
| ) |
const |
This method returns the channels name.
§ getQuantization()
double ChannelInfo::getQuantization |
( |
void |
| ) |
const |
This functon returns the quantization scale factor for floating data.
§ init() [1/2]
void ChannelInfo::init |
( |
const char * |
name, |
|
|
DataType |
datatype, |
|
|
int |
bits, |
|
|
double |
quantization = 0 |
|
) |
| |
§ init() [2/2]
§ operator!=()
bool ChannelInfo::operator!= |
( |
const ChannelInfo & |
rhs | ) |
const |
|
inline |
§ operator==()
bool ChannelInfo::operator== |
( |
const ChannelInfo & |
rhs | ) |
const |
§ setQuantization()
void ChannelInfo::setQuantization |
( |
double |
value | ) |
|
§ m_bits
§ m_datatype
§ m_name
char* ChannelInfo::m_name |
|
protected |
§ m_quantization
double ChannelInfo::m_quantization |
|
protected |
The documentation for this class was generated from the following file: