HomeSort by relevance Sort by last modified time
    Searched refs:dof (Results 1 - 9 of 9) sorted by null

  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
btMultiBodyLink.h 97 void setAxisTop(int dof, const btVector3 &axis) { m_axes[dof].m_topVec = axis; }
98 void setAxisBottom(int dof, const btVector3 &axis) { m_axes[dof].m_bottomVec = axis; }
99 void setAxisTop(int dof, const btScalar &x, const btScalar &y, const btScalar &z) { m_axes[dof].m_topVec.setValue(x, y, z); }
100 void setAxisBottom(int dof, const btScalar &x, const btScalar &y, const btScalar &z) { m_axes[dof].m_bottomVec.setValue(x, y, z); }
101 const btVector3 & getAxisTop(int dof) const { return m_axes[dof].m_topVec;
    [all...]
btMultiBodyConstraint.h 112 void internalSetAppliedImpulse(int dof, btScalar appliedImpulse)
114 btAssert(dof>=0);
115 btAssert(dof < getNumRows());
116 m_data[dof] = appliedImpulse;
119 btScalar getAppliedImpulse(int dof)
121 btAssert(dof>=0);
122 btAssert(dof < getNumRows());
123 return m_data[dof];
btMultiBody.cpp 363 m_vectorBuf.resize(2 * m_dofCount); //two 3-vectors (i.e. one six-vector) for each system dof ("h" matrices)
435 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof)
436 m_realBuf[6 + m_links[i].m_dofOffset + dof] = qdot[dof];
616 void btMultiBody::addJointTorqueMultiDof(int i, int dof, btScalar Q)
618 m_links[i].m_jointTorque[dof] += Q;
623 for(int dof = 0; dof < m_links[i].m_dofCount; ++dof
    [all...]
btMultiBody.h 312 void addJointTorqueMultiDof(int i, int dof, btScalar Q);
407 for (int dof = 0; dof < 6 + getNumDofs(); ++dof)
409 m_deltaV[dof] += delta_vee[dof] * multiplier;
416 for (int dof = 0; dof < 6 + getNumDofs(); ++dof)
418 m_deltaV[dof] = 0.f
    [all...]
btMultiBodyDynamicsWorld.cpp 546 for(int dof = 0; dof < bod->getLink(link).m_posVarCount; ++dof)
547 scratch_q0[7 + bod->getLink(link).m_cfgOffset + dof] = bod->getLink(link).m_jointPos[dof];
550 for(int dof = 0; dof < numDofs; ++dof)
551 scratch_qd0[dof] = bod->getVelocityVector()[dof];
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
btGeneric6DofSpringConstraint.h 34 /// Generic 6 DOF constraint that allows to set spring motors to any translational and rotational DOF
36 /// DOF index used in enableSpring() and setStiffness() means:
62 void setEquilibriumPoint(); // set the current constraint position/orientation as an equilibrium point for all DOF
63 void setEquilibriumPoint(int index); // set the current constraint position/orientation as an equilibrium point for given DOF
106 btGeneric6DofSpringConstraintData2* dof = (btGeneric6DofSpringConstraintData2*)dataBuffer; local
107 btGeneric6DofConstraint::serialize(&dof->m_6dofData,serializer);
112 dof->m_equilibriumPoint[i] = m_equilibriumPoint[i];
113 dof->m_springDamping[i] = m_springDamping[i];
114 dof->m_springEnabled[i] = m_springEnabled[i]? 1 : 0
    [all...]
btGeneric6DofSpring2Constraint.h 20 - Stable and accurate spring with minimal energy loss that works with all of the solvers. (latter is not true for the original 6dof spring)
26 - It is slower than the original 6dof. There is no exact ratio, but half speed is a good estimation.
484 void setEquilibriumPoint(); // set the current constraint position/orientation as an equilibrium point for all DOF
485 void setEquilibriumPoint(int index); // set the current constraint position/orientation as an equilibrium point for given DOF
598 btGeneric6DofSpring2ConstraintData2* dof = (btGeneric6DofSpring2ConstraintData2*)dataBuffer; local
599 btTypedConstraint::serialize(&dof->m_typeConstraintData,serializer);
601 m_frameInA.serialize(dof->m_rbAFrame);
602 m_frameInB.serialize(dof->m_rbBFrame);
607 dof->m_angularLowerLimit.m_floats[i] = m_angularLimits[i].m_loLimit;
608 dof->m_angularUpperLimit.m_floats[i] = m_angularLimits[i].m_hiLimit
    [all...]
btGeneric6DofConstraint.h 614 btGeneric6DofConstraintData2* dof = (btGeneric6DofConstraintData2*)dataBuffer; local
615 btTypedConstraint::serialize(&dof->m_typeConstraintData,serializer);
617 m_frameInA.serialize(dof->m_rbAFrame);
618 m_frameInB.serialize(dof->m_rbBFrame);
624 dof->m_angularLowerLimit.m_floats[i] = m_angularLimits[i].m_loLimit;
625 dof->m_angularUpperLimit.m_floats[i] = m_angularLimits[i].m_hiLimit;
626 dof->m_linearLowerLimit.m_floats[i] = m_linearLimits.m_lowerLimit[i];
627 dof->m_linearUpperLimit.m_floats[i] = m_linearLimits.m_upperLimit[i];
630 dof->m_useLinearReferenceFrameA = m_useLinearReferenceFrameA? 1 : 0;
631 dof->m_useOffsetForConstraintFrame = m_useOffsetForConstraintFrame ? 1 : 0
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
btWorldImporter.cpp 613 btGeneric6DofSpringConstraint* dof = 0; local
620 dof = createGeneric6DofSpringConstraint(*rbA,*rbB,rbAFrame,rbBFrame,dofData->m_6dofData.m_useLinearReferenceFrameA!=0);
626 if (dof)
635 dof->setAngularLowerLimit(angLowerLimit);
636 dof->setAngularUpperLimit(angUpperLimit);
637 dof->setLinearLowerLimit(linLowerLimit);
638 dof->setLinearUpperLimit(linUpperlimit);
645 dof->setStiffness(i,(btScalar)dofData->m_springStiffness[i]);
646 dof->setEquilibriumPoint(i,(btScalar)dofData->m_equilibriumPoint[i]);
647 dof->enableSpring(i,dofData->m_springEnabled[i]!=0)
660 btGeneric6DofConstraint* dof = 0; local
832 btGeneric6DofSpringConstraint* dof = 0; local
878 btGeneric6DofConstraint* dof = 0; local
964 btGeneric6DofSpring2Constraint* dof = 0; local
1020 btGeneric6DofSpring2Constraint* dof = 0; local
1161 btGeneric6DofSpringConstraint* dof = 0; local
1207 btGeneric6DofConstraint* dof = 0; local
1294 btGeneric6DofSpring2Constraint* dof = 0; local
1350 btGeneric6DofSpring2Constraint* dof = 0; local
1889 btGeneric6DofConstraint* dof = new btGeneric6DofConstraint(rbA,rbB,frameInA,frameInB,useLinearReferenceFrameA); local
1896 btGeneric6DofConstraint* dof = new btGeneric6DofConstraint(rbB,frameInB,useLinearReferenceFrameB); local
1903 btGeneric6DofSpring2Constraint* dof = new btGeneric6DofSpring2Constraint(rbA,rbB,frameInA,frameInB, (RotateOrder)rotateOrder); local
1912 btGeneric6DofSpringConstraint* dof = new btGeneric6DofSpringConstraint(rbA,rbB,frameInA,frameInB,useLinearReferenceFrameA); local
    [all...]

Completed in 424 milliseconds