17 #ifndef MITKCHANNELDESCRIPTOR_H
18 #define MITKCHANNELDESCRIPTOR_H
47 unsigned char *
GetData()
const {
return m_Data; }
54 if (dataPtr ==
nullptr)
56 m_Data = (
unsigned char *)dataPtr;
82 #endif // MITKCHANNELDESCRIPTOR_H
DataCollection - Class to facilitate loading/accessing structured data.
unsigned char * GetData() const
Get the pointer to the actual data of the channel.
An object which holds all essential information about a single channel of an Image.
PixelType GetPixelType() const
Get the type of channel's elements.
Image class for storing images.
void SetData(void *dataPtr)
vcl_size_t GetSize() const
Get the size in bytes of the channel.
Class for defining the data type of pixels.