#include <vlvolfio_ppm.h>
Inheritance diagram for vlVolFioPPM:

Public Member Functions | |
| vlVolFioPPM () | |
| Default constructor. | |
| virtual | ~vlVolFioPPM () |
| 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 the volume information from the file into "info". | |
| bool | readData (vlVolInfo &info, vlVolData *const data, FILE *const fp, const std::string &filename) |
| Load data into "data" from file using information in "info". | |
| bool | writeInfo (const vlVolInfo &info, FILE *const fp, const std::string &filename) |
| Write just the volume information "info" 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 Attributes | |
| FILE * | m_fileId |
| ID of the file to be read. | |
| const std::string | m_name |
| Name id of the file format. | |
| std::vector< std::string > | m_fileExtensions |
| Extensions associated with the file format. | |
|
|
Definition at line 39 of file vlvolfio_ppm.cpp. References vlPluginInfo::addAuthor(), vlPlugin::infoRef(), m_fileExtensions, vlPluginInfo::setCopyrightText(), vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
Definition at line 51 of file vlvolfio_ppm.cpp. |
|
|
Implements vlVolFioFilter. Definition at line 61 of file vlvolfio_ppm.cpp. References m_fileExtensions. |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 130 of file vlvolfio_ppm.cpp. References vlVolInfo::dataType(), vlVolData::dataType(), vlVolInfo::dim(), vlVolData::dim(), vlVolInfo::headerSize(), vlVolInfo::isValid(), vlVolIter< DataType, Layout >::set(), vlVolInfo::stepping(), and vlTriple< uint32 >::z(). |
|
||||||||||||||||
|
get the current position of the file stream Implements vlVolFioFilter. Definition at line 74 of file vlvolfio_ppm.cpp. References ColorRGBu8, int16, vlVolInfo::setBitsPerVoxel(), vlVolInfo::setBytesPerVoxel(), vlVolInfo::setDataType(), vlVolInfo::setDim(), vlVolInfo::setHeaderSize(), vlVolInfo::setStepping(), vlVolInfo::setUnits(), uint32, vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z(). |
|
||||||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 214 of file vlvolfio_ppm.cpp. References vlVolInfo::dim(), vlVolIterConst< DataType, Layout >::get(), vlVolIterConst< DataType, Layout >::next(), uint8, vlTriple< uint16 >::x(), and vlTriple< uint16 >::y(). |
|
||||||||||||||||
|
Implements vlVolFioFilter. Definition at line 197 of file vlvolfio_ppm.cpp. References vlVolInfo::dim(), vlTriple< uint16 >::x(), and vlTriple< uint16 >::y(). |
|
|
Definition at line 76 of file vlvolfio_ppm.h. Referenced by getFileExtensions(), and vlVolFioPPM(). |
|
|
Definition at line 70 of file vlvolfio_ppm.h. |
|
|
Definition at line 73 of file vlvolfio_ppm.h. |
1.3.3