Isis Developer Reference
SampleManager.h
Go to the documentation of this file.
1 #ifndef SampleManager_h
2 #define SampleManager_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 #include "BufferManager.h"
11 #include "Cube.h"
12 
13 namespace Isis {
35 
36  public:
37  // Constructors and Destructors
38  SampleManager(const Isis::Cube &cube, const bool reverse = false);
39 
42 
43  bool SetSample(const int sample, const int band = 1);
44  };
45 };
46 
47 #endif
48 
Isis::SampleManager::SampleManager
SampleManager(const Isis::Cube &cube, const bool reverse=false)
Constructs a SampleManager object.
Definition: SampleManager.cpp:28
Isis::BufferManager::setpos
bool setpos(BigInt map)
Sets the position of the shape in the cube.
Definition: BufferManager.cpp:219
Cube.h
BufferManager.h
SampleManager.h
Isis::SampleManager::~SampleManager
~SampleManager()
Destroys the SampleManager object.
Definition: SampleManager.h:41
IString.h
Isis::BufferManager
Manages a Buffer over a cube.
Definition: BufferManager.h:52
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::SampleManager::SetSample
bool SetSample(const int sample, const int band=1)
Positions the buffer at the requested line and returns a status indicator if the set was succesful or...
Definition: SampleManager.cpp:44
Isis::SampleManager
Buffer manager, for moving through a cube in samples.
Definition: SampleManager.h:34
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::BufferManager::MaxSamples
int MaxSamples() const
Returns the number of samples in the cube.
Definition: BufferManager.h:134
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
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16