#include <SIG_Environment.h>
Public Methods | |
SIG_Environment () | |
Default constructor. More... | |
SIG_Environment (DL_vector newGravity, double newYPlaneLevel, double newVeloDamping, DL_vector newStartPosition, QString newFloorMaterialName, double newGroundPlanarSpringConstant, double newGroundPlanarSpringConstant, double newGroundPlanarDamperConstant, double newGroundNormalDamperConstant, double newFrictionCoeff_u_s, double newFrictionCoeff_u_k) | |
Value constructor. More... | |
SIG_Environment (QTextStream& file) | |
File constructor. More... | |
void | writeToFile (QTextStream& file) |
Writes the Environment to a File. More... | |
void | readFromFile (QTextStream& file) |
Reads the Environment from a File. More... | |
void | setGravity (DL_vector newGravity) |
Sets the gravity. More... | |
DL_vector | getGravity () const |
Reads the gravity. More... | |
void | setVeloDamping (double newVeloDamping) |
Sets the veloDamping. More... | |
double | getVeloDamping () const |
Reads the veloDamping. More... | |
void | setYPlaneLevel (double newYPlaneLevel) |
Sets the yPlaneLevel. More... | |
double | getYPlaneLevel () const |
Reads the yPlaneLevel. More... | |
void | setStartPosition (DL_vector newStartPosition) |
Sets the startPosition. More... | |
DL_vector | getStartPosition () const |
Reads the startPositon. More... | |
void | setFloorMaterialName (QString newFloorMaterialName) |
Sets the floorMaterialName. More... | |
QString | getFloorMaterialName () const |
Reads the floorMaterialName. More... | |
void | setGroundPlanarSpringConstant (double newGroundPlanarSpringConstant) |
Sets the ground planar spring constant. More... | |
double | getGroundPlanarSpringConstant () const |
Reads the ground planar spring constant. More... | |
void | setGroundNormalSpringConstant (double newGroundNormalSpringConstant) |
Sets the ground normal spring constant. More... | |
double | getGroundNormalSpringConstant () const |
Reads the ground normal spring constant. More... | |
void | setGroundPlanarDamperConstant (double newGroundPlanarDamperConstant) |
Sets the the ground planar damper constant. More... | |
double | getGroundPlanarDamperConstant () const |
Reads the the ground planar damper constant. More... | |
void | setGroundNormalDamperConstant (double newGroundNormalDamperConstant) |
Sets the ground normal damper constant. More... | |
double | getGroundNormalDamperConstant () const |
Reads the ground normal damper constant. More... | |
void | setFrictionCoeff_u_s (double newFrictionCoeff_u_s) |
Sets the static friction coefficient. More... | |
double | getFrictionCoeff_u_s () const |
Reads the static friction coefficient. More... | |
void | setFrictionCoeff_u_k (double newFrictionCoeff_u_k) |
Sets the kinetic friction coefficient. More... | |
double | getFrictionCoeff_u_k () const |
Reads the kinetic friction coefficient. More... | |
Private Attributes | |
double | yPlaneLevel |
the storage for the zPlaneLevel. More... | |
DL_vector | gravity |
the storage for the gravity vector. More... | |
double | veloDamping |
the storage for the velo-damping. More... | |
DL_vector | startPosition |
the storage for the start position. More... | |
QString | floorMaterialName |
the storage for the material name. More... | |
double | groundPlanarSpringConstant |
the ground planar spring constant. More... | |
double | groundNormalSpringConstant |
the ground normal spring constant. More... | |
double | groundPlanarDamperConstant |
the ground planar damper constant. More... | |
double | groundNormalDamperConstant |
the ground normal damper constant. More... | |
double | frictionCoeff_u_s |
the static friction coefficient. More... | |
double | frictionCoeff_u_k |
the kinetic friction coefficient. More... |
Later on, we hope to have some objects here as obstacles. The class can read from File and write to file.
Definition at line 19 of file SIG_Environment.h.
|
Default constructor.
Definition at line 5 of file SIG_Environment.cpp. |
|
Value constructor.
Definition at line 21 of file SIG_Environment.cpp. |
|
File constructor.
Definition at line 87 of file SIG_Environment.cpp. |
|
Reads the floorMaterialName.
Definition at line 157 of file SIG_Environment.cpp. Referenced by SIGEL_Simulation::SIG_DynaMoSimulationData::SIG_DynaMoSimulationData(). |
|
Reads the kinetic friction coefficient.
Definition at line 217 of file SIG_Environment.cpp. |
|
Reads the static friction coefficient.
Definition at line 207 of file SIG_Environment.cpp. |
|
Reads the gravity.
Definition at line 125 of file SIG_Environment.cpp. Referenced by SIGEL_Simulation::SIG_DynaSystem::SIG_DynaSystem(). |
|
Reads the ground normal damper constant.
Definition at line 197 of file SIG_Environment.cpp. |
|
Reads the ground normal spring constant.
Definition at line 177 of file SIG_Environment.cpp. |
|
Reads the the ground planar damper constant.
Definition at line 187 of file SIG_Environment.cpp. |
|
Reads the ground planar spring constant.
Definition at line 167 of file SIG_Environment.cpp. |
|
Reads the startPositon.
Definition at line 149 of file SIG_Environment.cpp. |
|
Reads the veloDamping.
Definition at line 141 of file SIG_Environment.cpp. |
|
Reads the yPlaneLevel.
Definition at line 133 of file SIG_Environment.cpp. |
|
Reads the Environment from a File.
Definition at line 42 of file SIG_Environment.cpp. Referenced by SIGEL_GP::SIG_GPExperiment::loadExperiment(). |
|
Sets the floorMaterialName.
Definition at line 153 of file SIG_Environment.cpp. |
|
Sets the kinetic friction coefficient.
Definition at line 212 of file SIG_Environment.cpp. |
|
Sets the static friction coefficient.
Definition at line 202 of file SIG_Environment.cpp. |
|
Sets the gravity.
Definition at line 121 of file SIG_Environment.cpp. |
|
Sets the ground normal damper constant.
Definition at line 192 of file SIG_Environment.cpp. |
|
Sets the ground normal spring constant.
Definition at line 172 of file SIG_Environment.cpp. |
|
Sets the the ground planar damper constant.
Definition at line 182 of file SIG_Environment.cpp. |
|
Sets the ground planar spring constant.
Definition at line 162 of file SIG_Environment.cpp. |
|
Sets the startPosition.
Definition at line 145 of file SIG_Environment.cpp. |
|
Sets the veloDamping.
Definition at line 137 of file SIG_Environment.cpp. |
|
Sets the yPlaneLevel.
Definition at line 129 of file SIG_Environment.cpp. |
|
Writes the Environment to a File.
Definition at line 91 of file SIG_Environment.cpp. Referenced by SIGEL_GP::SIG_GPExperiment::saveExperiment(), and SIGEL_GP::SIG_GPPVMData::savePVMDataTransfer(). |
|
the storage for the material name.
Definition at line 258 of file SIG_Environment.h. |
|
the kinetic friction coefficient.
Definition at line 271 of file SIG_Environment.h. |
|
the static friction coefficient.
Definition at line 269 of file SIG_Environment.h. |
|
the storage for the gravity vector.
Definition at line 252 of file SIG_Environment.h. |
|
the ground normal damper constant.
Definition at line 267 of file SIG_Environment.h. |
|
the ground normal spring constant.
Definition at line 263 of file SIG_Environment.h. |
|
the ground planar damper constant.
Definition at line 265 of file SIG_Environment.h. |
|
the ground planar spring constant.
Definition at line 261 of file SIG_Environment.h. |
|
the storage for the start position.
Definition at line 256 of file SIG_Environment.h. |
|
the storage for the velo-damping.
Definition at line 254 of file SIG_Environment.h. |
|
the storage for the zPlaneLevel.
Definition at line 250 of file SIG_Environment.h. |