3D rectangle in the samples, lines and bands domain. More...
#include <cvb/spectral/cube_range.hpp>
Public Member Functions | |
| CubeRange () noexcept=default | |
| Creates a default cube range with value ranges from 0.0 to 0.0. More... | |
| CubeRange (ValueRange< int > samples, ValueRange< int > lines, ValueRange< int > bands) | |
| Initialize a cube range object. More... | |
| ValueRange< int > | Samples () const noexcept |
| Gets the range regarding the samples dimension. More... | |
| void | SetSamples (ValueRange< int > samples) noexcept |
| Sets the range regarding samples dimension. More... | |
| ValueRange< int > | Lines () const noexcept |
| Gets the range regarding lines dimension. More... | |
| void | SetLines (ValueRange< int > lines) |
| Sets the range regarding the lines dimension. More... | |
| ValueRange< int > | Bands () const noexcept |
| Gets the range regarding bands dimension. More... | |
| void | SetBands (ValueRange< int > bands) noexcept |
| Sets the range regarding bands dimension. More... | |
| bool | Contains (Vector3D< int > value) const noexcept |
| Checks if a the 3D value is inside the cube range. More... | |
| bool | IntersectsWith (CubeRange other) const noexcept |
| Checks if this cuboid intersects with another cube range. More... | |
| bool | operator== (const CubeRange &cubeRange) const noexcept |
| Compares to an other cube range. More... | |
| bool | operator!= (const CubeRange &cubeRange) const noexcept |
| Compares to an other cube range. More... | |
3D rectangle in the samples, lines and bands domain.
Region resembling a 3D value range for hyper spectral cubes.
|
defaultnoexcept |
Creates a default cube range with value ranges from 0.0 to 0.0.
| Does | not throw any exception. |
|
inline |
Initialize a cube range object.
| [in] | samples | Range regarding the samples dimension. |
| [in] | lines | Range regarding the lines dimension. |
| [in] | bands | Range regarding the bands dimension. |
| Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Gets the range regarding bands dimension.
| Does | not throw any exception. |
|
inlinenoexcept |
Checks if a the 3D value is inside the cube range.
| [in] | value | Value to be checked. |
| Does | not throw any exception. |
|
inlinenoexcept |
|
inlinenoexcept |
Gets the range regarding lines dimension.
| Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other cube range.
| [in] | cubeRange | Other cube range. |
| Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other cube range.
| [in] | cubeRange | Other cube range. |
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the range regarding the samples dimension.
| Does | not throw any exception. |
|
inlinenoexcept |
Sets the range regarding bands dimension.
| [in] | bands | The new range. |
| Does | not throw any exception. |
|
inline |
Sets the range regarding the lines dimension.
| [in] | lines | The new range. |
| Does | not throw any exception. |
|
inlinenoexcept |
Sets the range regarding samples dimension.
| [in] | samples | The new range. |
| Does | not throw any exception. |