VoxelGridCSpace.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2011-2017, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package ArmarX
19
* @author Mirko Waechter( mirko.waechter at kit dot edu)
20
* @date 2018
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
#pragma once
25
#include "
SimoxCSpace.h
"
26
27
#include <MemoryX/interface/components/CommonStorageInterface.h>
28
#include <RobotComponents/interface/components/MotionPlanning/CSpace/VoxelGridCSpaceBase.h>
29
#include <VirtualRobot/VirtualRobot.h>
30
31
namespace
armarx
32
{
33
class
VoxelGridCSpace
:
34
virtual
public
armarx::VoxelGridCSpaceBase,
35
virtual
public
SimoxCSpace
36
{
37
template
<
class
IceBaseClass,
class
DerivedClass>
friend
class
armarx::GenericFactory
;
38
VoxelGridCSpace
() {}
39
public
:
40
VoxelGridCSpace
(visionx::VoxelGridProviderInterfacePrx voxelGridProvider, memoryx::CommonStorageInterfacePrx cs,
bool
loadVisualizationModel
=
false
,
float
stationaryObjectMargin = 0.0f);
41
42
VirtualRobot::SceneObjectPtr
createGridObstacle
()
const
;
43
// CSpaceBase interface
44
public
:
45
armarx::CSpaceBasePtr
clone
(
const
Ice::Current&)
override
;
46
void
initCollisionTest
(
const
Ice::Current&)
override
;
47
protected
:
48
49
// SimoxCSpace interface
50
public
:
51
CSpaceBasePtr
clone
(
bool
loadVisualizationModel
)
override
;
52
};
53
using
VoxelGridCSpacePtr
=
IceInternal::Handle<VoxelGridCSpace>
;
54
}
55
armarx::VoxelGridCSpace::clone
armarx::CSpaceBasePtr clone(const Ice::Current &) override
Definition:
VoxelGridCSpace.cpp:67
IceInternal::Handle
Definition:
forward_declarations.h:8
armarx::VoxelGridCSpace::createGridObstacle
VirtualRobot::SceneObjectPtr createGridObstacle() const
Definition:
VoxelGridCSpace.cpp:42
armarx::VoxelGridCSpace
Definition:
VoxelGridCSpace.h:33
armarx::VoxelGridCSpace::initCollisionTest
void initCollisionTest(const Ice::Current &) override
Definition:
VoxelGridCSpace.cpp:72
SimoxCSpace.h
armarx::SimoxCSpace::loadVisualizationModel
bool loadVisualizationModel
Whether the visualization model of objects/agents sould be loaded.
Definition:
SimoxCSpace.h:268
scene3D::SceneObjectPtr
boost::intrusive_ptr< SceneObject > SceneObjectPtr
Definition:
PointerDefinitions.h:40
armarx::GenericFactory
Definition:
FactoryCollectionBase.h:51
armarx::SimoxCSpace
The SimoxCSpace contains a set of stationary obstacles and an agent.
Definition:
SimoxCSpace.h:67
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
RobotComponents
components
MotionPlanning
CSpace
VoxelGridCSpace.h
Generated on Sat Oct 12 2024 09:14:12 for armarx_documentation by
1.8.17