1#ifndef CubeTileHandler_h
2#define CubeTileHandler_h
10#include "CubeIoHandler.h"
38 const Pvl &label,
bool alreadyOnDisk);
Handles converting buffers to and from disk.
IO Handler for Isis Cubes using the tile format.
CubeTileHandler & operator=(const CubeTileHandler &other)
Disallow assignments of this object.
void updateLabels(Pvl &label)
Update the cube labels so that this cube indicates what tile size it used.
BigInt getTileStartByte(const RawCubeChunk &chunk) const
This is a helper method that goes from chunk to file position.
int findGoodSize(int maxSize, int dimensionSize) const
This is a helper method that tries to compute a good tile size for one of the cube's dimensions (samp...
virtual void writeRaw(const RawCubeChunk &chunkToWrite)
This needs to write the chunkToWrite directly to disk with no modifications to the data itself.
virtual void readRaw(RawCubeChunk &chunkToFill)
This needs to populate the chunkToFill with unswapped raw bytes from the disk.
CubeTileHandler(QFile *dataFile, const QList< int > *virtualBandList, const Pvl &label, bool alreadyOnDisk)
Construct a tile handler.
~CubeTileHandler()
Writes all data from memory to disk.
CubeTileHandler(const CubeTileHandler &other)
Disallow copying of this object.
Container for cube-like labels.
A section of raw data on the disk.
This is free and unencumbered software released into the public domain.
long long int BigInt
Big int.