#include <raw.h>
Inheritance diagram for vlVolFioRAW:

Public Member Functions | |
| vlVolFioRAW () | |
| Default constructor. | |
| virtual | ~vlVolFioRAW () |
| 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 | readData (vlVolIter< uint8 > *iter, FILE *const fp, const std::string &filename, unsigned int size) |
| Read volume data from the file. | |
| template<class T> bool | readDataT (T &dummy, 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. | |
| template<class T> bool | writeDataT (T &dummy, const vlVolInfo &info, const vlVolData *data, FILE *const fp, const std::string &filename) |
| template<> bool | readDataT (uint8 &dummy, vlVolInfo &info, vlVolData *const data, FILE *const fp, const std::string &filename) |
| template<> bool | readDataT (vlColorRGBub &dummy, vlVolInfo &info, vlVolData *const data, FILE *const fp, const std::string &filename) |
| template<> bool | readDataT (vlColorRGBAub &dummy, vlVolInfo &info, vlVolData *const 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 46 of file raw.cpp. References vlPlugin::infoRef(), m_fileExtensions, vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
|
|
|
Implements vlVolFioFilter. Definition at line 70 of file raw.cpp. References m_fileExtensions. |
|
||||||||||||||||||||
|
Definition at line 350 of file raw.cpp. References vlVolIterConst< DataType, Layout >::next(), vlVolIter< DataType, Layout >::set(), and uint8. |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 322 of file raw.cpp. References callFunctionOnDataType, vlVolData::dataType(), vlVolInfo::dim(), vlVolData::dim(), filename, vlVolInfo::isValid(), and readDataT(). |
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
Definition at line 309 of file raw.cpp. Referenced by readData(). |
|
||||||||||||||||
|
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.
Implements vlVolFioFilter. Definition at line 85 of file raw.cpp. References vlVolInfo::bytesPerVoxel(), ColorRGBAu8, ColorRGBu8, vlVolInfo::dim(), Double, filename, Float, vlVolInfo::setBitsPerVoxel(), vlVolInfo::setBytesPerVoxel(), vlVolInfo::setDataType(), vlVolInfo::setDim(), vlVolInfo::setNonInterleaved(), vlVolInfo::setOrigFilePos(), uint16, UnsignedInt16, and UnsignedInt8. |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 445 of file raw.cpp. References callFunctionOnDataType, vlVolData::dataType(), filename, and writeDataT(). |
|
||||||||||||||||||||||||||||
|
Definition at line 459 of file raw.cpp. References vlVolIterConst< DataType, Layout >::get(), and vlVolIterConst< DataType, Layout >::nextXYZ(). Referenced by writeData(). |
|
||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 381 of file raw.cpp. References vlVolInfo::bitsPerVoxel(), vlVolInfo::bytesPerVoxel(), vlVolInfo::dataType(), vlVolInfo::dim(), filename, vlVolInfo::nonInterleaved(), vlVolInfo::origFilePos(), vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
|
Definition at line 74 of file raw.h. Referenced by getFileExtensions(), and vlVolFioRAW(). |
1.3.3