VivoQuant 6.5.0
Loading...
Searching...
No Matches
GelImport Class Reference

Description

Imports .gel image files.

See also VQ.gelImporter() 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.

Member Function Documentation

◆ load() [1/2]

bool load ( Array< string > fileNames)
virtual

Reads image files. Nothing is added to the Data Manager until transferData().

Parameters
fileNamesThe files to read. Some importers read only one file.
Returns
true if the files were read. On failure, most importers store a message that errorString() returns.

Implements AbstractImporter.

◆ load() [2/2]

bool load ( string fileName)
virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
fileNameThe file to read

Reimplemented from AbstractImporter.

◆ setSliceThickness()

void setSliceThickness ( float voxZ)

Sets the slice thickness, in mm, used for the loaded images.

Parameters
voxZSlice thickness in mm. If it is not set (or set to 0), load() asks the user.