#include <igtlNDArrayMessage.h>
Definition at line 30 of file igtlNDArrayMessage.h.
◆ IndexType
◆ ArrayBase()
igtl::ArrayBase::ArrayBase |
( |
| ) |
|
|
protected |
◆ ~ArrayBase()
igtl::ArrayBase::~ArrayBase |
( |
| ) |
|
|
protected |
◆ Get1DIndex()
igtlUint32 igtl::ArrayBase::Get1DIndex |
( |
IndexType |
index | ) |
|
|
protected |
Returns the 1-D index of the element specified by 'index'. This function is used to calculate the index of the element in the raw array.
◆ GetDimension()
int igtl::ArrayBase::GetDimension |
( |
| ) |
|
|
inline |
◆ GetElementSize()
virtual int igtl::ArrayBase::GetElementSize |
( |
| ) |
|
|
protectedpure virtual |
◆ GetNumberOfElements()
igtlUint32 igtl::ArrayBase::GetNumberOfElements |
( |
| ) |
|
|
protected |
Gets the number of elements in the array.
◆ GetRawArray()
void* igtl::ArrayBase::GetRawArray |
( |
| ) |
|
|
inline |
◆ GetRawArraySize()
igtlUint64 igtl::ArrayBase::GetRawArraySize |
( |
| ) |
|
Gets the size of the raw byte array stored in the class.
◆ GetSize()
◆ SetArray()
int igtl::ArrayBase::SetArray |
( |
void * |
array | ) |
|
Sets an array from a byte array. Size and dimension must be specified prior to calling the SetArray() function.
◆ SetSize()
int igtl::ArrayBase::SetSize |
( |
IndexType |
size | ) |
|
Sets the size of the N-D array. Returns non-zero value, if success.
The documentation for this class was generated from the following file: