MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetInitialValue

Method SetInitialValue

source/visualization/OpenGL/src/G4OpenGLXmSliderBar.cc:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void G4OpenGLXmSliderBar::SetInitialValue (G4double v)
132{
133 initial_value = int(v * std::pow(10.0, (G4double)GetDecimalPlaces()));
134 XtVaSetValues (sliderbar,
135 XmNvalue, initial_value,
136 NULL);
137
138}
139
140void G4OpenGLXmSliderBar::SetMaxValue (G4double v)
141{

Callers 3

UpdateControlPanelMethod · 0.80
SetNewValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected