#include <vlvolinfo.h>
Public Member Functions | |
| vlVolInfo () | |
| Default constructor. | |
| virtual | ~vlVolInfo () |
| Default destructor. | |
| bool | isValid () const |
| Returns true if the data is enuff to define a volume. | |
| vlDim | dim () const |
| vlDim | origFileDim () const |
| vlStep | stepping () const |
| vlUnit | units () const |
| vlPoint3ui | origFilePos () const |
| uint16 | bitsPerVoxel () const |
| Bits per voxel - this field will always accuratly give the bits per voxel. | |
| uint16 | bytesPerVoxel () const |
| Bytes per voxel - set to zero if u want to use bitsPerVoxel instead (for voxels without multiples of 8 bits per voxel). | |
| uint16 | memSize () const |
| vlDataType | dataType () const |
| vlLayoutType | dataLayout () const |
| vlLayoutType | nonInterleaved () const |
| uint32 | headerSize () const |
| const vlVarList * | extraInfo () const |
| Const pointer to the storage of extra information regarding the volume. | |
| vlVarList * | extraInfoRW () |
| Writable, non-const Pointer to the storage of extra information. | |
| void | setOrigFilePos (const vlPoint3ui &position) |
| void | setDim (const vlDim &dim) |
| void | setOrigFileDim (const vlDim &dim) |
| void | setStepping (const vlStep &step) |
| void | setUnits (const vlUnit &units) |
| void | setBitsPerVoxel (const uint16 bitsPerVoxel) |
| void | setBytesPerVoxel (const uint16 bytesPerVoxel) |
| void | setDataType (const vlDataType type) |
| void | setDataLayout (const vlLayoutType type) |
| void | setNonInterleaved (const bool ni) |
| void | setHeaderSize (const uint32 size) |
| void | setExtraInfo (const vlVarList *extraInfo) |
Protected Attributes | |
| vlDim | m_dim |
| Volume dimensions. | |
| vlDim | m_origFileDim |
| Volume dimensions. | |
| vlStep | m_step |
| Volume stepping in each dimension. | |
| vlUnit | m_units |
| Length along each unit. | |
| unsigned short | m_bitsPerVoxel |
| unsigned short | m_bytesPerVoxel |
| vlDataType | m_dataType |
| Data type. | |
| vlLayoutType | m_layout |
| Layout of the volume data. | |
| bool | m_noninterleavedRGB |
| Input data is noninterleaved RGB data. | |
| unsigned long | m_headerSize |
| Size of the file header in bytes. | |
| vlPoint3ui | m_position |
| Volume start position. | |
| vlVarListAdmin | m_extraInfo |
| Storage for extra information. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, vlVolInfo const &info) |
| overriding << to enable writing vol info to a stream | |
Definition at line 52 of file vlvolinfo.h.
|
|
Definition at line 29 of file vlvolinfo.cpp. References vlVarListAdmin::add(), m_bitsPerVoxel, m_bytesPerVoxel, m_dataType, m_extraInfo, m_noninterleavedRGB, m_position, UnsignedInt8, and vlPoint3ui. |
|
|
Definition at line 44 of file vlvolinfo.cpp. References vlVarListAdmin::clear(), and m_extraInfo. |
|
|
Set bytesPerVoxel to 0 incase voxel size is not on the byte boundary. i.e whenever bytesPerVoxel = 0, refer to bits per voxel for the exact voxel size. Definition at line 80 of file vlvolinfo.h. References m_bitsPerVoxel, and uint16. Referenced by vlVolFioSLC::readData(), vlVolFioVOX::writeInfo(), vlVolFioSLC::writeInfo(), vlVolFioRAW::writeInfo(), vlVolFioPGMVol::writeInfo(), and vlVolFiof3d::writeInfo(). |
|
|
Definition at line 86 of file vlvolinfo.h. References m_bytesPerVoxel, and uint16. Referenced by vlVolume::readImages(), vlVolFioSLC::readInfo(), vlVolFioRAW::readInfo(), vlVolFioSLC::writeData(), and vlVolFioRAW::writeInfo(). |
|
|
Definition at line 92 of file vlvolinfo.h. References m_layout, and vlLayoutType. |
|
|
Definition at line 90 of file vlvolinfo.h. References m_dataType, and vlDataType. Referenced by vlVolume::read(), vlVolFioSLC::readData(), vlVolFioPPM::readData(), vlVolFioPGMVol::readData(), vlVolFiof3d::readData(), vlVolFioDEN::readData(), vlVolume::readImages(), vlVolume::readSubvolumes(), vlVolFioDEN::writeData(), vlVolFioVOX::writeInfo(), vlVolFioRAW::writeInfo(), and vlVolFioDEN::writeInfo(). |
|
|
|
Definition at line 99 of file vlvolinfo.h. References m_extraInfo. Referenced by main(), vlVolume::read(), vlVolFioSLC::readData(), and vlVolFioSLC::readInfo(). |
|
|
Definition at line 102 of file vlvolinfo.h. References m_extraInfo. Referenced by vlVolume::readInfo(), and vlVolFioSLC::readInfo(). |
|
|
Definition at line 96 of file vlvolinfo.h. References m_headerSize, and uint32. Referenced by vlVolFioVOX::readData(), vlVolFioSLC::readData(), vlVolFioPPM::readData(), and vlVolFiof3d::readData(). |
|
|
Definition at line 49 of file vlvolinfo.cpp. References m_dim, vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). Referenced by vlVolume::read(), vlVolFioVOX::readData(), vlVolFioSLC::readData(), vlVolFioPPM::readData(), vlVolFioRAW::readData(), vlVolFioPGMVol::readData(), vlVolFiof3d::readData(), vlVolFioDEN::readData(), vlVolume::readImages(), and vlVolume::readSubvolumes(). |
|
|
Definition at line 88 of file vlvolinfo.h. References m_bytesPerVoxel, m_dim, uint16, vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
|
Definition at line 94 of file vlvolinfo.h. References m_noninterleavedRGB, and vlLayoutType. Referenced by vlVolFioRAW::writeInfo(). |
|
|
Definition at line 66 of file vlvolinfo.h. References m_origFileDim. Referenced by vlVolume::readSubvolumes(), and vlVolFioVOX::writeInfo(). |
|
|
Definition at line 72 of file vlvolinfo.h. References m_position. Referenced by vlVolume::readImages(), vlVolume::readSubvolumes(), vlVolume::write(), vlVolFioVOX::writeInfo(), and vlVolFioRAW::writeInfo(). |
|
|
Definition at line 114 of file vlvolinfo.h. References m_bitsPerVoxel. Referenced by vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFioRAW::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 116 of file vlvolinfo.h. References m_bytesPerVoxel. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFioRAW::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 120 of file vlvolinfo.h. References m_layout. |
|
|
Definition at line 118 of file vlvolinfo.h. References m_dataType. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFioRAW::readInfo(), vlVolFioPGMVol::readInfo(), vlVolFiof3d::readInfo(), vlVolFioDEN::readInfo(), and vlVolume::readSubvolumes(). |
|
|
Definition at line 106 of file vlvolinfo.h. References m_dim. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFioRAW::readInfo(), vlVolFioPGMVol::readInfo(), vlVolFiof3d::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 126 of file vlvolinfo.h. References vlVarListAdmin::clear(), and m_extraInfo. Referenced by vlVolume::getVolInfo(). |
|
|
Definition at line 124 of file vlvolinfo.h. References m_headerSize. Referenced by vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFiof3d::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 122 of file vlvolinfo.h. References m_noninterleavedRGB. Referenced by CreateVolume(), and vlVolFioRAW::readInfo(). |
|
|
Definition at line 108 of file vlvolinfo.h. References m_origFileDim. Referenced by vlVolume::getVolInfo(). |
|
|
Definition at line 104 of file vlvolinfo.h. References m_position. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), and vlVolFioRAW::readInfo(). |
|
|
Definition at line 110 of file vlvolinfo.h. References m_step. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 112 of file vlvolinfo.h. References m_units. Referenced by CreateVolume(), vlVolume::getVolInfo(), vlVolFioVOX::readInfo(), vlVolFioSLC::readInfo(), vlVolFioPPM::readInfo(), vlVolFiof3d::readInfo(), and vlVolFioDEN::readInfo(). |
|
|
Definition at line 68 of file vlvolinfo.h. References m_step. Referenced by vlVolFioSLC::readData(), and vlVolFioPPM::readData(). |
|
|
Definition at line 70 of file vlvolinfo.h. References m_units. Referenced by vlVolume::read(), vlVolume::readImages(), vlVolFiof3d::readInfo(), vlVolume::readSubvolumes(), vlVolFioVOX::writeInfo(), and vlVolFioSLC::writeInfo(). |
|
||||||||||||
|
Definition at line 132 of file vlvolinfo.h. |
|
|
Definition at line 150 of file vlvolinfo.h. Referenced by bitsPerVoxel(), setBitsPerVoxel(), and vlVolInfo(). |
|
|
Definition at line 152 of file vlvolinfo.h. Referenced by bytesPerVoxel(), memSize(), setBytesPerVoxel(), and vlVolInfo(). |
|
|
Definition at line 155 of file vlvolinfo.h. Referenced by dataType(), setDataType(), and vlVolInfo(). |
|
|
Definition at line 139 of file vlvolinfo.h. |
|
|
Definition at line 170 of file vlvolinfo.h. Referenced by extraInfo(), extraInfoRW(), setExtraInfo(), vlVolInfo(), and ~vlVolInfo(). |
|
|
Definition at line 164 of file vlvolinfo.h. Referenced by headerSize(), and setHeaderSize(). |
|
|
Definition at line 158 of file vlvolinfo.h. Referenced by dataLayout(), and setDataLayout(). |
|
|
Definition at line 161 of file vlvolinfo.h. Referenced by nonInterleaved(), setNonInterleaved(), and vlVolInfo(). |
|
|
Definition at line 142 of file vlvolinfo.h. Referenced by origFileDim(), and setOrigFileDim(). |
|
|
Definition at line 167 of file vlvolinfo.h. Referenced by origFilePos(), setOrigFilePos(), and vlVolInfo(). |
|
|
Definition at line 145 of file vlvolinfo.h. Referenced by setStepping(), and stepping(). |
|
|
Definition at line 148 of file vlvolinfo.h. Referenced by setUnits(), and units(). |
1.3.3