mbsimflexiblebody  4.0.0
MBSim Flexible Body Module
1s_neutral_reference_curve.h
1/* Copyright (C) 2004-2015 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 * Created on: Aug 26, 2014
18 * Contact: kilian.grundl@gmail.com
19 */
20
21#ifndef CONTOUR_1S_NEUTRAL_REFERENCE_CURVE_H_
22#define CONTOUR_1S_NEUTRAL_REFERENCE_CURVE_H_
23
24#include "mbsimFlexibleBody/pointer.h"
25#include <mbsimFlexibleBody/contours/contour_1s_neutral_factory.h>
26#include <mbsimFlexibleBody/contours/nc/ncc/nurbs_velocity_1s.h>
27#include <mbsimFlexibleBody/contours/nc/ncc/nurbs_position_1s.h>
28#include <mbsimFlexibleBody/contours/nc/ncc/nurbs_angle_1s.h>
29#include <mbsimFlexibleBody/contours/nc/ncc/nurbs_dotangle_1s.h>
30
31namespace MBSimFlexibleBody {
32
38 public:
39 Contour1sNeutralFlexibleBody1SReferenceCurve(const std::string &name_);
41 void init(InitStage stage, const MBSim::InitConfigSet &config) override;
42// virtual void updateKinematicsForFrame(MBSim::ContourPointData &cp, MBSim::Frame::Feature ff);
43// virtual void updateJacobiansForFrame(MBSim::ContourPointData &cp, int j = 0);
44 MBSim::ContactKinematics * findContactPairingWith(const std::type_info &type0, const std::type_info &type1) override;
45
46 double getuMax() const {
47 return uMax;
48 }
49
50 double getuMin() const {
51 return uMin;
52 }
53
54 };
55
56} /* namespace TUM3D */
57#endif
Definition: contour_1s_neutral_factory.h:20
double uMin
starting parameter of the contour descriptions
Definition: contour_1s_neutral_factory.h:41
double uMax
ending parameter of the contour description
Definition: contour_1s_neutral_factory.h:46
class that sets up the neutral contour for the body FlexibleBody1SReferenceCurve Not that as interfac...
Definition: 1s_neutral_reference_curve.h:37