--------------------------------------------------------------------
| 158 | |
| 159 | // -------------------------------------------------------------------- |
| 160 | void G4UIcmdWith3VectorAndUnit::SetParameterName(const char* theNameX, const char* theNameY, |
| 161 | const char* theNameZ, G4bool omittable, |
| 162 | G4bool currentAsDefault) |
| 163 | { |
| 164 | G4UIparameter* theParamX = GetParameter(0); |
| 165 | theParamX->SetParameterName(theNameX); |
| 166 | theParamX->SetOmittable(omittable); |
| 167 | theParamX->SetCurrentAsDefault(currentAsDefault); |
| 168 | G4UIparameter* theParamY = GetParameter(1); |
| 169 | theParamY->SetParameterName(theNameY); |
| 170 | theParamY->SetOmittable(omittable); |
| 171 | theParamY->SetCurrentAsDefault(currentAsDefault); |
| 172 | G4UIparameter* theParamZ = GetParameter(2); |
| 173 | theParamZ->SetParameterName(theNameZ); |
| 174 | theParamZ->SetOmittable(omittable); |
| 175 | theParamZ->SetCurrentAsDefault(currentAsDefault); |
| 176 | } |
| 177 | |
| 178 | // -------------------------------------------------------------------- |
| 179 | void G4UIcmdWith3VectorAndUnit::SetDefaultValue(const G4ThreeVector& vec) |
no test coverage detected