35 std::vector<std::shared_ptr<OpenMBV::Frame>> openMBVContactFrame;
37 std::shared_ptr<OpenMBVInteractionArrow> ombvNormalForce, ombvLongitudinalForce, ombvLateralForce, ombvOverturningMoment, ombvRollingResistanceMoment, ombvAligningMoment;
38 std::vector<std::shared_ptr<OpenMBV::Arrow>> normalForceArrow, longitudinalForceArrow, lateralForceArrow, overturningMomentArrow, rollingResistanceMomentArrow, aligningMomentArrow;
43 void init(
InitStage stage,
const InitConfigSet &config)
override;
45 void initializeUsingXML(xercesc::DOMElement *element)
override;
47 void setOpenMBVContactPoints(
const std::shared_ptr<OpenMBV::Frame> &frame) {
48 openMBVContactFrame[0]=frame;
52 void setOMBVNormalForce(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvNormalForce=arrow; }
53 void setOMBVLongitudinalForce(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvLongitudinalForce=arrow; }
54 void setOMBVLateralForce(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvLateralForce=arrow; }
55 void setOMBVOverturningMoment(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvOverturningMoment=arrow; }
56 void setOMBVRollingResistanceMoment(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvRollingResistanceMoment=arrow; }
57 void setOMBVAligningMoment(
const std::shared_ptr<OpenMBVInteractionArrow> &arrow) { ombvAligningMoment=arrow; }