CylindricalSurface.h
Go to the documentation of this file.
1
/*
2
* Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3
*/
4
5
#pragma once
6
7
#include <
mc_rbdyn/Surface.h
>
8
9
namespace
mc_rbdyn
10
{
11
12
struct
Robot
;
13
14
struct
CylindricalSurfaceImpl;
15
16
struct
MC_RBDYN_DLLAPI
CylindricalSurface
:
public
Surface
17
{
18
CylindricalSurface
(
const
std::string & name,
19
const
std::string & bodyName,
20
const
sva::PTransformd & X_b_s,
21
const
std::string & materialName,
22
const
double
& radius,
23
const
double
& width);
24
25
~
CylindricalSurface
()
override
;
26
27
void
computePoints
()
override
;
28
29
const
double
& radius()
const
;
30
31
const
double
& width()
const
;
32
33
void
width(
const
double
& width);
34
35
std::shared_ptr<Surface> copy()
const override
;
36
37
std::string type()
const override
;
38
39
private
:
40
std::unique_ptr<CylindricalSurfaceImpl> impl;
41
};
42
43
}
// namespace mc_rbdyn
Surface.h
mc_rbdyn::computePoints
MC_RBDYN_DLLAPI std::vector< sva::PTransformd > computePoints(const mc_rbdyn::Surface &robotSurface, const mc_rbdyn::Surface &envSurface, const sva::PTransformd &X_es_rs)
mc_rbdyn::Surface
Definition:
Surface.h:24
MC_RBDYN_DLLAPI
#define MC_RBDYN_DLLAPI
Definition:
api.h:50
mc_rbdyn
Definition:
generic_gripper.h:14
mc_rtc::gui::Robot
auto Robot(const std::string &name, GetT get_fn)
Definition:
Robot.h:56
mc_rbdyn::CylindricalSurface
Definition:
CylindricalSurface.h:16
include
mc_rbdyn
CylindricalSurface.h
Generated by
1.8.17