SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
CRepCreator3d.hpp
1 /* This file is part of scl, a control and simulation library
2 for robots and biomechanical models.
3 
4 scl is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 3 of the License, or (at your option) any later version.
8 
9 Alternatively, you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 scl is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public
20 License and a copy of the GNU General Public License along with
21 scl. If not, see <http://www.gnu.org/licenses/>.
22  */
23 /* \file CRepCreator3d.hpp
24  *
25  * Created on: Jun 21, 2013
26  *
27  * Copyright (C) 2013
28  *
29  * Author: Samir Menon <smenon@stanford.edu>
30  */
31 
32 #ifndef CREPCREATOR3D_HPP_
33 #define CREPCREATOR3D_HPP_
34 
35 #include <scl/DataTypes.hpp>
36 
37 #include <scl/data_structs/SRobotParsed.hpp>
38 #include <scl/data_structs/SRigidBody.hpp>
39 
40 class cDynamicBase;
41 class cDynamicLink;
42 class cDynamicWorld;
43 
44 namespace scl_ext {
45 
52  {
53  public:
56  CRepCreator3d(const CRepCreator3d& arg){}
59 
72  cDynamicBase* c3dRootRepCreator(const scl::SRobotParsed& arg_robot);
73 
74  cDynamicWorld * cdw;
75 
76 
77  private:
78 
79 
82  bool createChild3dNodes(const scl::SRigidBody* arg_link,
83  cDynamicLink* arg_parent_node,
84  cDynamicBase* arg_base);
85 
88  cDynamicLink* create3dNonRootNode(const scl::SRigidBody* arg_link,
89  cDynamicLink* arg_parent_node,
90  cDynamicBase *base_obj);
91 
92  };
93 
94 }
95 
96 #endif //CREPCREATOR3D_HPP_
Definition: SRobotParsed.hpp:51
CRepCreator3d()
Definition: CRepCreator3d.hpp:55
Definition: SRigidBody.hpp:94
bool createChild3dNodes(const scl::SRigidBody *arg_link, cDynamicLink *arg_parent_node, cDynamicBase *arg_base)
Definition: CRepCreator3d.cpp:200
Definition: CRepCreator3d.hpp:51
cDynamicLink * create3dNonRootNode(const scl::SRigidBody *arg_link, cDynamicLink *arg_parent_node, cDynamicBase *base_obj)
Definition: CRepCreator3d.cpp:238
~CRepCreator3d()
Definition: CRepCreator3d.hpp:58
cDynamicBase * c3dRootRepCreator(const scl::SRobotParsed &arg_robot)
Definition: CRepCreator3d.cpp:65