23 #include "mbsim/contours/compound_contour.h"
25 #include "mbsim/utils/boost_parameters.h"
26 #include <mbsim/utils/openmbv_utils.h>
48 void setXLength(
double l_) {
l = l_; }
49 void setYLength(
double d_) { d = d_; }
50 void setZLength(
double h_) { h = h_; }
55 BOOST_PARAMETER_MEMBER_FUNCTION( (
void), enableOpenMBV, tag, (optional (diffuseColor,(
const fmatvec::Vec3&),
"[-1;1;1]")(transparency,(
double),0))) {
56 OpenMBVCuboid ombv(fmatvec::Vec3(),diffuseColor,transparency);
57 openMBVRigidBody=ombv.createOpenMBV();
int gridSize
grid size
Definition: room.h:74
contour consisting of primitive contour elements
Definition: compound_contour.h:34
bool enable
enable openMBV output
Definition: room.h:69
Room with 6 faces pointing inwards.
Definition: room.h:33
std::string getType() const
Definition: room.h:42
InitStage
The stages of the initialization.
Definition: element.h:97
virtual void plot()
plots time dependent data
Definition: room.cc:116
std::string name
name of element
Definition: element.h:298
double l
length, height and depth of room
Definition: room.h:64
void init(InitStage stage)
plots time series header
Definition: room.cc:39
Room(const std::string &name)
constructor
Definition: room.cc:33