28 #include <tnt/tnt_array2d.h>
114 Blobber(
const QString &blobname,
const QString &fieldname,
115 const QString &name =
"Blob");
117 const QString &fieldname,
const QString &name =
"Blob");
174 return (_buf.dim1());
181 return (_buf.dim2());
239 void load(
const QString &filename);
262 void loadDouble(
Table &tbl);
263 void loadInteger(
Table &tbl);
264 double int2ToDouble(
int value)
const;
TNT::Array2D< double > BlobBuf
Internal buffer uses TNT.
Definition: Blobber.h:244
Base class for accessing ISIS blobs.
Definition: Blobber.h:111
double const * operator[](int i) const
Returns the ith row/line in the BLOB that can be further referenced into samples. ...
Definition: Blobber.h:234
void load(const QString &filename)
Loads the contents of a BLOB from a cube file.
Definition: Blobber.cpp:136
int Lines() const
Number of rows or lines in the BLOB.
Definition: Blobber.h:173
int Samples() const
Number of columns or samples in the BLOB.
Definition: Blobber.h:180
QString getFieldName() const
Retreive the name of the field in the Tabel object BLOB.
Definition: Blobber.h:204
QString getBlobName() const
Retrieves the name of the Table object.
Definition: Blobber.h:196
Blobber deepcopy() const
Create a unique copy of this blob.
Definition: Blobber.cpp:123
void setName(const QString &name)
Specifies the name of this class instantiation.
Definition: Blobber.h:132
QString getName() const
Returns the name of the BLOB given to refer to this instantiation.
Definition: Blobber.h:188
virtual ~Blobber()
Destructor of this object.
Definition: Blobber.h:119
Class for storing Table blobs information.
Definition: Table.h:74
double * operator[](int i)
Returns the ith row/line in the BLOB that can be further referenced into samples. ...
Definition: Blobber.h:219
Blobber()
Default basic constructor that is mostly not useful.
Definition: Blobber.cpp:43
void setFieldName(const QString &fname)
Sets field name in the ISIS BLOB object that contains data.
Definition: Blobber.h:157
int size() const
Returns the total number of elements (rows * columns) in blob.
Definition: Blobber.h:165
void setBlobName(const QString &bname)
Sets the name of the ISIS BLOB object that contains the data.
Definition: Blobber.h:145
const BlobBuf & ref() const
Returns a const reference to the internal buffer for ease of use to derived objects.
Definition: Blobber.h:251
IO Handler for Isis Cubes.
Definition: Cube.h:158