#include <vlvoldatalayout.h>
Inheritance diagram for vlVolDataLayoutBase< DataType >:

Public Member Functions | |
| vlVolDataLayoutBase (const vlDim &dim, const vlDataType dataType, const vlUnit &units, const vlLayoutType layout) | |
| Default constructor. | |
| virtual | ~vlVolDataLayoutBase () |
| Virtual destructor. | |
| const char * | typeInfo () const |
| Retruns the type name of the datatype - compilar dependant. | |
| virtual bool | isValid () const=0 |
| Returns true if the data is valid. | |
| virtual bool | clear (const uint8 data)=0 |
| Clears the volume data with the given data. | |
| virtual DataType | getVoxel (const vlPoint3ui &position) const=0 |
| Get the voxel value at the given position. | |
| virtual DataType | getVoxel (const vlPoint3f &position) const=0 |
| Get the voxel value at the given position. | |
| virtual bool | setVoxel (const vlPoint3ui &position, const DataType voxel)=0 |
| Set the voxel value at the given position to 'voxel'. | |
| virtual DataType * | getVoxelPtr (const vlPoint3ui &position) const=0 |
| Returns the pointer to the voxel at the given position. | |
| void * | getVoxelVoidPtr (const vlPoint3ui &position) const |
| Returns the pointer to the voxel at the given position. | |
Definition at line 45 of file vlvoldatalayout.h.
|
||||||||||||||||||||||||
|
Definition at line 49 of file vlvoldatalayout.h. References vlVolData::layout(). |
|
|||||||||
|
Definition at line 53 of file vlvoldatalayout.h. |
|
||||||||||
|
||||||||||
|
Implemented in vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, vlLayout::Linear >, and vlVolDataLayout< DataType, Layout >. |
|
||||||||||
|
Implemented in vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, vlLayout::Linear >, and vlVolDataLayout< DataType, Layout >. |
|
||||||||||
|
Do not use this unless it is absolutely necessary. Use iterators instead.
Implemented in vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, vlLayout::Linear >, and vlVolDataLayout< DataType, Layout >. Referenced by vlVolDataLayoutBase< DataType >::getVoxelVoidPtr(). |
|
||||||||||
|
This returns a void pointer, so make sure you cast it to the correct type. To avoid type-conflicts, "use iterators".
Implements vlVolData. Reimplemented in vlVolDataLayout< DataType, LayoutType >, vlVolDataLayout< DataType, LayoutType >, and vlVolDataLayout< DataType, vlLayout::Linear >. Definition at line 89 of file vlvoldatalayout.h. References vlVolDataLayoutBase< DataType >::getVoxelPtr(). |
|
|||||||||
|
||||||||||||||||
|
Implemented in vlVolDataLayout< DataType, Layout >. |
|
|||||||||
|
Implements vlVolData. Definition at line 56 of file vlvoldatalayout.h. |
1.3.3