ChannelInfo Class Reference
ChannelInfo stores the basic properties of a channel.
More...
#include <PointData.h>
List of all members.
Detailed Description
ChannelInfo stores the basic properties of a channel; its name, datatype and bits of precision.
Definition at line 126 of file PointData.h.
Constructor & Destructor Documentation
ChannelInfo::~ChannelInfo |
( |
void |
|
) |
|
ChannelInfo::ChannelInfo |
( |
void |
|
) |
|
Member Function Documentation
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.
DataType ChannelInfo::getDataType |
( |
void |
|
) |
const |
This method returns the channels data type.
const char* ChannelInfo::getName |
( |
void |
|
) |
const |
This method returns the channels name.
double ChannelInfo::getQuantization |
( |
void |
|
) |
const |
This functon returns the quantization scale factor for floating data.
void ChannelInfo::init |
( |
const char * |
name, |
|
|
DataType |
datatype, |
|
|
int |
bits, |
|
|
double |
quantization = 0 | |
|
) |
| | |
bool ChannelInfo::operator!= |
( |
const ChannelInfo & |
rhs |
) |
const [inline] |
bool ChannelInfo::operator== |
( |
const ChannelInfo & |
rhs |
) |
const |
void ChannelInfo::setQuantization |
( |
double |
value |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: