23 #include "mbsim/contours/rigid_contour.h"
24 #include "mbsim/utils/boost_parameters.h"
25 #include <mbsim/utils/openmbv_utils.h>
26 #include <openmbvcppinterface/bevelgear.h>
45 void init(
InitStage stage,
const InitConfigSet &config)
override;
49 void setNumberOfTeeth(
int N_) { N = N_; }
50 int getNumberOfTeeth() {
return N; }
51 void setWidth(
double w_) { w = w_; }
52 double getWidth() {
return w; }
53 void setHelixAngle(
double be_) { be = be_; }
54 double getHelixAngle() {
return be; }
55 void setPitchAngle(
double ga_) { ga = ga_; }
56 double getPitchAngle() {
return ga; }
57 void setModule(
double m_) { m = m_; }
58 double getModule() {
return m; }
59 void setPressureAngle(
double al_) { al = al_; }
60 double getPressureAngle() {
return al; }
61 void setBacklash(
double b_) { b = b_; }
62 double getBacklash() {
return b; }
65 BOOST_PARAMETER_MEMBER_FUNCTION( (
void), enableOpenMBV, tag, (optional (diffuseColor,(
const fmatvec::Vec3&),
"[-1;1;1]")(transparency,(
double),0)(pointSize,(
double),0)(lineWidth,(
double),0))) {
70 void initializeUsingXML(xercesc::DOMElement *element)
override;
78 double al{0.349065850398866};
basic class for rigid contours
Definition: rigid_contour.h:37
~BevelGear() override=default
destructor
bevel gear contour
Definition: bevel_gear.h:34
RigidContour(const std::string &name, Frame *R_=nullptr)
constructor
Definition: rigid_contour.h:43
Definition: openmbv_utils.h:49
InitStage
The stages of the initialization.
Definition: element.h:62
std::string name
name of element
Definition: element.h:235
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:39
void init(InitStage stage, const InitConfigSet &config) override
plots time series header
Definition: bevel_gear.cc:33
Frame * R
coordinate system of contour
Definition: rigid_contour.h:130