|
Isis Developer Reference
|
Go to the documentation of this file.
12 #include <tnt/tnt_array2d.h>
101 Blobber(
const QString &blobname,
const QString &fieldname,
102 const QString &name =
"Blob");
104 const QString &fieldname,
const QString &name =
"Blob");
161 return (_buf.dim1());
168 return (_buf.dim2());
226 void load(
const QString &filename);
249 void loadDouble(
Table &tbl);
250 void loadInteger(
Table &tbl);
251 double int2ToDouble(
unsigned int value)
const;
252 double int2ToDouble(
int value)
const;
const short LOW_INSTR_SAT2
Definition: SpecialPixel.h:156
Base class for accessing ISIS blobs.
Definition: Blobber.h:98
int size() const
Returns the total number of elements (rows * columns) in blob.
Definition: Blobber.h:152
Table readTable(const QString &name)
Read a Table from the cube.
Definition: Cube.cpp:952
const unsigned int HIGH_REPR_SATUI4
Definition: SpecialPixel.h:176
int Samples() const
Number of columns or samples in the BLOB.
Definition: Blobber.h:167
Blobber()
Default basic constructor that is mostly not useful.
Definition: Blobber.cpp:27
const double HIGH_REPR_SAT8
Definition: SpecialPixel.h:116
bool isInteger() const
Determines whether the field type is Integer.
Definition: TableField.cpp:122
TNT::Array2D< double > BlobBuf
Internal buffer uses TNT.
Definition: Blobber.h:231
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
void setName(const QString &name)
Specifies the name of this class instantiation.
Definition: Blobber.h:119
const short HIGH_REPR_SAT2
Definition: SpecialPixel.h:158
void setFieldName(const QString &fname)
Sets field name in the ISIS BLOB object that contains data.
Definition: Blobber.h:144
Class for storing Table blobs information.
Definition: Table.h:61
const double NULL8
Definition: SpecialPixel.h:94
Blobber deepcopy() const
Create a unique copy of this blob.
Definition: Blobber.cpp:107
const short HIGH_INSTR_SAT2
Definition: SpecialPixel.h:157
virtual ~Blobber()
Destructor of this object.
Definition: Blobber.h:106
const double HIGH_INSTR_SAT8
Definition: SpecialPixel.h:110
QString getFieldName() const
Retreive the name of the field in the Tabel object BLOB.
Definition: Blobber.h:191
IO Handler for Isis Cubes.
Definition: Cube.h:167
const short NULL2
Definition: SpecialPixel.h:154
Isis exception class.
Definition: IException.h:91
bool isDouble() const
Determines whether the field type is Double.
Definition: TableField.cpp:132
QString getBlobName() const
Retrieves the name of the Table object.
Definition: Blobber.h:183
const unsigned int HIGH_INSTR_SATUI4
Definition: SpecialPixel.h:175
double const * operator[](int i) const
Returns the ith row/line in the BLOB that can be further referenced into samples.
Definition: Blobber.h:221
const unsigned int LOW_INSTR_SATUI4
Definition: SpecialPixel.h:174
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
void load(const QString &filename)
Loads the contents of a BLOB from a cube file.
Definition: Blobber.cpp:120
const unsigned int LOW_REPR_SATUI4
Definition: SpecialPixel.h:173
void setBlobName(const QString &bname)
Sets the name of the ISIS BLOB object that contains the data.
Definition: Blobber.h:132
double * operator[](int i)
Returns the ith row/line in the BLOB that can be further referenced into samples.
Definition: Blobber.h:206
int Lines() const
Number of rows or lines in the BLOB.
Definition: Blobber.h:160
const double LOW_REPR_SAT8
Definition: SpecialPixel.h:98
int Records() const
Returns the number of records.
Definition: Table.cpp:313
const BlobBuf & ref() const
Returns a const reference to the internal buffer for ease of use to derived objects.
Definition: Blobber.h:238
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
const double LOW_INSTR_SAT8
Definition: SpecialPixel.h:104
const unsigned int NULLUI4
Definition: SpecialPixel.h:172
const short LOW_REPR_SAT2
Definition: SpecialPixel.h:155
QString getName() const
Returns the name of the BLOB given to refer to this instantiation.
Definition: Blobber.h:175
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Class for storing an Isis::Table's field information.
Definition: TableField.h:47