RayZaler 0.1
The free opto-mechanical simulation framework
RZ::BeamProperties Struct Reference
Collaboration diagram for RZ::BeamProperties:

Public Member Functions

void setFNum (Real fNum, FNumReference adjust=BeamDiameter)
 
void setObjectFNum (Real fNum)
 
void collimate ()
 
void setElementRelative (const Element *element)
 
void setPlaneRelative (const ReferenceFrame *frame)
 
void setObjectShape (std::string const &shape)
 
void debug () const
 

Public Attributes

uint32_t id = 0
 
BeamReference reference = SkyRelative
 
BeamShape shape = Circular
 
bool converging = true
 
union {
   const ReferenceFrame *   frame = nullptr
 
   const Element *   element
 
}; 
 
std::string path
 
Real length = 10
 
Real diameter = .5
 
Real wavelength = 535e-9
 
unsigned int numRays = 1000
 
bool random = false
 
Vec3 direction = -Vec3::eZ()
 
Vec3 offset = Vec3::zero()
 
Real focusZ = 0
 
bool vignetting = true
 
SkyObjectShape objectShape = PointLike
 
Real angularDiameter = M_PI / 6
 
std::string objectPath
 

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