Rheolef  7.1
an efficient C++ finite element environment
render_option.h
Go to the documentation of this file.
1 #ifndef _RHEOLEF_RENDER_OPTION_H
2 #define _RHEOLEF_RENDER_OPTION_H
3 //
24 // manage graphical render options
25 // e.g. print it in python for the rheolef_paraview.py script
26 //
27 // author: Pierre.Saramito@imag.fr
28 //
29 // date: 25 janv 2020
30 //
31 #include "rheolef/point.h"
32 
33 namespace rheolef {
34 
35 // ----------------------------------------------------------------------------
36 // option for scalar visualization with paraview
37 // ----------------------------------------------------------------------------
38 struct render_option {
39  render_option();
40  friend std::ostream& operator<< (std::ostream& py, const render_option&);
41  void put_paraview (std::ostream& py) const;
42  static std::string python (const point& x, size_t d=3);
43 // data:
49  mutable point xmin, xmax, origin, normal;
50  mutable std::string format, mark, label, valued, style;
51 };
52 
53 } // namespace rheolef
54 #endif // _RHEOLEF_RENDER_OPTION_H
rheolef::render_option::f_max
Float f_max
Definition: render_option.h:47
rheolef::point_basic< size_t >
rheolef::render_option::origin
point origin
Definition: render_option.h:49
rheolef::render_option::grid
bool grid
Definition: render_option.h:44
rheolef::render_option::black_and_white
bool black_and_white
Definition: render_option.h:45
rheolef::render_option::render_option
render_option()
Definition: render_option.cc:34
rheolef::render_option::color
bool color
Definition: render_option.h:45
rheolef::render_option::put_paraview
void put_paraview(std::ostream &py) const
Definition: render_option.cc:48
rheolef::render_option::fill
bool fill
Definition: render_option.h:44
rheolef::render_option::operator<<
friend std::ostream & operator<<(std::ostream &py, const render_option &)
Definition: render_option.cc:44
rheolef::render_option::elevation
bool elevation
Definition: render_option.h:44
rheolef::render_option::f_min
Float f_min
Definition: render_option.h:47
rheolef::render_option::view_map
bool view_map
Definition: render_option.h:45
rheolef::render_option::xmin
point xmin
Definition: render_option.h:49
rheolef::render_option::gray
bool gray
Definition: render_option.h:45
rheolef::render_option::branch_size
size_t branch_size
Definition: render_option.h:46
rheolef::render_option::n_isovalue
size_t n_isovalue
Definition: render_option.h:46
rheolef::render_option::stereo
bool stereo
Definition: render_option.h:44
rheolef::render_option::python
static std::string python(const point &x, size_t d=3)
rheolef::render_option::cut
bool cut
Definition: render_option.h:44
rheolef::render_option::mark
std::string mark
Definition: render_option.h:50
rheolef::render_option::scale
Float scale
Definition: render_option.h:47
rheolef::render_option::volume
bool volume
Definition: render_option.h:44
rheolef::render_option::high_order
bool high_order
Definition: render_option.h:45
rheolef::render_option::xmax
point xmax
Definition: render_option.h:49
rheolef::render_option::normal
point normal
Definition: render_option.h:49
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
rheolef::render_option::label
std::string label
Definition: render_option.h:50
rheolef::render_option
Definition: render_option.h:38
Float
see the Float page for the full documentation
point
see the point page for the full documentation
mkgeo_ball.d
d
Definition: mkgeo_ball.sh:154
rheolef::render_option::isovalue
Float isovalue
Definition: render_option.h:47
rheolef::render_option::resolution
point_basic< size_t > resolution
Definition: render_option.h:48
rheolef::render_option::style
std::string style
Definition: render_option.h:50
rheolef::render_option::iso
bool iso
Definition: render_option.h:44
rheolef::render_option::have_opacity_bug
bool have_opacity_bug
Definition: render_option.h:45
rheolef::render_option::showlabel
bool showlabel
Definition: render_option.h:44
rheolef::render_option::n_isovalue_negative
size_t n_isovalue_negative
Definition: render_option.h:46
rheolef::render_option::valued
std::string valued
Definition: render_option.h:50
rheolef::render_option::view_2d
bool view_2d
Definition: render_option.h:44
rheolef::render_option::format
std::string format
Definition: render_option.h:50