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

Function toggleProjectionType

Application/Ui/python/lidarview/applogic.py:1497–1510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1495 smp.Render()
1496
1497def toggleProjectionType():
1498
1499 view = app.mainView
1500
1501 view.CameraParallelProjection = not view.CameraParallelProjection
1502 if app.actions['actionMeasure'].isChecked():
1503 app.actions['actionMeasure'].trigger()
1504 app.actions['actionMeasure'].toggle()
1505
1506 app.actions['actionMeasure'].setEnabled(view.CameraParallelProjection)
1507 if not view.CameraParallelProjection:
1508 app.actions['actionMeasure'].setChecked(False)
1509
1510 smp.Render(app.mainView)
1511
1512def toggleRPM():
1513 rpm = smp.FindSource("RPM")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected