|
VivoQuant 6.5.0
|
Imports .img/.inf image files.
See also VQ.imgInfImporter() to obtain this object. Load files with load(), then add the result to the Data Manager with transferData().
Public Member Functions | |
| bool | load (Array< string > fileNames) |
| Reads image files. Nothing is added to the Data Manager until transferData(). | |
| bool | load (string filename) |
| void | setSliceThickness (float voxZ) |
| Sets the slice thickness, in mm, used for the loaded images. | |
| Public Member Functions inherited from AbstractImporter | |
| void | transferData (int idx, DataManager *dm) |
| Adds the data read by load() to the Data Manager, then forgets it. | |
| Public Member Functions inherited from HasErrorQObject | |
| bool | hasError () |
| Returns true if an error message is stored. | |
| void | clearError () |
| Clears the stored error message. | |
| string | takeError () |
| Returns the stored error message and clears it. | |
| string | errorString () |
| Returns the stored error message, or an empty string. The message is kept. | |
|
virtual |
Reads image files. Nothing is added to the Data Manager until transferData().
| fileNames | The files to read. Some importers read only one file. |
Implements AbstractImporter.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| fileName | The file to read |
Reimplemented from AbstractImporter.
| void setSliceThickness | ( | float | voxZ | ) |
Sets the slice thickness, in mm, used for the loaded images.
| voxZ | Slice thickness in mm. If it is not set (or set to 0), load() asks the user. |