Reference documentation for deal.II version 8.1.0
Public Member Functions | Public Attributes | List of all members
DataOutBase::SvgFlags Struct Reference

#include <data_out_base.h>

Public Member Functions

 SvgFlags (const unsigned int height_vector=0, const int azimuth_angle=37, const int polar_angle=45, const unsigned int line_thickness=1, const bool margin=true, const bool draw_colorbar=true)
 
std::size_t memory_consumption () const
 

Public Attributes

unsigned int height
 
unsigned int width
 
unsigned int height_vector
 
int azimuth_angle
 
int polar_angle
 
unsigned int line_thickness
 
bool margin
 
bool draw_colorbar
 

Detailed Description

Flags for SVG output.

Definition at line 1032 of file data_out_base.h.

Constructor & Destructor Documentation

DataOutBase::SvgFlags::SvgFlags ( const unsigned int  height_vector = 0,
const int  azimuth_angle = 37,
const int  polar_angle = 45,
const unsigned int  line_thickness = 1,
const bool  margin = true,
const bool  draw_colorbar = true 
)

Constructor.

Member Function Documentation

std::size_t DataOutBase::SvgFlags::memory_consumption ( ) const

Determine an estimate for the memory consumption (in bytes) of this object. Since sometimes the size of objects can not be determined exactly (for example: what is the memory consumption of an STL std::map type with a certain number of elements?), this is only an estimate. however often quite close to the true value.

Member Data Documentation

unsigned int DataOutBase::SvgFlags::height

Height of the image in SVG units. Default value is 4000.

Definition at line 1039 of file data_out_base.h.

unsigned int DataOutBase::SvgFlags::width

Width of the image in SVG units. If left zero, the width is computed from the height.

Definition at line 1045 of file data_out_base.h.

unsigned int DataOutBase::SvgFlags::height_vector

This denotes the number of the data vector which shall be used for generating the height information. By default, the first data vector is taken, i.e. height_vector==0, if there is any data vector. If there is no data vector, no height information is generated.

Definition at line 1054 of file data_out_base.h.

int DataOutBase::SvgFlags::azimuth_angle

Angles for the perspective view

Definition at line 1059 of file data_out_base.h.

bool DataOutBase::SvgFlags::margin

Draw a margin of 5% around the plotted area

Definition at line 1066 of file data_out_base.h.

bool DataOutBase::SvgFlags::draw_colorbar

Draw a colorbar encoding the cell coloring

Definition at line 1071 of file data_out_base.h.


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