Celeritas
0.5.0-56+6b053cd
|
Image construction arguments. More...
#include <Image.hh>
Public Member Functions | |
operator bool () const | |
True if the input is unassigned. | |
Public Attributes | |
Real3 | rightward {1, 0, 0} |
Rightward basis vector, the new "x" axis. | |
size_type | vertical_pixels {} |
Number of vertical pixels, aka threads when raytracing. | |
size_type | horizontal_divisor {CELER_USE_DEVICE ? 128 / sizeof(int) : 1} |
Round the number of horizontal pixels to this value. | |
Real3 | lower_left {0, 0, 0} |
Real3 | upper_right {} |
Image construction arguments.
Image scale in this struct is native units, but JSON I/O defaults to centimeters for the window coordinates and accepts an optional "_units" parameter that can take values of cgs, si, or clhep to interpret the input as centimeters, meters, or millimeters.
Real3 celeritas::ImageInput::lower_left {0, 0, 0} |
Coordinates of the window [length]
Real3 celeritas::ImageInput::upper_right {} |
Coordinates of the window [length]