1 #ifndef US_SIM_PARAMS_H
3 #define US_SIM_PARAMS_H
34 QString =
"", QString =
"");
49 void setHardware(
US_DB2* = NULL, QString =
"0",
int = 0,
int = 0 );
56 void setHardware( QString =
"0",
int = 0,
int = 0 );
62 int load_simparms( QString );
68 int save_simparms( QString );
89 static int readSpeedSteps( QString, QString, QVector< SpeedProfile >& );
94 static void computeSpeedSteps( QVector< US_DataIO::Scan >*, QVector< SpeedProfile >& );
99 static void speedstepFromXml( QXmlStreamReader&, SpeedProfile& );
104 static void speedstepToXml( QXmlStreamWriter&, SpeedProfile* );
111 static int speedstepsFromDB(
US_DB2*,
int, QVector< SpeedProfile >& );
118 static int speedstepToDB(
US_DB2*,
int, SpeedProfile* );
125 QVector< double > mesh_radius;
134 QVector< SpeedProfile > speed_step;
153 double bottom_position;
156 double rotorcoeffs[ 2 ];