Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GnuplotItem2D.hpp
Go to the documentation of this file.
1 /*
2  * gnuplotItem2D.hpp
3  *
4  * Created on: Jul 24, 2014
5  * Author: nano
6  */
7 
8 #ifndef GNUPLOTITEM2D_HPP_
9 #define GNUPLOTITEM2D_HPP_
10 
11 #include "GnuplotShapes.hpp"
12 #include <string>
13 #include <vector>
14 #include <utility>
15 
16 #include <boost/iostreams/device/file_descriptor.hpp>
17 #include <boost/iostreams/stream.hpp>
18 #include <boost/version.hpp>
19 #include <boost/utility.hpp>
20 #include <boost/tuple/tuple.hpp>
21 #include <boost/mpl/bool.hpp>
22 
23 namespace phoxonics {
24 namespace visual {
25 
26 struct GnuplotItem2D {
27  // Const / Dest
28  explicit GnuplotItem2D(std::string title);
29  explicit GnuplotItem2D(std::string title, GnuplotShapes shape);
31 
32  std::string title { "" };
34  std::vector<boost::tuple<double, double, double>> points { };
35 };
36 
37 }
38 }
39 
40 #endif /* GNUPLOTITEM2D_HPP_ */
GnuplotItem2D(std::string title)
Definition: GnuplotItem2D.cpp:13
Definition: CommonBase.hpp:14
Definition: GnuplotItem2D.hpp:26
std::vector< boost::tuple< double, double, double > > points
Definition: GnuplotItem2D.hpp:34
std::string title
Definition: GnuplotItem2D.hpp:32
GnuplotShapes shape
Definition: GnuplotItem2D.hpp:33
GnuplotShapes
Definition: GnuplotShapes.hpp:14
~GnuplotItem2D()
Definition: GnuplotItem2D.cpp:22