#include <igtlNDArrayMessage.h>
Definition at line 30 of file igtlNDArrayMessage.h.
igtl::ArrayBase::ArrayBase |
( |
| ) |
|
|
protected |
igtl::ArrayBase::~ArrayBase |
( |
| ) |
|
|
protected |
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.
int igtl::ArrayBase::GetDimension |
( |
| ) |
|
|
inline |
virtual int igtl::ArrayBase::GetElementSize |
( |
| ) |
|
|
protectedpure virtual |
igtlUint32 igtl::ArrayBase::GetNumberOfElements |
( |
| ) |
|
|
protected |
Gets the number of elements in the array.
void* igtl::ArrayBase::GetRawArray |
( |
| ) |
|
|
inline |
igtlUint64 igtl::ArrayBase::GetRawArraySize |
( |
| ) |
|
Gets the size of the raw byte array stored in the class.
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.
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: