AnimaL | 
     Tutorial | 
	 Documentation | 
   
#include <massSpringEngineGUI.h>
Inheritance diagram for X3DTK::Qt::MassSpringEngineQt:

Definition at line 17 of file massSpringEngineGUI.h.
Public Slots | |
| void | setIntegrationMethod (int methodID) | 
| Set the integration method of the MassSpringSolver.   | |
| void | setMaxCGiterations (int maxvalue) | 
| Set the maximum number of conjugate gradient iterations in the implicit integration.   | |
| void | setImplicitEulerDampingRatio (float r) | 
| Set the damping ratio in implicit euler.   | |
| void | setImplicitEulerDividerThreshold (float r) | 
| Set the divider threshold in implicit euler.   | |
| void | setIsotropy (int isotropy) | 
| Set the percentage of isotropy in the implicit Euler method.   | |
| void | setMmidSubsteps (int nb) | 
| Set the number of substeps in the modified midpoint method.   | |
| void | setExponentialDamping (float value) | 
| Set the value of the exponential damping.   | |
| void | toggleExponentialDamping (bool) | 
| Toggle the use of the exponential damping.   | |
| void | toggleGravity (bool) | 
| Apply gravity.   | |
| void | setXgravity (float) | 
| Set the value of the gravity along x.   | |
| void | setYgravity (float) | 
| Set the value of the gravity along y.   | |
| void | setZgravity (float) | 
| Set the value of the gravity along z.   | |
| void | setThresholdDistance (float value) | 
| Set the value of the distance threshold.   | |
| void | setCompressed_ok (bool) | 
| Apply colour of elongated springs.   | |
| void | setElongated_ok (bool) | 
| Apply colour of compressed springs.   | |
| void | setDisplayMassSpring (bool) | 
| display the massSprings and enable the mass_spring collour check_box   | |
| void | setPointWidth (int w) | 
| change point size   | |
| void | setLineWidth (int w) | 
| change line width   | |
| void | toggleDebugInfo (bool) | 
| show debug info   | |
Signals | |
| void | changed () | 
Public Member Functions | |
| MassSpringEngineQt (AMassSpringEngine *massSpring) | |
| Constructor.   | |
| ~MassSpringEngineQt () | |
| Destructor.   | |
Protected Attributes | |
| AMassSpringEngine * | _massSpringEngine | 
      
  | 
  
      
  | 
  
| 
 Destructor. 
 Definition at line 144 of file massSpringEngineGUI.cpp.  | 
  
      
  | 
  
      
  | 
  
| 
 Apply colour of elongated springs. 
 Definition at line 265 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::set_compressed_ok(). Referenced by MassSpringEngineQt(), and setDisplayMassSpring().  | 
  
      
  | 
  
| 
 display the massSprings and enable the mass_spring collour check_box 
 Definition at line 279 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::set_displayMassSpring(), setCompressed_ok(), and setElongated_ok(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Apply colour of compressed springs. 
 Definition at line 272 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::set_elongated_ok(). Referenced by MassSpringEngineQt(), and setDisplayMassSpring().  | 
  
      
  | 
  
| 
 Set the value of the exponential damping. 
 Definition at line 211 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_exponentialDamping(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the damping ratio in implicit euler. 
 Definition at line 195 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::OdeImplicitSolver< t_Positions, t_Vector, t_Real >::setDampingRatio(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the divider threshold in implicit euler. 
 Definition at line 203 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::OdeImplicitSolver< t_Positions, t_Vector, t_Real >::setSmallDenominatorThreshold(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the integration method of the MassSpringSolver. 
 Definition at line 149 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), animal::MassSpringSolver< Points, Velocities, Inv_Masses, SpringStiffness, IndexedSprings >::getMethod(), and animal::MassSpringSolver< Points, Velocities, Inv_Masses, SpringStiffness, IndexedSprings >::setMethod(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the percentage of isotropy in the implicit Euler method. 
 Definition at line 179 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringSolver< Points, Velocities, Inv_Masses, SpringStiffness, IndexedSprings >::setIsotropy(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 change line width 
 Definition at line 297 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::set_lineWidth(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the maximum number of conjugate gradient iterations in the implicit integration. 
 Definition at line 171 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::OdeImplicitSolver< t_Positions, t_Vector, t_Real >::setMaxCGiterations(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the number of substeps in the modified midpoint method. 
 Definition at line 187 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::OdeSolver< t_Positions, t_Vector, t_Real >::setMMIDsteps(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 change point size 
 Definition at line 290 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::set_pointSize(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the value of the distance threshold. 
 Definition at line 258 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringSolver< Points, Velocities, Inv_Masses, SpringStiffness, IndexedSprings >::set_thresholdDistance(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the value of the gravity along x. 
 Definition at line 233 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::get_gravity(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_gravity(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the value of the gravity along y. 
 Definition at line 241 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::get_gravity(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_gravity(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Set the value of the gravity along z. 
 Definition at line 249 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::get_gravity(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_gravity(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 show debug info 
 Definition at line 304 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::MassSpringSolver< Points, Velocities, Inv_Masses, SpringStiffness, IndexedSprings >::set_debugInfo(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Toggle the use of the exponential damping. 
 Definition at line 219 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_useExponentialDamping(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
| 
 Apply gravity. 
 Definition at line 227 of file massSpringEngineGUI.cpp. References _massSpringEngine, changed(), and animal::PhysicalSolver< t_Positions, t_Vector, t_InvMasses, t_Real >::set_useGravity(). Referenced by MassSpringEngineQt().  | 
  
      
  | 
  
 
1.3.6