Home
last modified time | relevance | path

Searched refs:getBodySet (Results 1 – 25 of 38) sorted by relevance

12

/dports/science/opensim-core/opensim-core-4.1/OpenSim/Analyses/
H A DInducedAccelerationsSolver.cpp307 int ind = _modelCopy.getBodySet().getIndex(bodyName); in getInducedBodyAcceleration()
314 body = &_modelCopy.getBodySet()[ind]; in getInducedBodyAcceleration()
348 … int appliedToBodyIndex = getModel().getBodySet().getIndex(exf->getAppliedToBodyName()); in applyContactConstraintAccordingToExternalForces()
353 … int expressedInBodyIndex = getModel().getBodySet().getIndex(exf->getPointExpressedInBodyName()); in applyContactConstraintAccordingToExternalForces()
358 const Body &appliedToBody = getModel().getBodySet().get(appliedToBodyIndex); in applyContactConstraintAccordingToExternalForces()
359 const Body &expressedInBody = getModel().getBodySet().get(expressedInBodyIndex); in applyContactConstraintAccordingToExternalForces()
H A DInducedAccelerations.cpp407 const BodySet& modelBodySet = _model->getBodySet(); in setupStorage()
967 int appliedToBodyIndex = _model->getBodySet().getIndex(exf->getAppliedToBodyName()); in applyContactConstraintAccordingToExternalForces()
972 … int expressedInBodyIndex = _model->getBodySet().getIndex(exf->getPointExpressedInBodyName()); in applyContactConstraintAccordingToExternalForces()
977 const Body &appliedToBody = _model->getBodySet().get(appliedToBodyIndex); in applyContactConstraintAccordingToExternalForces()
978 const Body &expressedInBody = _model->getBodySet().get(expressedInBodyIndex); in applyContactConstraintAccordingToExternalForces()
H A DJointReaction.cpp317 else if (_model->getBodySet().hasComponent<Frame>(expressedIn)) in setupReactionList()
319 &_model->getBodySet().getComponent<Frame>(expressedIn); in setupReactionList()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/Dynamic_Walking_Tutorials/Dynamic_Walker_Challenge/UserFunctions/
H A DAddMillardMuscle.m49 rightShankBody = walkerModel.getBodySet().get('RightShank');
50 rightThighBody = walkerModel.getBodySet().get('RightThigh');
61 leftShankBody = walkerModel.getBodySet().get('LeftShank');
62 leftThighBody = walkerModel.getBodySet().get('LeftThigh');
H A DAddPathSpring.m47 rightShankBody = walkerModel.getBodySet().get('RightShank');
48 rightThighBody = walkerModel.getBodySet().get('RightThigh');
62 leftShankBody = walkerModel.getBodySet().get('LeftShank');
63 leftThighBody = walkerModel.getBodySet().get('LeftThigh');
H A DAddClutchedPathSpring.m47 rightShankBody = walkerModel.getBodySet().get('RightShank');
48 rightThighBody = walkerModel.getBodySet().get('RightThigh');
62 leftShankBody = walkerModel.getBodySet().get('LeftShank');
63 leftThighBody = walkerModel.getBodySet().get('LeftThigh');
H A DAddPathActuator.m44 fprintf('\t(%d) %s\n',i,char(walkerModel.getBodySet().get(i)));
55 body1 = walkerModel.getBodySet().get('LeftThigh');
60 body2 = walkerModel.getBodySet().get('LeftShank');
H A DAddExpressionPointToPointForceMagnets.m56 parentBody = walkerModel.getBodySet().get(parentBodyName);
57 childBody = walkerModel.getBodySet().get(childBodyName);
H A DAddCustomFeet.m88 leftShank= walkerModel.getBodySet().get('LeftShank');
89 rightShank = walkerModel.getBodySet().get('RightShank');
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Test/
H A DtestFrames.cpp129 const OpenSim::Body& rod1 = pendulum->getBodySet().get("rod1"); in testBody()
176 const OpenSim::Body& rod1 = pendulum->getBodySet().get("rod1"); in testPhysicalOffsetFrameOnBody()
251 const OpenSim::Body& rod1 = pendulum->getBodySet().get("rod1"); in testPhysicalOffsetFrameOnPhysicalOffsetFrame()
316 const OpenSim::Body& rod1 = pendulum->getBodySet().get("rod1"); in testPhysicalOffsetFrameOnBodySerialize()
427 const OpenSim::Body& rod2 = pendulumWFrame->getBodySet().get("rod2"); in testFilterByFrameType()
483 const OpenSim::Body& rod2 = pendulum->getBodySet().get("rod2"); in testVelocityAndAccelerationMethods()
H A DtestContactGeometry.cpp509 const auto& point = model.getBodySet().get("point"); in testIntermediateFrames()
546 model.getBodySet().get("point"), in testIntermediateFrames()
574 model.getBodySet().get("point"), in testIntermediateFrames()
H A DtestSimulationUtilities.cpp68 const Vec3 pos1 = model.getBodySet().get("ball").getPositionInGround(s); in testSimulate()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/OptimizationExample_Arm26/OutputReference/
H A DOptimizationExample.cpp88 osimModel.getBodySet().get("r_ulna_radius_hand").getMassCenter(massCenter); in objectiveFunc()
90 …osimModel.getSimbodyEngine().getVelocity(s, osimModel.getBodySet().get("r_ulna_radius_hand"), mass… in objectiveFunc()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/Plugins/AnalysisPluginExample/
H A DAnalysisPlugin_Template.cpp127 const BodySet& bodySet = _model->getBodySet(); in constructColumnLabels()
230 const BodySet& bodySet = _model->getBodySet(); in record()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Tests/Wrapping/
H A DtestWrapping.cpp706 for (int i = 0; i < osimModel.getBodySet().getSize(); ++i) { in simulateModelWithCables()
708 const WrapObjectSet& wraps = osimModel.getBodySet()[i].getWrapObjectSet(); in simulateModelWithCables()
711 …cout << "culling wrap objs from " << osimModel.getBodySet()[i].getName() << ", num wraps = " << wr… in simulateModelWithCables()
729 …cout << "finished cull from " << osimModel.getBodySet()[i].getName() << ", num wraps = " << wraps.… in simulateModelWithCables()
765 const OpenSim::Body& orgBody = osimModel.getBodySet().get(cableInfo.orgBodyName); in simulateModelWithCables()
766 const OpenSim::Body& insBody = osimModel.getBodySet().get(cableInfo.insBodyName); in simulateModelWithCables()
779 const OpenSim::Body& osBody = osimModel.getBodySet().get(oi.bodyName); in simulateModelWithCables()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Sandbox/TaskSpace/
H A DTaskBasedController.cpp55 _model->getBodySet().get(m_endEffectorBody).getMobilizedBodyIndex(), in computeForce()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Python/tests/
H A Dtest_consistent_with_jython.py41 forearm = myModel.getBodySet().get("r_ulna_radius_hand")
54 deserMyModel.getBodySet().get("r_ulna_radius_hand").getMass(),
H A Dtest_simbody.py34 assert J.nrow() == 6 * (model.getBodySet().getSize() + 1)
/dports/science/opensim-core/opensim-core-4.1/Applications/RRA/test/
H A DtestRRA.cpp67 const BodySet& bodies = adjusted_model.getBodySet(); in checkAdjustedModelCOM()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/tests/
H A DTestEditMarkers.java16 Body body = model.getBodySet().get(0); in main()
H A DTestBasics.java27 BodySet set = m.getBodySet(); in testBasics()
H A DTestEditProperties.java23 Body bdy = model.getBodySet().get("pelvis"); in main()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Tools/Test/
H A DtestExternalLoads.cpp125 OpenSim::Body &pendulum = model.getBodySet().get(model.getNumBodies()-1); in testExternalLoad()
259 auto& pendulum = model.getBodySet().get(model.getNumBodies()-1); in testExternalLoadDefaultProperties()
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/OpenSimJNI/Hooks/
H A DSimtkAnimationCallback.cpp207 BodySet *bodySet = de.getBodySet(); in getTransformsFromKinematicsEngine()
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/OptimizationExample_Arm26/
H A DOptimizationExample.cpp83 const auto& hand = osimModel.getBodySet().get("r_ulna_radius_hand"); in objectiveFunc()

12