An object which holds all essential information about a single channel of an Image.
More...
#include <mitkChannelDescriptor.h>
An object which holds all essential information about a single channel of an Image.
The channel descriptor is designed to be used only as a part of the ImageDescriptor. A consequence to this is that the ChannelDescriptor does not hold the geometry information, only the PixelType. The pixel type is the single information that can differ among an image with multiple channels.
Definition at line 27 of file mitkChannelDescriptor.h.
◆ ChannelDescriptor()
mitk::ChannelDescriptor::ChannelDescriptor |
( |
mitk::PixelType |
type, |
|
|
vcl_size_t |
numOfElements, |
|
|
bool |
allocate = false |
|
) |
| |
◆ ~ChannelDescriptor()
mitk::ChannelDescriptor::~ChannelDescriptor |
( |
| ) |
|
◆ AllocateData()
void mitk::ChannelDescriptor::AllocateData |
( |
| ) |
|
|
protected |
◆ GetData()
unsigned char* mitk::ChannelDescriptor::GetData |
( |
| ) |
const |
|
inline |
Get the pointer to the actual data of the channel.
- Warning
- Such access to the image's data is not safe and will be replaced
Definition at line 43 of file mitkChannelDescriptor.h.
◆ GetPixelType()
PixelType mitk::ChannelDescriptor::GetPixelType |
( |
| ) |
const |
|
inline |
◆ GetSize()
vcl_size_t mitk::ChannelDescriptor::GetSize |
( |
| ) |
const |
|
inline |
◆ SetData()
void mitk::ChannelDescriptor::SetData |
( |
void * |
dataPtr | ) |
|
|
inlineprotected |
◆ m_Data
unsigned char* mitk::ChannelDescriptor::m_Data |
|
protected |
◆ m_Name
std::string mitk::ChannelDescriptor::m_Name |
|
protected |
◆ m_PixelType
PixelType mitk::ChannelDescriptor::m_PixelType |
|
protected |
◆ m_Size
vcl_size_t mitk::ChannelDescriptor::m_Size |
|
protected |
The documentation for this class was generated from the following file: