Reference documentation for deal.II version Git 354f154960 2021-01-18 17:44:59 +0100
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DataOutBase::PovrayFlags Struct Reference

#include <deal.II/base/data_out_base.h>

Inheritance diagram for DataOutBase::PovrayFlags:
[legend]

Public Member Functions

 PovrayFlags (const bool smooth=false, const bool bicubic_patch=false, const bool external_data=false)
 
void parse_parameters (const ParameterHandler &prm)
 
std::size_t memory_consumption () const
 

Static Public Member Functions

static void declare_parameters (ParameterHandler &prm)
 

Public Attributes

bool smooth
 
bool bicubic_patch
 
bool external_data
 

Detailed Description

Flags controlling the details of output in Povray format. Several flags are implemented, see their respective documentation.

Definition at line 750 of file data_out_base.h.

Constructor & Destructor Documentation

◆ PovrayFlags()

DataOutBase::PovrayFlags::PovrayFlags ( const bool  smooth = false,
const bool  bicubic_patch = false,
const bool  external_data = false 
)

Constructor.

Definition at line 2037 of file data_out_base.cc.

Member Function Documentation

◆ declare_parameters()

void DataOutBase::PovrayFlags::declare_parameters ( ParameterHandler prm)
static

Declare all flags with name and type as offered by this class, for use in input files.

Definition at line 2193 of file data_out_base.cc.

◆ parse_parameters()

void DataOutBase::PovrayFlags::parse_parameters ( const ParameterHandler prm)

Read the parameters declared in declare_parameters() and set the flags for this output format accordingly.

The flags thus obtained overwrite all previous contents of this object.

Definition at line 2215 of file data_out_base.cc.

◆ memory_consumption()

std::size_t DataOutBase::OutputFlagsBase< PovrayFlags >::memory_consumption ( ) const
inherited

Return an estimate for the memory consumption, in bytes, of this object. This is not exact (but will usually be close) because calculating the memory usage of trees (e.g., std::map) is difficult.

Definition at line 589 of file data_out_base.h.

Member Data Documentation

◆ smooth

bool DataOutBase::PovrayFlags::smooth

Normal vector interpolation, if set to true

default = false

Definition at line 757 of file data_out_base.h.

◆ bicubic_patch

bool DataOutBase::PovrayFlags::bicubic_patch

Use bicubic patches (b-splines) instead of triangles.

default = false

Definition at line 764 of file data_out_base.h.

◆ external_data

bool DataOutBase::PovrayFlags::external_data

include external "data.inc" with camera, light and texture definition for the scene.

default = false

Definition at line 772 of file data_out_base.h.


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