![]() |
CARTA Backend
The backend component of CARTA
|
Stores information about image axes, including spatial and spectral components. More...
#include <Image.h>
Public Member Functions | |
| AxesInfo () | |
| Default constructor initialising all axes to -1 (undefined). | |
| AxesInfo (const std::vector< int > render, const std::vector< int > spatial, int spectral) | |
| Constructor initialising rendering and spatial axes. | |
| AxesInfo (const std::vector< int > render, std::vector< int > spatial, int spectral, int z, int stokes) | |
| Constructor initialising rendering, spatial, spectral, Z, and stokes axes. | |
| std::vector< int > | Render () |
| Retrieves the rendering axes (X and Y). | |
| std::vector< int > | Spatial () |
| Retrieves the spatial axes (spatial_x and spatial_y). | |
Public Attributes | |
| int | x |
| Index of the X-axis for rendering. | |
| int | y |
| Index of the Y-axis for rendering. | |
| int | spatial_x |
| Index of the spatial X-axis. | |
| int | spatial_y |
| Index of the spatial Y-axis. | |
| int | spectral |
| Index of the spectral axis (if applicable). | |
| int | z |
| Index of the Z-axis (if applicable). | |
| int | stokes |
| Index of the stokes axis (if applicable). | |
Stores information about image axes, including spatial and spectral components.
This struct holds indices for different axes used in image rendering, spatial mapping, spectral representation, and stokes parameters.
|
inline |
Default constructor initialising all axes to -1 (undefined).
|
inline |
Constructor initialising rendering and spatial axes.
| render | A vector containing the X and Y rendering axes. |
| spatial | A vector containing the spatial X and Y axes. |
| spectral | The spectral axis index. |
|
inline |
Constructor initialising rendering, spatial, spectral, Z, and stokes axes.
| render | A vector containing the X and Y rendering axes. |
| spatial | A vector containing the spatial X and Y axes. |
| spectral | The spectral axis index. |
| z | The Z-axis index. |
| stokes | The stokes axis index. |
|
inline |
Retrieves the rendering axes (X and Y).
|
inline |
Retrieves the spatial axes (spatial_x and spatial_y).
| int AxesInfo::spatial_x |
Index of the spatial X-axis.
| int AxesInfo::spatial_y |
Index of the spatial Y-axis.
| int AxesInfo::spectral |
Index of the spectral axis (if applicable).
| int AxesInfo::stokes |
Index of the stokes axis (if applicable).
| int AxesInfo::x |
Index of the X-axis for rendering.
| int AxesInfo::y |
Index of the Y-axis for rendering.
| int AxesInfo::z |
Index of the Z-axis (if applicable).