#include <vlvoldata_linear.h>
Inheritance diagram for vlVolDataLayout< DataType, vlLayout::Linear >:

Public Member Functions | |
| vlVolDataLayout (const vlDim &dim, const vlUnit &units=vlUnit(1.0, 1.0, 1.0)) | |
| Default constructor. | |
| virtual | ~vlVolDataLayout () |
| Default destructor. | |
| DataType | getVoxel (const vlPoint3ui &position) const |
| Get the voxel value at the given position. | |
| DataType | getVoxel (const vlPoint3f &position) const |
| Get the voxel value at the given position. | |
| bool | setVoxel (vlPoint3ui const &position, DataType const voxel) |
| Set the voxel at given position to the given value. | |
| bool | isValid () const |
| Returns true if the data is valid. | |
| bool | clear (const uint8 data=0x00) |
| Clears the volume data with the given data. | |
| void * | getVoxelVoidPtr (const vlPoint3ui &position) const |
| Returns the pointer to the voxel at the given position. | |
| DataType * | getVoxelPtr (const vlPoint3ui &position) const |
| Returns the pointer to the voxel at the given position. | |
Protected Member Functions | |
| DataType * | dataPtr () const |
| Return a const pointer to the stored data. | |
| vlVolInterpolators< DataType, vlLayout::Linear > * | ipolatorCollection () |
| Return a pointer to the interpolator collection. | |
| vlVolVoxelOps< DataType, vlLayout::Linear > * | voxelOpCollection () |
| Return a pointer to the interpolator collection. | |
Private Attributes | |
| DataType * | m_pData |
| pointer to the linear data | |
| vlDim | m_dimLimit |
| this is dimension-1 in each direction. for speeding up bounds checking - save one subtraction | |
| vlVolInterpolators< DataType, vlLayout::Linear > * | m_ipolators |
| A collection of interpolators for this layout. | |
| vlVolVoxelOps< DataType, vlLayout::Linear > * | m_voxelops |
| A collection of voxel ops for this layout. | |
Friends | |
| class | vlVolIterConst< DataType, vlLayout::Linear > |
| class | vlVolIter< DataType, vlLayout::Linear > |
Definition at line 59 of file vlvoldata_linear.h.
|
|||||||||
|
|
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
|||||||||
|
Definition at line 107 of file vlvoldata_linear.h. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Do not use this unless it is absolutely necessary. Use iterators instead.
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
This returns a void pointer, so make sure you cast it to the correct type. To avoid type-conflicts, "use iterators".
Reimplemented from vlVolDataLayoutBase< DataType >. |
|
|||||||||
|
Definition at line 110 of file vlvoldata_linear.h. |
|
|||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 82 of file vlvoldata_linear.h. References vlVolDataLayout< DataType, Layout >::isValid(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
Definition at line 113 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 64 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 63 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 121 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 124 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 118 of file vlvoldata_linear.h. |
|
|||||
|
Definition at line 127 of file vlvoldata_linear.h. |
1.3.3