File failed to load: https://isis.astrogeology.usgs.gov/9.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
CubeTileHandler.h
1#ifndef CubeTileHandler_h
2#define CubeTileHandler_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "CubeIoHandler.h"
11
12namespace Isis {
13
34
36 public:
37 CubeTileHandler(QFile * dataFile, const QList<int> *virtualBandList,
38 const Pvl &label, bool alreadyOnDisk);
40
41 void updateLabels(Pvl &label);
42
43 protected:
44 virtual void readRaw(RawCubeChunk &chunkToFill);
45 virtual void writeRaw(const RawCubeChunk &chunkToWrite);
46
47 private:
54
63
64 int findGoodSize(int maxSize, int dimensionSize) const;
65 BigInt getTileStartByte(const RawCubeChunk &chunk) const;
66 };
67}
68
69#endif
CubeIoHandler(QFile *dataFile, const QList< int > *virtualBandList, const Pvl &label, bool alreadyOnDisk)
Creates a new CubeIoHandler using a RegionalCachingAlgorithm.
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.
Definition Pvl.h:119
A section of raw data on the disk.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
long long int BigInt
Big int.
Definition Constants.h:49