Reference documentation for deal.II version 9.0.0
|
#include <deal.II/grid/grid_out.h>
Public Types | |
enum | Background { transparent, white, dealii } |
enum | Coloring { none, material_id, level_number, subdomain_id, level_subdomain_id } |
Public Member Functions | |
Svg (const unsigned int line_thickness=2, const unsigned int boundary_line_thickness=4, bool margin=true, const Background background=white, const int azimuth_angle=0, const int polar_angle=0, const Coloring coloring=level_number, const bool convert_level_number_to_height=false, const bool label_level_number=true, const bool label_cell_index=true, const bool label_material_id=false, const bool label_subdomain_id=false, const bool draw_colorbar=true, const bool draw_legend=true) | |
Public Attributes | |
unsigned int | height |
Height of the plot in SVG units, computed from width if zero. Defaults to 1000. | |
unsigned int | width |
The width of the plot. Computed automatically from height if zero (default) | |
unsigned int | line_thickness |
Thickness of the lines between cells. | |
unsigned int | boundary_line_thickness |
Thickness of lines at the boundary. | |
bool | margin |
Margin around the plotted area. | |
int | azimuth_angle |
int | polar_angle |
bool | convert_level_number_to_height |
Interpret the level number of the cells as altitude over the x-y-plane (useful in the perspective view). | |
float | level_height_factor |
The factor determining the vertical distance between levels (default = 0.3) | |
float | cell_font_scaling |
Scaling of the font for cell annotations. Defaults to 1. | |
bool | label_level_number |
Write level number into each cell. Defaults to true. | |
bool | label_cell_index |
Write cell index into each cell. Defaults to true. | |
bool | label_material_id |
Write material id of each cell. Defaults to false. | |
bool | label_subdomain_id |
Write subdomain id of each cell. Defaults to false. | |
bool | label_level_subdomain_id |
Write level subdomain id of each cell. Defaults to false. | |
bool | draw_colorbar |
Draw a colorbar next to the plotted grid with respect to the chosen coloring of the cells. | |
bool | draw_legend |
Draw a legend next to the plotted grid, explaining the label of the cells. | |
Flags controlling SVG output.
Definition at line 611 of file grid_out.h.
Background style.
Definition at line 628 of file grid_out.h.
Cell coloring.
Definition at line 653 of file grid_out.h.
GridOutFlags::Svg::Svg | ( | const unsigned int | line_thickness = 2 , |
const unsigned int | boundary_line_thickness = 4 , |
||
bool | margin = true , |
||
const Background | background = white , |
||
const int | azimuth_angle = 0 , |
||
const int | polar_angle = 0 , |
||
const Coloring | coloring = level_number , |
||
const bool | convert_level_number_to_height = false , |
||
const bool | label_level_number = true , |
||
const bool | label_cell_index = true , |
||
const bool | label_material_id = false , |
||
const bool | label_subdomain_id = false , |
||
const bool | draw_colorbar = true , |
||
const bool | draw_legend = true |
||
) |
Constructor.
Definition at line 348 of file grid_out.cc.
int GridOutFlags::Svg::azimuth_angle |
The azimuth angle measured from ??? in degrees. Default is 0.
Definition at line 644 of file grid_out.h.
int GridOutFlags::Svg::polar_angle |
The angle from vertically above the xy-plane. Default is 0.
Definition at line 648 of file grid_out.h.