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 
41 MC_RBDYN_DLLAPI sch::S_Object * cylindrical_hull(const mc_rbdyn::CylindricalSurface & surface,
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
sch
Definition: SCHAddon.h:33
mc_rbdyn::sch_polyhedron
MC_RBDYN_DLLAPI sch::S_Object * sch_polyhedron(const std::vector< sva::PTransformd > &points)
mc_rbdyn::gripper_hull
MC_RBDYN_DLLAPI sch::S_Object * gripper_hull(const mc_rbdyn::GripperSurface &surface, const double &depth)
pragma.h
MC_RTC_diagnostic_ignored
MC_RTC_diagnostic_push MC_RTC_diagnostic_ignored(GCC, "-Wsign-conversion") MC_RTC_diagnostic_pop namespace sch
Definition: surface_hull.h:11
mc_rbdyn::PlanarSurface
Definition: PlanarSurface.h:16
api.h
mc_rbdyn::planar_hull
MC_RBDYN_DLLAPI sch::S_Object * planar_hull(const mc_rbdyn::PlanarSurface &surface, const double &depth)
mc_rbdyn::Surface
Definition: Surface.h:24
MC_RBDYN_DLLAPI
#define MC_RBDYN_DLLAPI
Definition: api.h:50
mc_rbdyn::GripperSurface
Definition: GripperSurface.h:14
mc_rbdyn
Definition: generic_gripper.h:14
mc_rbdyn::CylindricalSurface
Definition: CylindricalSurface.h:16
mc_rbdyn::cylindrical_hull
MC_RBDYN_DLLAPI sch::S_Object * cylindrical_hull(const mc_rbdyn::CylindricalSurface &surface, const unsigned int &slice)
mc_rbdyn::surface_to_sch
MC_RBDYN_DLLAPI sch::S_Object * surface_to_sch(const mc_rbdyn::Surface &surface, const double &depth=0.01, const unsigned int &slice=8)