(wp, patch_vtk)
| 240 | |
| 241 | |
| 242 | def test_camera_position(wp, patch_vtk): |
| 243 | |
| 244 | show(wp, position=(0, 0, 1), focus=(0, 0.1, 0)) |
| 245 | show(wp, focus=(0, 0.1, 0)) |
| 246 | show(wp, position=(0, 0, 1)) |
| 247 | |
| 248 | # Specify Z up |
| 249 | show(wp, viewup=(0, 0, 1), position=(0, -1, 0), focus=(0, 0.1, 0)) |
| 250 | show(wp, focus=(0, 0.1, 0)) |
| 251 | show(wp, position=(0, -1, 0)) |
| 252 | show(wp, viewup=(0, 0, 1)) |
| 253 | |
| 254 | |
| 255 | def test_frustrum_clipping_range(wp, patch_vtk): |