#include <f3d.h>
Inheritance diagram for vlVolFiof3d:

Public Member Functions | |
| vlVolFiof3d () | |
| Default constructor. | |
| virtual | ~vlVolFiof3d () |
| Default destructor. | |
| const std::vector< std::string > & | getFileExtensions () const |
| Return the list of valid file extensions for this file format. | |
| bool | readInfo (vlVolInfo &info, FILE *const fp, const std::string &filename) |
| Read info about the volume from the file. | |
| bool | readData (vlVolInfo &info, vlVolData *const data, FILE *const fp, const std::string &filename) |
| Read volume data from the file. | |
| bool | writeInfo (const vlVolInfo &info, FILE *const fp, const std::string &filename) |
| Write just the volume information to the file. | |
| bool | writeData (const vlVolInfo &info, const vlVolData *data, FILE *const fp, const std::string &filename) |
| Write just the volume data to file. | |
Protected Member Functions | |
| template<class T> bool | readDataT (T &dummy, vlVolInfo &info, vlVolData *const data, FILE *const fp, const std::string &filename) |
| template<class T> bool | writeDataT (T &dummy, const vlVolInfo &info, const vlVolData *data, FILE *const fp, const std::string &filename) |
Protected Attributes | |
| std::vector< std::string > | m_fileExtensions |
| Extensions associated with the file format. | |
|
|
Definition at line 49 of file f3d.cpp. References vlPlugin::infoRef(), m_fileExtensions, vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
|
|
|
Implements vlVolFioFilter. Definition at line 73 of file f3d.cpp. References m_fileExtensions. |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 252 of file f3d.cpp. References vlVolInfo::dataType(), vlVolData::dataType(), vlVolInfo::dim(), vlVolData::dim(), vlVolInfo::headerSize(), and vlVolInfo::isValid(). |
|
||||||||||||||||||||||||||||
|
Definition at line 284 of file f3d.cpp. References vlVolInfo::dim(), vlVolIterConst< DataType, Layout >::nextXYZ(), vlVolIter< DataType, Layout >::set(), uint32, vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
||||||||||||||||
|
The idea here is to always return false since there is no way to read the correct information from a raw file. Instead, whatever possible information gathered from the file is loaded into vlVolInfo and a false is returned.
get the current position of the file stream Implements vlVolFioFilter. Definition at line 89 of file f3d.cpp. References vlVolInfo::dim(), Float, vlUnit::Meter, vlUnit::MicroMeter, vlUnit::MilliMeter, vlUnit::NoUnitType, PGM, PPM, vlVolInfo::setDataType(), vlVolInfo::setDim(), vlVolInfo::setHeaderSize(), vlVolInfo::setUnits(), SignedInt16, SignedInt32, SignedInt8, uint16, uint32, vlVolInfo::units(), vlUnit::UnitType, UnknownDataType, UnsignedInt16, UnsignedInt32, and UnsignedInt8. |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 364 of file f3d.cpp. References callFunctionOnDataType, vlVolData::dataType(), filename, and writeDataT(). |
|
||||||||||||||||||||||||||||
|
Definition at line 377 of file f3d.cpp. References vlVolIterConst< DataType, Layout >::get(), and vlVolIterConst< DataType, Layout >::nextXYZ(). Referenced by writeData(). |
|
||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 346 of file f3d.cpp. References vlVolInfo::bitsPerVoxel(), vlVolInfo::dim(), vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
|
Definition at line 69 of file f3d.h. Referenced by getFileExtensions(), and vlVolFiof3d(). |
1.3.3