surface_hull.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #ifndef _H_MCRBDYNSURFACEHULL_H_
6 #define _H_MCRBDYNSURFACEHULL_H_
7 
8 #include <mc_rtc/pragma.h>
9 
10 MC_RTC_diagnostic_push
11 MC_RTC_diagnostic_ignored(GCC, "-Wsign-conversion")
12 #include <Eigen/Core>
13 MC_RTC_diagnostic_pop
14 #include <mc_rbdyn/api.h>
15 
16 #include <SpaceVecAlg/SpaceVecAlg>
17 
18 #include <vector>
19 
20 namespace sch
21 {
22 class S_Object;
23 }
24 
25 namespace mc_rbdyn
26 {
27 
28 struct Surface;
29 struct PlanarSurface;
30 struct CylindricalSurface;
31 struct GripperSurface;
32 
33 MC_RBDYN_DLLAPI sch::S_Object * surface_to_sch(const mc_rbdyn::Surface & surface,
34  const double & depth = 0.01,
35  const unsigned int & slice = 8);
36 
37 MC_RBDYN_DLLAPI sch::S_Object * sch_polyhedron(const std::vector<sva::PTransformd> & points);
38 
39 MC_RBDYN_DLLAPI sch::S_Object * planar_hull(const mc_rbdyn::PlanarSurface & surface, const double & depth);
40 
42  const unsigned int & slice);
43 
44 MC_RBDYN_DLLAPI sch::S_Object * gripper_hull(const mc_rbdyn::GripperSurface & surface, const double & depth);
45 
46 } // namespace mc_rbdyn
47 
48 #endif
#define MC_RBDYN_DLLAPI
Definition: api.h:50
Definition: generic_gripper.h:15
MC_RBDYN_DLLAPI sch::S_Object * sch_polyhedron(const std::vector< sva::PTransformd > &points)
MC_RBDYN_DLLAPI sch::S_Object * gripper_hull(const mc_rbdyn::GripperSurface &surface, const double &depth)
MC_RBDYN_DLLAPI sch::S_Object * planar_hull(const mc_rbdyn::PlanarSurface &surface, const double &depth)
MC_RBDYN_DLLAPI sch::S_Object * cylindrical_hull(const mc_rbdyn::CylindricalSurface &surface, const unsigned int &slice)
MC_RBDYN_DLLAPI sch::S_Object * surface_to_sch(const mc_rbdyn::Surface &surface, const double &depth=0.01, const unsigned int &slice=8)
Definition: SCHAddon.h:34
Definition: CylindricalSurface.h:17
Definition: GripperSurface.h:15
Definition: PlanarSurface.h:17
Definition: Surface.h:25
MC_RTC_diagnostic_push MC_RTC_diagnostic_ignored(GCC, "-Wsign-conversion") MC_RTC_diagnostic_pop namespace sch
Definition: surface_hull.h:11