20#ifndef _COMPOUND_CONTOUR_H_
21#define _COMPOUND_CONTOUR_H_
23#include "mbsim/contours/rigid_contour.h"
27 class FixedRelativeFrame;
49 std::shared_ptr<OpenMBV::Group> getOpenMBVGrp()
override {
return openMBVGroup; }
50 std::shared_ptr<OpenMBV::Group> getContoursOpenMBVGrp()
override {
return getOpenMBVGrp(); }
54 void init(
InitStage stage,
const InitConfigSet &config)
override;
55 Contour* getContourElement(
int i) {
61 unsigned int getNumberOfElements() {
return element.size(); }
63 void resetUpToDate()
override;
74 std::vector<FixedRelativeFrame*>
frame;
79 std::vector<fmatvec::SqrMat3>
AIK;
81 std::shared_ptr<OpenMBV::Group> openMBVGroup;
contour consisting of primitive contour elements
Definition: compound_contour.h:34
void plot() override
plots time dependent data
Definition: compound_contour.cc:46
std::vector< FixedRelativeFrame * > frame
List of all frames on the contour.
Definition: compound_contour.h:74
std::vector< RigidContour * > element
list of all subelements
Definition: compound_contour.h:69
void init(InitStage stage, const InitConfigSet &config) override
plots time series header
Definition: compound_contour.cc:57
std::vector< fmatvec::SqrMat3 > AIK
Orientations of the single elements in the contour frame.
Definition: compound_contour.h:79
CompoundContour(const std::string &name="", Frame *R=nullptr)
constructor
Definition: compound_contour.cc:31
~CompoundContour() override
destructor
Definition: compound_contour.cc:34
basic class for contour definition for rigid (which do not know about their shape) and flexible (they...
Definition: contour.h:40
InitStage
The stages of the initialization.
Definition: element.h:62
H5::GroupBase * getPlotGroup()
Definition: element.h:139
std::string name
name of element
Definition: element.h:260
cartesian frame on rigid bodies
Definition: fixed_relative_frame.h:31
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:39
basic class for rigid contours
Definition: rigid_contour.h:37
Frame * R
coordinate system of contour
Definition: rigid_contour.h:135
namespace MBSim
Definition: bilateral_constraint.cc:30