trajectory_files_manager.hpp
Go to the documentation of this file.
1 #ifndef TRAJECTORY_FILES_MANAGER_HPP
2 #define TRAJECTORY_FILES_MANAGER_HPP
3 
4 #include <fstream>
5 #include <string>
6 #include <vector>
7 
8 #include "yaml_utils.hpp"
9 #include <yaml-cpp/exceptions.h>
10 #include <yaml-cpp/mark.h>
11 
12 #include <vtkPolyData.h>
13 #include <vtkPolygon.h>
14 #include <vtkSmartPointer.h>
15 #include <vtkVector.h>
16 
18 {
20 {
21 public:
22  typedef vtkSmartPointer<vtkPolyData> Polygon;
23  typedef std::vector<Polygon> Polygons;
24  typedef std::vector<Polygons> PolygonsVector;
25 
27 
28  static bool yamlFileToPolydata(const std::string yaml_file,
29  Polygon poly_data);
30 
31  static bool polydataToYamlFile(const std::string yaml_file,
32  const Polygon poly_data);
33 };
34 
35 }
36 
37 #endif
38 
static bool yamlFileToPolydata(const std::string yaml_file, Polygon poly_data)
static bool polydataToYamlFile(const std::string yaml_file, const Polygon poly_data)


ram_trajectory_utils
Author(s): Andres Campos - Institut Maupertuis
autogenerated on Fri Oct 27 2017 02:49:34