|
HDK
|
#include <PXL_DeepChannelList.h>
Inheritance diagram for PXL_DeepChannelList:Classes | |
| class | ChannelInfo |
Public Member Functions | |
| PXL_DeepChannelList () | |
| void | addChannel (const UT_StringHolder &name, int size, bool ord=false) |
| Add a channel to the channel list. More... | |
| int | channelCount () const |
| Number of channels in the channel list. More... | |
| const UT_StringHolder & | name (int i) const |
| Return the name of the given channel. More... | |
| int | tupleSize (int i) const |
| Return tuple size of the given channel. More... | |
| int | offset (int i) const |
| bool | isOrdinal (int i) const |
| Return whether the channel data can be interpolated. More... | |
| int | maxSize () const |
| Return the maximum tuple size of all channels. More... | |
| int | totalSize () const |
| Return the sum of the sizes of all channels. More... | |
| int | findChannel (const char *name) const |
| Return -1 if channel isn't found. More... | |
| void | dump (const char *msg="") const |
| Dump the channel list to stdout. More... | |
| bool | isEqual (const PXL_DeepChannelList &src) const |
| bool | operator== (const PXL_DeepChannelList &s) |
| bool | operator!= (const PXL_DeepChannelList &s) |
Public Member Functions inherited from UT_IntrusiveRefCounter< PXL_DeepChannelList > | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More... | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More... | |
| UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More... | |
| SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More... | |
| SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< PXL_DeepChannelList > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More... | |
Definition at line 19 of file PXL_DeepChannelList.h.
|
inline |
Definition at line 52 of file PXL_DeepChannelList.h.
|
inline |
Add a channel to the channel list.
Definition at line 59 of file PXL_DeepChannelList.h.
|
inline |
Number of channels in the channel list.
Definition at line 75 of file PXL_DeepChannelList.h.
| void PXL_DeepChannelList::dump | ( | const char * | msg = "" | ) | const |
Dump the channel list to stdout.
| int PXL_DeepChannelList::findChannel | ( | const char * | name | ) | const |
Return -1 if channel isn't found.
| bool PXL_DeepChannelList::isEqual | ( | const PXL_DeepChannelList & | src | ) | const |
Comparison
|
inline |
Return whether the channel data can be interpolated.
Definition at line 88 of file PXL_DeepChannelList.h.
|
inline |
Return the maximum tuple size of all channels.
Definition at line 91 of file PXL_DeepChannelList.h.
|
inline |
Return the name of the given channel.
Definition at line 78 of file PXL_DeepChannelList.h.
Return the "offset" of a given channel. This assumes a linear array of interleaved channel data.
Definition at line 85 of file PXL_DeepChannelList.h.
|
inline |
Comparison
Definition at line 71 of file PXL_DeepChannelList.h.
|
inline |
Comparison
Definition at line 70 of file PXL_DeepChannelList.h.
|
inline |
Return the sum of the sizes of all channels.
Definition at line 93 of file PXL_DeepChannelList.h.
Return tuple size of the given channel.
Definition at line 81 of file PXL_DeepChannelList.h.