Isis 3 Developer Reference
TileManager.h
Go to the documentation of this file.
1 #ifndef TileManager_h
2 #define TileManager_h
3 
25 #include "BufferManager.h"
26 #include "Cube.h"
27 
28 namespace Isis {
56 
57  private:
58  int p_numSampTiles;
59  int p_numLineTiles;
60 
61  public:
62  // Constructors and Destructors
63  TileManager(const Isis::Cube &cube,
64  const int &bufNumSamples = 128, const int &bufNumLines = 128);
65 
68 
69  bool SetTile(const int Tile, const int band = 1);
70 
76  inline int Tiles() {
77  return MaxMaps();
78  };
79  };
80 };
81 
82 #endif
83 
84 
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
Definition: BufferManager.h:178
int Tiles()
Returns the number of Tiles in the cube.
Definition: TileManager.h:76
Manages a Buffer over a cube.
Definition: BufferManager.h:68
bool SetTile(const int Tile, const int band=1)
Sets the current tile as requested.
Definition: TileManager.cpp:66
~TileManager()
Destroys the TileManager object.
Definition: TileManager.h:67
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Buffer manager, for moving through a cube in tiles.
Definition: TileManager.h:55
TileManager(const Isis::Cube &cube, const int &bufNumSamples=128, const int &bufNumLines=128)
Constructs a TileManager object.
Definition: TileManager.cpp:41
IO Handler for Isis Cubes.
Definition: Cube.h:170