MBSim Kernel C++ API
4.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
mbsim
observers
cylinder_coordinates_observer.h
1
/* Copyright (C) 2004-2016 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@gmail.com
18
*/
19
20
#ifndef _CYLINDER_COORDINATES_OBSERVER_H__
21
#define _CYLINDER_COORDINATES_OBSERVER_H__
22
23
#include "mbsim/observers/coordinates_observer.h"
24
25
namespace
MBSim {
26
27
class
CylinderCoordinatesObserver
:
public
CoordinatesObserver
{
28
private
:
29
fmatvec::Vec3 ez;
30
std::shared_ptr<OpenMBV::Arrow> openMBVRadialPosition, openMBVZPosition, openMBVRadialVelocity, openMBVCircularVelocity, openMBVZVelocity, openMBVRadialAcceleration, openMBVCircularAcceleration, openMBVZAcceleration;
31
32
public
:
33
CylinderCoordinatesObserver
(
const
std::string &
name
=
""
);
34
35
void
init
(
InitStage
stage);
36
virtual
void
plot
();
37
};
38
39
}
40
41
#endif
MBSim::CoordinatesObserver
Definition:
coordinates_observer.h:31
MBSim::CylinderCoordinatesObserver::plot
virtual void plot()
plots time dependent data
Definition:
cylinder_coordinates_observer.cc:99
MBSim::CylinderCoordinatesObserver
Definition:
cylinder_coordinates_observer.h:27
MBSim::Element::InitStage
InitStage
The stages of the initialization.
Definition:
element.h:97
MBSim::CylinderCoordinatesObserver::init
void init(InitStage stage)
plots time series header
Definition:
cylinder_coordinates_observer.cc:41
MBSim::Element::name
std::string name
name of element
Definition:
element.h:298
Impressum
/
Disclaimer
/
Datenschutz
Generated by
doxygen
1.8.5