  | 
  
    Isis Developer Reference
    
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef CubeTileHandler_h 
    2 #define CubeTileHandler_h 
   38           const Pvl &label, 
bool alreadyOnDisk);
 
   64       int findGoodSize(
int maxSize, 
int dimensionSize) 
const;
 
 
 
int SizeOf(Isis::PixelType pixelType)
Returns the number of bytes of the specified PixelType.
Definition: PixelType.h:46
 
A section of raw data on the disk.
Definition: RawCubeChunk.h:27
 
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
 
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
 
A single keyword-value pair.
Definition: PvlKeyword.h:82
 
int sampleCount() const
Definition: CubeIoHandler.cpp:596
 
PixelType pixelType() const
Definition: CubeIoHandler.cpp:587
 
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
 
BigInt getBytesPerChunk() const
Definition: CubeIoHandler.cpp:486
 
Container for cube-like labels.
Definition: Pvl.h:119
 
QByteArray & getRawData() const
Definition: RawCubeChunk.h:38
 
~CubeTileHandler()
Writes all data from memory to disk.
Definition: CubeTileHandler.cpp:56
 
QFile * getDataFile()
Definition: CubeIoHandler.cpp:562
 
int getSampleCountInChunk() const
Definition: CubeIoHandler.cpp:604
 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
 
int getByteCount() const
Definition: RawCubeChunk.cpp:154
 
int lineCount() const
Definition: CubeIoHandler.cpp:571
 
BigInt getDataStartByte() const
Definition: CubeIoHandler.cpp:551
 
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
 
bool hasKeyword(const QString &kname, FindOptions opts) const
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within ...
Definition: PvlObject.cpp:236
 
Handles converting buffers to and from disk.
Definition: CubeIoHandler.h:109
 
long long int BigInt
Big int.
Definition: Constants.h:49
 
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
 
void updateLabels(Pvl &label)
Update the cube labels so that this cube indicates what tile size it used.
Definition: CubeTileHandler.cpp:66
 
int getChunkIndex(const RawCubeChunk &) const
Given a chunk, what's its index in the file.
Definition: CubeIoHandler.cpp:530
 
Isis exception class.
Definition: IException.h:91
 
void setRawData(QByteArray rawData)
Sets the chunk's raw data.
Definition: RawCubeChunk.cpp:101
 
IO Handler for Isis Cubes using the tile format.
Definition: CubeTileHandler.h:35
 
virtual void readRaw(RawCubeChunk &chunkToFill)
This needs to populate the chunkToFill with unswapped raw bytes from the disk.
Definition: CubeTileHandler.cpp:77
 
CubeTileHandler(QFile *dataFile, const QList< int > *virtualBandList, const Pvl &label, bool alreadyOnDisk)
Construct a tile handler.
Definition: CubeTileHandler.cpp:32
 
Namespace for the standard library.
 
@ Replace
Definition: PvlContainer.h:95
 
void clearCache(bool blockForWriteCache=true) const
Free all cube chunks (cached cube data) from memory and write them to disk.
Definition: CubeIoHandler.cpp:383
 
Adds specific functionality to C++ strings.
Definition: IString.h:165
 
void setChunkSizes(int numSamples, int numLines, int numBands)
This should be called once from the child constructor.
Definition: CubeIoHandler.cpp:621
 
virtual void writeRaw(const RawCubeChunk &chunkToWrite)
This needs to write the chunkToWrite directly to disk with no modifications to the data itself.
Definition: CubeTileHandler.cpp:102
 
int getLineCountInChunk() const
Definition: CubeIoHandler.cpp:579
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16