SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
CTaoRepCreator.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 CTaoRepCreator.hpp
24  *
25  * Created on: May 11, 2010
26  *
27  * Copyright (C) 2010
28  *
29  * Author: Samir Menon <smenon@stanford.edu>
30  */
31 
32 #ifndef CTAOREPCREATOR_HPP_
33 #define CTAOREPCREATOR_HPP_
34 
35 #include <scl/DataTypes.hpp>
36 
37 #include <scl/parser/CParserBase.hpp>
38 #include <scl/data_structs/SRigidBody.hpp>
39 
40 #include <scl/dynamics/tao/tao/dynamics/taoNode.h>
41 
42 namespace scl {
43 
50  {
53  public:
56 
69  static taoNodeRoot* taoRootRepCreator(const SRobotParsed& arg_robot);
70 
71  private:
72 
75  static bool createChildTaoNodes(const SRigidBody* arg_link,
76  taoNode* arg_parent);
77 
80  static taoNode* createTaoNonRootNode(const SRigidBody* arg_link,
81  const taoNode* arg_parent_node);
82  };
83 
84 }
85 
86 #endif //CTAOREPCREATOR_HPP_
node class for articulated body dynamicsThis implements taoDNode for articulated body dynamics...
Definition: taoNode.h:42
static bool createChildTaoNodes(const SRigidBody *arg_link, taoNode *arg_parent)
Definition: CTaoRepCreator.cpp:132
Definition: SRobotParsed.hpp:51
Definition: SRigidBody.hpp:94
root node class for articulated body dynamicsThis implements taoDNode for root node of a articulated ...
Definition: taoNode.h:147
static taoNode * createTaoNonRootNode(const SRigidBody *arg_link, const taoNode *arg_parent_node)
Definition: CTaoRepCreator.cpp:182
CTaoRepCreator()
Definition: CTaoRepCreator.hpp:52
static taoNodeRoot * taoRootRepCreator(const SRobotParsed &arg_robot)
Definition: CTaoRepCreator.cpp:64
~CTaoRepCreator()
Definition: CTaoRepCreator.hpp:55
Definition: CTaoRepCreator.hpp:49