Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Simox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
Simox
Commits
77bd49e4
Commit
77bd49e4
authored
5 years ago
by
Raphael Grimm
Browse files
Options
Downloads
Patches
Plain Diff
Add a version of ManipulationObject::clone requiring no parameters
parent
a0349b5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
VirtualRobot/ManipulationObject.cpp
+5
-0
5 additions, 0 deletions
VirtualRobot/ManipulationObject.cpp
VirtualRobot/ManipulationObject.h
+1
-0
1 addition, 0 deletions
VirtualRobot/ManipulationObject.h
with
6 additions
and
0 deletions
VirtualRobot/ManipulationObject.cpp
+
5
−
0
View file @
77bd49e4
...
...
@@ -181,6 +181,11 @@ namespace VirtualRobot
return
ManipulationObjectPtr
(
_clone
(
name
,
colChecker
,
deepVisuCopy
));
}
ManipulationObjectPtr
ManipulationObject
::
clone
(
CollisionCheckerPtr
colChecker
,
bool
deepVisuCopy
)
const
{
return
clone
(
getName
(),
colChecker
,
deepVisuCopy
);
}
ManipulationObject
*
ManipulationObject
::
_clone
(
const
std
::
string
&
name
,
CollisionCheckerPtr
colChecker
,
bool
deepVisuCopy
)
const
{
VisualizationNodePtr
clonedVisualizationNode
;
...
...
This diff is collapsed.
Click to expand it.
VirtualRobot/ManipulationObject.h
+
1
−
0
View file @
77bd49e4
...
...
@@ -96,6 +96,7 @@ namespace VirtualRobot
Clones this object. If no col checker is given, the one of the original object is used.
*/
ManipulationObjectPtr
clone
(
const
std
::
string
&
name
,
CollisionCheckerPtr
colChecker
=
CollisionCheckerPtr
(),
bool
deepVisuCopy
=
true
)
const
;
ManipulationObjectPtr
clone
(
CollisionCheckerPtr
colChecker
=
CollisionCheckerPtr
(),
bool
deepVisuCopy
=
true
)
const
;
/*!
Create a standard obstacle from a mesh.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment