Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
pinocchio
Commits
c0e0c397
Verified
Commit
c0e0c397
authored
Sep 17, 2021
by
Justin Carpentier
Browse files
python: shared memory between Python/C++
parent
a1516b21
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-object.hpp
View file @
c0e0c397
//
// Copyright (c) 2017-202
0
CNRS INRIA
// Copyright (c) 2017-202
1
CNRS INRIA
//
#ifndef __pinocchio_python_geometry_object_hpp__
...
...
@@ -46,11 +46,14 @@ namespace pinocchio
bp
::
args
(
"self"
,
"otherGeometryObject"
),
"Copy constructor"
))
.
def_readwrite
(
"meshScale"
,
&
GeometryObject
::
meshScale
,
.
add_property
(
"meshScale"
,
bp
::
make_getter
(
&
GeometryObject
::
meshScale
,
bp
::
return_internal_reference
<>
()),
bp
::
make_setter
(
&
GeometryObject
::
meshScale
),
"Scaling parameter of the mesh."
)
.
add_property
(
"meshColor"
,
bp
::
make_getter
(
&
GeometryObject
::
meshColor
,
bp
::
return_
value_policy
<
bp
::
return_by_value
>
()),
bp
::
return_
internal_reference
<
>
()),
bp
::
make_setter
(
&
GeometryObject
::
meshColor
),
"Color rgba of the mesh."
)
.
def_readwrite
(
"geometry"
,
&
GeometryObject
::
geometry
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment