GSE2RigidBodyPlanning.h
1 /*********************************************************************
2 * Rice University Software Distribution License
3 *
4 * Copyright (c) 2010, Rice University
5 * All Rights Reserved.
6 *
7 * For a full description see the file named LICENSE.
8 *
9 *********************************************************************/
10 
11 /* Author: Ioan Sucan */
12 
13 #ifndef OMPLAPP_G_SE2_RIGID_BODY_PLANNING_
14 #define OMPLAPP_G_SE2_RIGID_BODY_PLANNING_
15 
16 #include "omplapp/apps/SE2RigidBodyPlanning.h"
17 #include "omplapp/graphics/RenderGeometry.h"
18 
19 namespace ompl
20 {
21  namespace app
22  {
23 
24  class GSE2RigidBodyPlanning : public SE2RigidBodyPlanning,
25  public RenderGeometry
26  {
27  public:
28 
29  GSE2RigidBodyPlanning(void) : SE2RigidBodyPlanning(),
30  RenderGeometry(*dynamic_cast<const RigidBodyGeometry*>(this), getGeometricStateExtractor())
31  {
32  }
33 
34  virtual ~GSE2RigidBodyPlanning(void)
35  {
36  }
37  };
38 
39  }
40 }
41 
42 #endif
RigidBodyGeometry(MotionModel mtype, CollisionChecker ctype)
Constructor expects a state space that can represent a rigid body.
RenderGeometry(const RigidBodyGeometry &rbg, GeometricStateExtractor se)
Constructor expects a state space that can represent a rigid body.
Main namespace. Contains everything in this library.
Definition: AppBase.h:21