#include <PointData.h>
Public Member Functions | |
~PointInfo (void) | |
PointInfo (void) | |
void | init (size_t numChannels) |
void | init (const PointInfo &pointInfo) |
void | init (const PointData &pointData) |
size_t | getNumChannels (void) const |
Get the number of channels. | |
const ChannelInfo & | getChannel (size_t idx) const |
Access the channel info. | |
ChannelInfo & | getChannel (size_t idx) |
Access the channel info. | |
bool | hasChannel (const char *name) const |
Determine if there is a channel with a given name. | |
const ChannelInfo * | getChannel (const char *name) const |
Access the channel data. | |
ChannelInfo * | getChannel (const char *name) |
Access the channel data. | |
size_t | getChannelIndex (const char *name) const |
Get the index for a given channel. | |
bool | hasValidXYZ (void) const |
Make sure the PointInfo has X, Y, and Z channels. | |
bool | operator== (const PointInfo &rhs) const |
bool | operator!= (const PointInfo &rhs) const |
Protected Attributes | |
size_t | m_numChannels |
ChannelInfo * | m_channel |
Definition at line 181 of file PointData.h.
PointInfo::~PointInfo | ( | void | ) |
PointInfo::PointInfo | ( | void | ) |
void PointInfo::init | ( | size_t | numChannels | ) |
void PointInfo::init | ( | const PointInfo & | pointInfo | ) |
void PointInfo::init | ( | const PointData & | pointData | ) |
size_t PointInfo::getNumChannels | ( | void | ) | const |
This method returns the number of channels.
const ChannelInfo& PointInfo::getChannel | ( | size_t | idx | ) | const |
This method returns the ChannelInfo for a given index.
idx | the index of the wanted channel |
ChannelInfo& PointInfo::getChannel | ( | size_t | idx | ) |
This method returns the ChannelInfo for a given index.
idx | the index of the wanted channel |
bool PointInfo::hasChannel | ( | const char * | name | ) | const |
The method determines if this object has a channel with the given name.
name | the channel name |
const ChannelInfo* PointInfo::getChannel | ( | const char * | name | ) | const |
This method returns the ChannelInfo for a given name.
name | the name of the wanted channel |
ChannelInfo* PointInfo::getChannel | ( | const char * | name | ) |
This method returns the ChannelInfo for a given name.
name | the name of the wanted channel |
size_t PointInfo::getChannelIndex | ( | const char * | name | ) | const |
This method returns index of the given channel name.
name | the name of the wanted channel |
bool PointInfo::hasValidXYZ | ( | void | ) | const |
This function checks the PointInfo object for X, Y, and Z channels and that their data type is DATATYPE_FLOAT64
bool PointInfo::operator== | ( | const PointInfo & | rhs | ) | const |
Referenced by operator!=().
bool PointInfo::operator!= | ( | const PointInfo & | rhs | ) | const [inline] |
size_t PointInfo::m_numChannels [protected] |
Definition at line 272 of file PointData.h.
ChannelInfo* PointInfo::m_channel [protected] |
Definition at line 273 of file PointData.h.
LizardTech |