Basic class representing multi channel DataType. More...
#include <ImageViz/SbImageDataType.h>
Public Member Functions | |
SbImageDataType (uint32_t nbChannel, const SbDataType &dataType) | |
uint32_t | getNumChannel () const |
Return number of channels. | |
const SbDataType & | getDataType () const |
Return type of channels. | |
bool | operator== (const SbImageDataType &c1) const |
Operator == and operator !=. | |
bool | operator!= (const SbImageDataType &c1) const |
size_t | getSize () const |
Return size in byte: nbChannel * sizeof(channel type) | |
Basic class representing multi channel DataType.
Basic class representing multi channel DataType. Encapsulate SbDataType and number of channels. All channels are concidered to have the same type.
Definition at line 40 of file SbImageDataType.h.
|
inline |
nbChannel | number of channels |
dataType | type of channel (all the channel have the same type) |
Definition at line 46 of file SbImageDataType.h.
|
inline |
Return type of channels.
Definition at line 57 of file SbImageDataType.h.
|
inline |
Return number of channels.
Definition at line 52 of file SbImageDataType.h.
|
inline |
Return size in byte: nbChannel * sizeof(channel type)
Definition at line 66 of file SbImageDataType.h.
|
inline |
Definition at line 61 of file SbImageDataType.h.
|
inline |
Operator == and operator !=.
Definition at line 60 of file SbImageDataType.h.