|
Isis Developer Reference
|
Go to the documentation of this file.
30 RawCubeChunk(
int startSample,
int startLine,
int startBand,
31 int endSample,
int endLine,
int endBand,
int numBytes);
44 unsigned char getChar(
int offset)
const;
94 void setData(
unsigned char value,
int offset);
95 void setData(
short value,
int offset);
96 void setData(
const float &value,
const int &offset);
120 QByteArray *m_rawBuffer;
122 char *m_rawBufferInternalPtr;
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:213
A section of raw data on the disk.
Definition: RawCubeChunk.h:27
int getStartBand() const
Definition: RawCubeChunk.h:67
int getStartLine() const
Definition: RawCubeChunk.h:60
float getFloat(int offset) const
Definition: RawCubeChunk.cpp:145
int sampleCount() const
Definition: RawCubeChunk.h:74
bool isDirty() const
Definition: RawCubeChunk.cpp:90
int bandCount() const
Definition: RawCubeChunk.h:88
RawCubeChunk(const Area3D &placement, int numBytes)
This constructor creates a new cube chunk based on the provided placement and data size.
Definition: RawCubeChunk.cpp:29
Distance getDepth() const
Returns the depth (in the Z dimension) of the 3D area.
Definition: Area3D.cpp:184
QByteArray & getRawData() const
Definition: RawCubeChunk.h:38
short getShort(int offset) const
Definition: RawCubeChunk.cpp:133
Displacement getStartX() const
Returns the leftmost X position of the 3D area.
Definition: Area3D.cpp:115
int lineCount() const
Definition: RawCubeChunk.h:81
int getByteCount() const
Definition: RawCubeChunk.cpp:154
virtual ~RawCubeChunk()
The destructor.
Definition: RawCubeChunk.cpp:78
Displacement getStartZ() const
Returns the frontmost Z position of the 3D area.
Definition: Area3D.cpp:145
Distance getWidth() const
Returns the width (in the X dimension) of the 3D area.
Definition: Area3D.cpp:160
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
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:169
double pixels(double pixelsPerMeter=1.0) const
Get the displacement in pixels using the given conversion ratio.
Definition: Displacement.cpp:117
Isis exception class.
Definition: IException.h:91
#define ASSERT(x)
Definition: IsisDebug.h:134
void setRawData(QByteArray rawData)
Sets the chunk's raw data.
Definition: RawCubeChunk.cpp:101
int getStartSample() const
Definition: RawCubeChunk.h:53
Distance getHeight() const
Returns the height (in the Y dimension) of the 3D area.
Definition: Area3D.cpp:172
#define round(x)
This is free and unencumbered software released into the public domain.
Definition: ViewportBuffer.cpp:29
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:121
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Represents a 3D area (a 3D "cube")
Definition: Area3D.h:29
Adds specific functionality to C++ strings.
Definition: IString.h:165
double pixels(double pixelsPerMeter=1.0) const
Get the distance in pixels using the given conversion ratio.
Definition: Distance.cpp:131
Displacement getStartY() const
Returns the topmost Y position of the 3D area.
Definition: Area3D.cpp:130
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16