Isis Developer Reference
TileManager.h
Go to the documentation of this file.
1 #ifndef TileManager_h
2 #define TileManager_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "BufferManager.h"
10 #include "Cube.h"
11 
12 namespace 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 
Isis::BufferManager::setpos
bool setpos(BigInt map)
Sets the position of the shape in the cube.
Definition: BufferManager.cpp:219
Cube.h
BufferManager.h
Isis::BufferManager::MaxMaps
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
Definition: BufferManager.h:162
Isis::TileManager
Buffer manager, for moving through a cube in tiles.
Definition: TileManager.h:39
Isis::TileManager::~TileManager
~TileManager()
Destroys the TileManager object.
Definition: TileManager.h:51
Isis::TileManager::SetTile
bool SetTile(const int Tile, const int band=1)
Sets the current tile as requested.
Definition: TileManager.cpp:50
Isis::BufferManager
Manages a Buffer over a cube.
Definition: BufferManager.h:52
Isis::TileManager::TileManager
TileManager(const Isis::Cube &cube, const int &bufNumSamples=128, const int &bufNumLines=128)
Constructs a TileManager object.
Definition: TileManager.cpp:25
Isis::Cube::lineCount
int lineCount() const
Definition: Cube.cpp:1734
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
TileManager.h
Isis::Cube::sampleCount
int sampleCount() const
Definition: Cube.cpp:1807
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::TileManager::Tiles
int Tiles()
Returns the number of Tiles in the cube.
Definition: TileManager.h:60
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16