MCPcopy Create free account
hub / github.com/Kitware/VeloView / resetCameraToForwardView

Function resetCameraToForwardView

Application/Ui/python/lidarview/applogic.py:1172–1179  ·  view source on GitHub ↗
(view=None)

Source from the content-addressed store, hash-verified

1170
1171
1172def resetCameraToForwardView(view=None):
1173
1174 view = view or app.mainView
1175 view.CameraFocalPoint = [0,0,0]
1176 view.CameraViewUp = [0, 0.27, 0.96]
1177 view.CameraPosition = [0, -72, 18.0]
1178 view.CenterOfRotation = [0, 0, 0]
1179 smp.Render(view)
1180
1181
1182def saveScreenshot(filename):

Callers 2

closeFunction · 0.85
startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected