Isis Developer Reference
TileManager.h
Go to the documentation of this file.
1#ifndef TileManager_h
2#define TileManager_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "BufferManager.h"
10#include "Cube.h"
11
12namespace Isis {
40
41 private:
42 int p_numSampTiles;
43 int p_numLineTiles;
44
45 public:
46 // Constructors and Destructors
47 TileManager(const Isis::Cube &cube,
48 const int &bufNumSamples = 128, const int &bufNumLines = 128);
49
52
53 bool SetTile(const int Tile, const int band = 1);
54
60 inline int Tiles() {
61 return MaxMaps();
62 };
63 };
64};
65
66#endif
67
68
Manages a Buffer over a cube.
Definition BufferManager.h:52
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
Definition BufferManager.h:162
IO Handler for Isis Cubes.
Definition Cube.h:168
Buffer manager, for moving through a cube in tiles.
Definition TileManager.h:39
~TileManager()
Destroys the TileManager object.
Definition TileManager.h:51
int Tiles()
Returns the number of Tiles in the cube.
Definition TileManager.h:60
TileManager(const Isis::Cube &cube, const int &bufNumSamples=128, const int &bufNumLines=128)
Constructs a TileManager object.
Definition TileManager.cpp:25
bool SetTile(const int Tile, const int band=1)
Sets the current tile as requested.
Definition TileManager.cpp:50
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16