44 void setHingeCompliance(
agx::Real compliance );
57 void setHingeComplianceTranslational(
agx::Real compliance );
63 void setHingeComplianceRotational(
agx::Real compliance );
74 void setHingeDamping(
agx::Real damping );
87 void setHingeDampingTranslational(
agx::Real damping);
93 void setHingeDampingRotational(
agx::Real damping);
105 void setEnableHingeRange(
agx::Bool enable );
131 void setEnableOnInitializeMergeNodesToWheels(
agx::Bool enable );
136 agx::Bool getEnableOnInitializeMergeNodesToWheels()
const;
144 void setEnableOnInitializeTransformNodesToWheels(
agx::Bool enable );
149 agx::Bool getEnableOnInitializeTransformNodesToWheels()
const;
155 void setTransformNodesToWheelsOverlap(
agx::Real overlap );
160 agx::Real getTransformNodesToWheelsOverlap()
const;
170 void setNodesToWheelsMergeThreshold(
agx::Real mergeThreshold );
175 agx::Real getNodesToWheelsMergeThreshold()
const;
185 void setNodesToWheelsSplitThreshold(
agx::Real splitThreshold );
190 agx::Real getNodesToWheelsSplitThreshold()
const;
198 void setNumNodesIncludedInAverageDirection(
agx::UInt numIncludedNodes );
203 agx::UInt getNumNodesIncludedInAverageDirection()
const;
212 void setMinStabilizingHingeNormalForce(
agx::Real minNormalForce );
217 agx::Real getMinStabilizingHingeNormalForce()
const;
226 void setStabilizingHingeFrictionParameter(
agx::Real frictionParameter );
231 agx::Real getStabilizingHingeFrictionParameter()
const;
236 void resetToDefault();
242 void updateComplianceDamping(
agx::Hinge& hinge )
const;
250 ON_INITIALIZE_MERGE_NODES_TO_WHEELS = 1 << 0,
251 ON_INITIALIZE_TRANSFORM_NODES_TO_WHEELS = 1 << 1,
252 HINGE_RANGE_ENABLED = 1 << 2,
254 using Flags = agx::BitState<FlagsEnum, agx::UInt32>;
285 return m_hingeCompliance[ (
agx::UInt)std::max<int>( dof, 0 ) ];
290 return m_hingeDamping[ (
agx::UInt)std::max<int>( dof, 0 ) ];