28 #include <tnt/tnt_array2d.h> 117 Blobber(
const QString &blobname,
const QString &fieldname,
118 const QString &name =
"Blob");
120 const QString &fieldname,
const QString &name =
"Blob");
177 return (
_buf.dim1());
184 return (
_buf.dim2());
242 void load(
const QString &filename);
267 double int2ToDouble(
unsigned int value)
const;
268 double int2ToDouble(
int value)
const;
TNT::Array2D< double > BlobBuf
Internal buffer uses TNT.
QString getFieldName() const
Retreive the name of the field in the Tabel object BLOB.
int Samples() const
Number of columns or samples in the BLOB.
QString _fieldname
Name of field in BLOB to read.
const BlobBuf & ref() const
Returns a const reference to the internal buffer for ease of use to derived objects.
int size() const
Returns the total number of elements (rows * columns) in blob.
Base class for accessing ISIS blobs.
void load(const QString &filename)
Loads the contents of a BLOB from a cube file.
QString getName() const
Returns the name of the BLOB given to refer to this instantiation.
void loadInteger(Table &tbl)
Provides direct reading in of the field data from the BLOB.
QString getBlobName() const
Retrieves the name of the Table object.
void loadDouble(Table &tbl)
Provides direct reading in of the field data from the BLOB.
QString _blobname
Name of BLOB to read.
QString _name
Name of this data set.
BlobBuf _buf
Buffer holding data.
Blobber deepcopy() const
Create a unique copy of this blob.
void setName(const QString &name)
Specifies the name of this class instantiation.
double const * operator[](int i) const
Returns the ith row/line in the BLOB that can be further referenced into samples. ...
virtual ~Blobber()
Destructor of this object.
Class for storing Table blobs information.
double * operator[](int i)
Returns the ith row/line in the BLOB that can be further referenced into samples. ...
Namespace for ISIS/Bullet specific routines.
Blobber()
Default basic constructor that is mostly not useful.
void setFieldName(const QString &fname)
Sets field name in the ISIS BLOB object that contains data.
int Lines() const
Number of rows or lines in the BLOB.
void setBlobName(const QString &bname)
Sets the name of the ISIS BLOB object that contains the data.
IO Handler for Isis Cubes.