|
OpenMPCD
|
Represents a 4D graph. More...
#include <Graph4D.hpp>
Public Types | |
| typedef std::deque< boost::tuple< double, double, double, double > > | Container |
| The type the data points are collected in. More... | |
Public Member Functions | |
| void | addPoint (const FP w, const FP x, const FP y, const FP z) |
| Adds a data point. More... | |
| const Container & | getPoints () const |
| Returns the data points. More... | |
| void | save (const std::string &path) const |
| Saves the graph data to the given file path. More... | |
Represents a 4D graph.
Definition at line 20 of file Graph4D.hpp.
| typedef std::deque<boost::tuple<double, double, double, double> > OpenMPCD::Graph4D::Container |
The type the data points are collected in.
Definition at line 23 of file Graph4D.hpp.
Adds a data point.
| [in] | w | The w coordinate. |
| [in] | x | The x coordinate. |
| [in] | y | The y coordinate. |
| [in] | z | The z coordinate. |
Definition at line 34 of file Graph4D.hpp.
|
inline |
Returns the data points.
Definition at line 42 of file Graph4D.hpp.
| void OpenMPCD::Graph4D::save | ( | const std::string & | path | ) | const |
Saves the graph data to the given file path.
| [in] | path | The file path to save to. |
Definition at line 6 of file Graph4D.cpp.
1.8.17