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

Method IncrementPan

source/visualization/management/src/G4ViewParameters.cc:278–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void G4ViewParameters::IncrementPan (G4double right, G4double up) {
279 IncrementPan (right,up, 0);
280}
281
282void G4ViewParameters::IncrementPan (G4double right, G4double up, G4double distance) {
283 G4Vector3D unitRight = (fUpVector.cross (fViewpointDirection)).unit();

Callers 6

SetShiftMethod · 0.80
G4MousePressEventMethod · 0.80
moveSceneMethod · 0.80
ZoomFromMouseWheelMethod · 0.80
SetNewValueMethod · 0.80
mouse_moveMethod · 0.80

Calls 2

unitMethod · 0.80
crossMethod · 0.45

Tested by

no test coverage detected