MCPcopy Create free account
hub / github.com/Kitware/VTK / create_cylindrical_camera

Function create_cylindrical_camera

Web/Python/vtkmodules/web/camera.py:631–640  ·  view source on GitHub ↗
(renderer, dataHandler, phiValues, translationValues)

Source from the content-addressed store, hash-verified

629
630
631def create_cylindrical_camera(renderer, dataHandler, phiValues, translationValues):
632 camera = renderer.GetActiveCamera()
633 return CylindricalCamera(
634 dataHandler,
635 camera.GetFocalPoint(),
636 camera.GetPosition(),
637 camera.GetViewUp(),
638 phiValues,
639 translationValues,
640 )

Callers 1

startMethod · 0.90

Calls 4

CylindricalCameraClass · 0.85
GetActiveCameraMethod · 0.80
GetViewUpMethod · 0.80
GetPositionMethod · 0.45

Tested by

no test coverage detected