1 #ifndef RAM_UTILS_TRAJECTORY_FILES_MANAGER_1_HPP 2 #define RAM_UTILS_TRAJECTORY_FILES_MANAGER_1_HPP 4 #include <Eigen/Geometry> 9 #include <vtkPolyData.h> 10 #include <vtkPolygon.h> 11 #include <vtkSmartPointer.h> 12 #include <vtkVector.h> 16 typedef Eigen::Isometry3d
Pose;
21 typedef vtkSmartPointer<vtkPolyData>
Polygon;
37 std::vector<unsigned> &layer_count);
40 const Polygon poly_data);
43 const Polygon poly_data);
46 const std::string file_name,
47 const bool no_linear =
false,
48 const std::string header =
"");
std::vector< Polygon > Polygons
bool yamlFileToPolydata(const std::string yaml_file, Polygon poly_data)
ram_msgs::AdditiveManufacturingTrajectory trajectory
bool polydataToYamlFile(const std::string yaml_file, const Polygon poly_data)
std::vector< Polygons > PolygonsVector
void writeYAMLFile(const PosesTrajectory &trajectory, const std::string file_name, const bool no_linear=false, const std::string header="")
bool yamlFileToPolydata2(const std::string yaml_file, Polygon poly_data, std::vector< unsigned > &layer_count)
std::vector< PosesPolygon > PosesLayer
vtkSmartPointer< vtkPolyData > Polygon
bool polydataToYamlFile2(const std::string yaml_file, const Polygon poly_data)
std::vector< PosesLayer > PosesTrajectory
std::vector< Eigen::Isometry3d > PosesPolygon