Celeritas  0.5.0-56+6b053cd
Public Member Functions | Public Attributes | List of all members
celeritas::ImageInput Struct Reference

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 {}
 

Detailed Description

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.

Member Data Documentation

◆ lower_left

Real3 celeritas::ImageInput::lower_left {0, 0, 0}

Coordinates of the window [length]

◆ upper_right

Real3 celeritas::ImageInput::upper_right {}

Coordinates of the window [length]


The documentation for this struct was generated from the following file: