#include <vlvoldata_diskraw.h>
Inheritance diagram for vlVolDataLayout< DataType, LayoutType >:

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. | |
| 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. | |
Private Attributes | |
| FILE * | m_fp |
| File pointer to the data. | |
| vlDim | m_dimLimit |
| this is dimension-1 in each direction. for speeding up bounds checking - save one subtraction | |
| DataType * | m_pData |
| pointer to the linear data | |
Friends | |
| class | vlVolIterConst< DataType, LayoutType > |
| class | vlVolIter< DataType, LayoutType > |
The data access is implemented using the file i/o functionailty provided by the underlying OS.
Definition at line 61 of file vlvoldata_diskraw.h.
|
|||||||||
|
Definition at line 160 of file vlvoldata_diskraw.h. |
|
|||||||||
|
|
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 237 of file vlvoldata_diskraw.h. |
|
|||||||||
|
Definition at line 101 of file vlvoldata_rlencode.h. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 197 of file vlvoldata_diskraw.h. References vlTriple< float >::x(), vlTriple< float >::y(), and vlTriple< float >::z(). |
|
||||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 174 of file vlvoldata_diskraw.h. References vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
||||||||||
|
Do not use this unless it is absolutely necessary. Use iterators instead.
Implements vlVolDataLayoutBase< DataType >. |
|
||||||||||
|
Do not use this unless it is absolutely necessary. Use iterators instead.
Implements vlVolDataLayoutBase< DataType >. Definition at line 252 of file vlvoldata_diskraw.h. |
|
||||||||||
|
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 87 of file vlvoldata_rlencode.h. References vlVolDataLayout< DataType, Layout >::getVoxelPtr(). |
|
||||||||||
|
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 96 of file vlvoldata_diskraw.h. References vlVolDataLayout< DataType, Layout >::getVoxelPtr(). |
|
|||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 75 of file vlvoldata_rlencode.h. |
|
|||||||||
|
Implements vlVolDataLayoutBase< DataType >. Definition at line 84 of file vlvoldata_diskraw.h. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 129 of file vlvoldata_diskraw.h. References getVariableDataType, LayoutType, vlVolData::m_bitsPerVoxel, vlVolData::m_bytesPerVoxel, vlVolData::m_dataType, vlVolData::m_dim, UnsignedInt8, vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
|||||
|
Definition at line 57 of file vlvoldata_rlencode.h. |
|
|||||
|
Definition at line 56 of file vlvoldata_rlencode.h. |
|
|||||
|
Definition at line 108 of file vlvoldata_rlencode.h. |
|
|||||
|
Definition at line 114 of file vlvoldata_diskraw.h. |
|
|||||
|
Definition at line 105 of file vlvoldata_rlencode.h. |
1.3.3