25 #include <openbeam/types.h>
29 struct StaticSolveProblemInfo;
38 void loadFromYaml(
const mrpt::containers::yaml& d);
40 bool show_nodes_original =
true;
41 bool show_nodes_deformed =
false;
42 bool show_node_labels =
false;
45 bool show_element_labels =
true;
46 bool show_loads =
true;
47 bool show_constraints =
true;
50 bool show_force_axial =
false;
51 bool show_force_shear_y =
false;
52 bool show_bending_moment_z =
false;
53 bool show_force_shear_z =
false;
54 bool show_bending_moment_y =
false;
55 bool show_torsion_moment =
false;
57 bool show_any_stress()
const
59 return show_force_axial || show_force_shear_y ||
60 show_bending_moment_z || show_force_shear_z ||
61 show_bending_moment_y || show_torsion_moment;
67 double NODE_RADIUS = 5e-3;
68 double BEAM_PINNED_RADIUS = 10e-3;
69 double EDGE_WIDTH = 5e-3;
70 unsigned int PIN_SPHERE_DIVS = 8;
71 unsigned int NODE_SPHERE_DIVS = 5;
77 double deformed_scale_factor_for_bbox = 0;
88 double labels_size = 15.0;
91 double margin_left = 0, margin_right = 0, margin_top = 0, margin_bottom = 0;
96 double constraints_original_alpha = 1,
108 size_t element_index = 0;
109 double color_alpha = 1;
111 num_t deformed_scale_factor = 1;
116 num_t min_x = 0, max_x = 0, min_y = 0, max_y = 0;
117 double width = 0, height = 0;
118 double scaleFactor = 1;
Definition: DrawStructureOptions.h:34
double image_width
Default: 1024px (Height is automatically determined)
Definition: DrawStructureOptions.h:65
double deformed_scale_auto_max_image_ratio
Definition: DrawStructureOptions.h:82
double nodes_deformed_alpha
[0,1]
Definition: DrawStructureOptions.h:95
double deformed_scale_factor
Definition: DrawStructureOptions.h:75
bool show_elements_deformed
Draw final deformed elements.
Definition: DrawStructureOptions.h:44
double node_loads_max_relative_size
Definition: DrawStructureOptions.h:86
double margin_left
In structure units.
Definition: DrawStructureOptions.h:91
double elements_deformed_alpha
[0,1]
Definition: DrawStructureOptions.h:94
double loads_deformed_alpha
[0,1]
Definition: DrawStructureOptions.h:98
bool show_elements_original
Draw original undeformed elements.
Definition: DrawStructureOptions.h:43
double constraints_deformed_alpha
[0,1]
Definition: DrawStructureOptions.h:97
Definition: DrawStructureOptions.h:115
Definition: CFiniteElementProblem.h:106