|
Isis 3 Programmer Reference
|
7 #include "LineManager.h"
9 #include "IException.h"
27 LineManager::LineManager(
const Isis::Cube &cube,
const bool reverse) :
29 cube.bandCount(), cube.sampleCount(), 1, 1,
30 cube.pixelType(), reverse) {
46 QString message =
"LineManager is unable to set the line to ["
47 +
toString(line) +
"]. Minimum line value is 1.";
52 string message =
"LineManager is unable to set the line for band ["
53 +
IString(band) +
"]. Minimum band value is 1.";
57 int map = (band - 1) *
MaxLines() + line - 1;
bool setpos(BigInt map)
Sets the position of the shape in the cube.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Manages a Buffer over a cube.
int MaxLines() const
Returns the number of lines in the cube.
IO Handler for Isis Cubes.
bool SetLine(const int line, const int band=1)
Positions the buffer at the requested line and returns a status indicator if the set was succesful or...
@ Programmer
This error is for when a programmer made an API call that was illegal.
Namespace for the standard library.
Adds specific functionality to C++ strings.
This is free and unencumbered software released into the public domain.