MBSim Flexible Body Module C++ API
4.0.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
mbsimFlexibleBody
frames
node_frame.h
1
/* Copyright (C) 2004-2014 MBSim Development Team
2
*
3
* This library is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU Lesser General Public
5
* License as published by the Free Software Foundation; either
6
* version 2.1 of the License, or (at your option) any later version.
7
*
8
* This library is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library; if not, write to the Free Software
15
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
*
17
* Contact: martin.o.foerg@googlemail.com
18
*/
19
20
#ifndef _NODE_FRAME_H__
21
#define _NODE_FRAME_H__
22
23
#include "mbsim/frames/frame.h"
24
#include "mbsim/utils/index.h"
25
26
namespace
MBSimFlexibleBody {
27
32
class
NodeFrame
:
public
MBSim::Frame
{
33
34
public
:
35
NodeFrame
(
const
std::string &name =
"dummy"
, MBSim::Index node_ = 0) : Frame(name),
node
(node_) { }
36
37
std::string getType()
const
{
return
"NodeFrame"
; }
38
39
void
setNodeNumber(MBSim::Index node_) {
node
= node_; }
40
MBSim::Index getNodeNumber()
const
{
return
node
; }
41
42
void
updatePositions();
43
void
updateVelocities();
44
void
updateAccelerations();
45
void
updateJacobians(
int
j=0);
46
void
updateGyroscopicAccelerations();
47
48
virtual
void
initializeUsingXML(xercesc::DOMElement *element);
49
50
protected
:
54
MBSim::Index
node
;
55
};
56
57
}
58
59
#endif
MBSimFlexibleBody::NodeFrame::node
MBSim::Index node
node number of the frame
Definition:
node_frame.h:54
MBSim::Frame
MBSimFlexibleBody::NodeFrame
cartesian frame on nodes of flexible bodies
Definition:
node_frame.h:32
Impressum
/
Disclaimer
/
Datenschutz
Generated by
doxygen
1.8.5
Home