AnimatLab  2
Test
VsConstraintRelaxation.h
1 // VsConstraintRelaxation.h: interface for the VsConstraintRelaxation class.
2 //
4 #pragma once
5 
6 namespace VortexAnimatSim
7 {
8  namespace Environment
9  {
10 
12  {
13  protected:
15  float m_fltLoss;
16 
17  virtual void SetRelaxationProperties();
18 
19  public:
21  virtual ~VsConstraintRelaxation();
22 
23  virtual float Loss();
24  virtual void Loss(float fltVal, bool bUseScaling = true);
25 
26  virtual void Initialize();
27 
28  virtual void CreateDefaultUnits();
29  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
30  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
31 
32  virtual void Load(CStdXml &oXml);
33  };
34 
35  } // Visualization
36 } //VortexAnimatSim
float m_fltLoss
The primary linear slip of the collision between those two materials.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.