20 #ifndef _COMPOUND_CONTOUR_H_
21 #define _COMPOUND_CONTOUR_H_
23 #include "mbsim/contours/rigid_contour.h"
27 class FixedRelativeFrame;
49 return "CompoundContour";
52 std::shared_ptr<OpenMBV::Group> getOpenMBVGrp() {
return openMBVGroup; }
56 Contour* getContourElement(
int i) {
61 void addFrame(FixedRelativeFrame* f);
62 unsigned int getNumberOfElements() {
return element.size(); }
75 std::vector<FixedRelativeFrame*>
frame;
80 std::vector<fmatvec::SqrMat3>
AIK;
82 std::shared_ptr<OpenMBV::Group> openMBVGroup;
CompoundContour(const std::string &name="", Frame *R=0)
constructor
Definition: compound_contour.cc:31
basic class for rigid contours
Definition: rigid_contour.h:37
contour consisting of primitive contour elements
Definition: compound_contour.h:34
RigidContour(const std::string &name, Frame *R_=NULL)
constructor
Definition: rigid_contour.h:43
virtual void plot()
plots time dependent data
Definition: compound_contour.cc:48
void init(InitStage stage)
plots time series header
Definition: compound_contour.cc:59
std::vector< fmatvec::SqrMat3 > AIK
Orientations of the single elements in the contour frame.
Definition: compound_contour.h:80
std::vector< RigidContour * > element
list of all subelements
Definition: compound_contour.h:70
Contour(const std::string &name)
constructor
Definition: contour.cc:30
InitStage
The stages of the initialization.
Definition: element.h:97
std::vector< FixedRelativeFrame * > frame
List of all frames on the contour.
Definition: compound_contour.h:75
std::string name
name of element
Definition: element.h:298
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:37
~CompoundContour()
destructor
Definition: compound_contour.cc:36
Frame * R
coordinate system of contour
Definition: rigid_contour.h:88
std::string getType() const
Definition: compound_contour.h:48