21 #ifndef RawCubeChunk_h    22 #define RawCubeChunk_h    45       RawCubeChunk(
int startSample, 
int startLine, 
int startBand,
    46                    int endSample, 
int endLine, 
int endBand, 
int numBytes);
    59       unsigned char getChar(
int offset) 
const;
   109       void setData(
unsigned char value, 
int offset);
   110       void setData(
short value, 
int offset);
   111       void setData(
const float &value, 
const int &offset);
   135       QByteArray *m_rawBuffer;
   137       char *m_rawBufferInternalPtr;
 int getStartLine() const
Definition: RawCubeChunk.h:75
 
void setRawData(QByteArray rawData)
Sets the chunk's raw data. 
Definition: RawCubeChunk.cpp:95
 
float getFloat(int offset) const
Definition: RawCubeChunk.cpp:139
 
int bandCount() const
Definition: RawCubeChunk.h:103
 
Represents a 3D area (a 3D "cube") 
Definition: Area3D.h:41
 
int lineCount() const
Definition: RawCubeChunk.h:96
 
RawCubeChunk(const Area3D &placement, int numBytes)
This constructor creates a new cube chunk based on the provided placement and data size...
Definition: RawCubeChunk.cpp:23
 
int getStartSample() const
Definition: RawCubeChunk.h:68
 
void setDirty(bool dirty)
Sets the chunk's dirty flag, indicating whether or not the chunk's data matches the data that is on d...
Definition: RawCubeChunk.cpp:207
 
void setData(unsigned char value, int offset)
Sets the char at the given offset in the raw data buffer of this chunk. 
Definition: RawCubeChunk.cpp:163
 
virtual ~RawCubeChunk()
The destructor. 
Definition: RawCubeChunk.cpp:72
 
int getStartBand() const
Definition: RawCubeChunk.h:82
 
A section of raw data on the disk. 
Definition: RawCubeChunk.h:42
 
int sampleCount() const
Definition: RawCubeChunk.h:89
 
unsigned char getChar(int offset) const
This method is currently not in use due to a faster way of getting data from the buffer (through the ...
Definition: RawCubeChunk.cpp:115
 
Namespace for ISIS/Bullet specific routines. 
Definition: Apollo.h:31
 
bool isDirty() const
Definition: RawCubeChunk.cpp:84
 
int getByteCount() const
Definition: RawCubeChunk.cpp:148
 
QByteArray & getRawData() const
Definition: RawCubeChunk.h:53
 
short getShort(int offset) const
Definition: RawCubeChunk.cpp:127