Reference documentation for deal.II version 8.1.0
Public Types | Public Member Functions | Public Attributes | List of all members
GridOutFlags::Svg Struct Reference

#include <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 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.
 
Background background
 
int azimuth_angle
 
int polar_angle
 
Coloring coloring
 
bool convert_level_number_to_height
 Interpret the level number of the cells as altitude over the x-y-plane (useful in the perpspective view).
 
bool label_level_number
 
bool label_cell_index
 
bool label_material_id
 
bool label_subdomain_id
 
bool label_level_subdomain_id
 
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.
 

Detailed Description

Flags controlling SVG output.

Definition at line 618 of file grid_out.h.

Constructor & Destructor Documentation

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.

Member Data Documentation

int GridOutFlags::Svg::azimuth_angle

The azimuth angle measured from ??? in degrees. Default is 0.

Definition at line 647 of file grid_out.h.

int GridOutFlags::Svg::polar_angle

The angle from vertically above the xy-plane. Default is 0.

Definition at line 651 of file grid_out.h.

bool GridOutFlags::Svg::label_level_number

Cell labeling (fixed order).

The following booleans determine which properties of the cell shall be displayed as text in the middle of each cell.

Definition at line 681 of file grid_out.h.


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