|
scimesh 0.3.2
Headless CPU-only 3D software renderer for scientific mesh visualization
|
The Image — an RGBA pixel buffer with compositing and I/O operations. More...


Go to the source code of this file.
Classes | |
| struct | scimesh::Image |
| A 2D RGBA image buffer. More... | |
Namespaces | |
| namespace | scimesh |
Enumerations | |
| enum class | scimesh::MergeDirection { scimesh::LEFT , scimesh::RIGHT , scimesh::TOP , scimesh::BOTTOM } |
| Direction for the merge() operation. More... | |
| enum class | scimesh::CropContentDirection { scimesh::LEFT , scimesh::RIGHT , scimesh::HORIZONTAL , scimesh::TOP , scimesh::BOTTOM , scimesh::VERTICAL , scimesh::ALL } |
| Direction(s) for the crop_to_content() operation. More... | |
| enum class | scimesh::FitMode { scimesh::PAD , scimesh::SCALE } |
| Strategy for normalizing images to a common cell size in grid_arrange(). More... | |
Functions | |
| Image | scimesh::grid_arrange (const std::vector< Image > &images, int ncol=0, int nrow=0, FitMode fit_mode=FitMode::PAD, const Color &background=Color(1.0f, 1.0f, 1.0f, 1.0f)) |
| Arrange a list of images into a grid layout. | |
| Image | scimesh::stack_horizontal (const std::vector< Image > &images, FitMode fit_mode=FitMode::PAD, const Color &background=Color(1.0f, 1.0f, 1.0f, 1.0f)) |
| Stack images horizontally in a single row. | |
| Image | scimesh::stack_vertical (const std::vector< Image > &images, FitMode fit_mode=FitMode::PAD, const Color &background=Color(1.0f, 1.0f, 1.0f, 1.0f)) |
| Stack images vertically in a single column. | |
The Image — an RGBA pixel buffer with compositing and I/O operations.
scimesh uses its own image class so that rendering is self-contained: no external image libraries are needed for basic operations. Pixel data is stored as raw RGBA bytes in row-major order.
Definition in file image.h.