BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SceneGeometry Class Reference

Public Member Functions

 SceneGeometry (double size=100.0, double top_thickness=25.0, double bottom_thickness=25.0, double min_thickness=2.0)
 
double layer_bottom_thickness () const
 
double layer_min_thickness () const
 
double layer_size () const
 
double layer_top_thickness () const
 
void set_layer_bottom_thickness (double bottom_thickness)
 
void set_layer_size (double size)
 
void set_layer_top_thickness (double top_thickness)
 

Private Attributes

double l_bottom_thickness
 
double l_min_thickness
 
double l_size
 
double l_top_thickness
 

Detailed Description

Definition at line 29 of file RealSpaceCanvas.h.

Constructor & Destructor Documentation

◆ SceneGeometry()

SceneGeometry::SceneGeometry ( double  size = 100.0,
double  top_thickness = 25.0,
double  bottom_thickness = 25.0,
double  min_thickness = 2.0 
)
inline

Definition at line 31 of file RealSpaceCanvas.h.

33  {
34  l_size = size; // layer size
35  l_top_thickness = top_thickness; // top layer thickness
36  l_bottom_thickness = bottom_thickness; // bottom layer thickness
37  l_min_thickness = min_thickness; // minimum layer thickness
38  }
double l_bottom_thickness
double l_min_thickness
double l_top_thickness

References l_bottom_thickness, l_min_thickness, l_size, and l_top_thickness.

Member Function Documentation

◆ layer_bottom_thickness()

double SceneGeometry::layer_bottom_thickness ( ) const
inline

◆ layer_min_thickness()

double SceneGeometry::layer_min_thickness ( ) const
inline

Definition at line 43 of file RealSpaceCanvas.h.

43 { return l_min_thickness; }

References l_min_thickness.

Referenced by TransformTo3D::visualLayerThickness().

◆ layer_size()

double SceneGeometry::layer_size ( ) const
inline

◆ layer_top_thickness()

double SceneGeometry::layer_top_thickness ( ) const
inline

◆ set_layer_bottom_thickness()

void SceneGeometry::set_layer_bottom_thickness ( double  bottom_thickness)
inline

Definition at line 47 of file RealSpaceCanvas.h.

47 { l_top_thickness = bottom_thickness; }

References l_top_thickness.

◆ set_layer_size()

void SceneGeometry::set_layer_size ( double  size)
inline

Definition at line 45 of file RealSpaceCanvas.h.

45 { l_size = size; }

References l_size.

◆ set_layer_top_thickness()

void SceneGeometry::set_layer_top_thickness ( double  top_thickness)
inline

Definition at line 46 of file RealSpaceCanvas.h.

46 { l_top_thickness = top_thickness; }

References l_top_thickness.

Member Data Documentation

◆ l_bottom_thickness

double SceneGeometry::l_bottom_thickness
private

Definition at line 52 of file RealSpaceCanvas.h.

Referenced by SceneGeometry().

◆ l_min_thickness

double SceneGeometry::l_min_thickness
private

Definition at line 53 of file RealSpaceCanvas.h.

Referenced by SceneGeometry(), and layer_min_thickness().

◆ l_size

double SceneGeometry::l_size
private

Definition at line 50 of file RealSpaceCanvas.h.

Referenced by SceneGeometry(), layer_size(), and set_layer_size().

◆ l_top_thickness

double SceneGeometry::l_top_thickness
private

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