23#include "mbsim/contours/compound_contour.h"
24#include "mbsim/utils/boost_parameters.h"
25#include "mbsim/utils/openmbv_utils.h"
26#include <openmbvcppinterface/cuboid.h>
45 void initializeUsingXML(xercesc::DOMElement *
element)
override;
46 void init(
InitStage stage,
const InitConfigSet &config)
override;
50 void setLength(
const fmatvec::Vec3 &length) {
lx = length(0); ly = length(1); lz = length(2); }
51 void setLength(
double lx_,
double ly_,
double lz_) {
lx = lx_; ly = ly_; lz = lz_; }
54 BOOST_PARAMETER_MEMBER_FUNCTION( (
void), enableOpenMBV, tag, (optional (diffuseColor,(
const fmatvec::Vec3&),fmatvec::Vec3(std::vector<double>{-1,1,1}))(transparency,(
double),0)(pointSize,(
double),0)(lineWidth,(
double),0))) {
55 OpenMBVColoredBody ombv(diffuseColor,transparency,pointSize,lineWidth);
contour consisting of primitive contour elements
Definition: compound_contour.h:34
std::vector< RigidContour * > element
list of all subelements
Definition: compound_contour.h:69
Cuboid with 8 vertices, 12 edges and 6 faces.
Definition: cuboid.h:33
double lx
x-, y- and z-length of cuboid
Definition: cuboid.h:63
void init(InitStage stage, const InitConfigSet &config) override
plots time series header
Definition: cuboid.cc:39
Cuboid(const std::string &name="", const fmatvec::Vec3 &length=fmatvec::Vec3(fmatvec::INIT, 1), Frame *R=nullptr)
constructor
Definition: cuboid.h:41
InitStage
The stages of the initialization.
Definition: element.h:62
std::string name
name of element
Definition: element.h:260
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:39
Frame * R
coordinate system of contour
Definition: rigid_contour.h:135
namespace MBSim
Definition: bilateral_constraint.cc:30