ram_trajectory_files_manager.hpp
Go to the documentation of this file.
1 #ifndef RAM_TRAJECTORY_FILES_MANAGER_HPP
2 #define RAM_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 {
19 public:
20  typedef vtkSmartPointer<vtkPolyData> Polygon;
21  typedef std::vector<Polygon> Polygons;
22  typedef std::vector<Polygons> PolygonsVector;
23 
25 
26  static bool yamlFileToPolydata(const std::string yaml_file,
27  Polygon poly_data);
28 
29  static bool polydataToYamlFile(const std::string yaml_file,
30  const Polygon poly_data);
31 };
32 
33 #endif
34 
static bool polydataToYamlFile(const std::string yaml_file, const Polygon poly_data)
static bool yamlFileToPolydata(const std::string yaml_file, Polygon poly_data)
std::vector< Polygons > PolygonsVector
vtkSmartPointer< vtkPolyData > Polygon


ram_trajectory_files_manager
Author(s): Andres Campos - Institut Maupertuis
autogenerated on Thu Oct 12 2017 02:50:41