Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/VTK
/ distanceToCamera.py
File
distanceToCamera.py
Rendering/Core/Testing/Python/distanceToCamera.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
3
# This script tests the vtkDistanceToCamera algorithm
4
# The left renderer (dark background) shows polydata
Callers
nothing calls this directly
Calls
15
vtkGetDataRoot
Function · 0.90
vtkDataSetMapper
Class · 0.85
SetScalars
Method · 0.80
InsertCellPoint
Method · 0.80
SetPolys
Method · 0.80
GetActiveCamera
Method · 0.80
Render
Method · 0.65
vtkPoints
Class · 0.50
vtkFloatArray
Class · 0.50
vtkPolyData
Class · 0.50
vtkCellArray
Class · 0.50
vtkPolyDataMapper
Class · 0.50
Tested by
no test coverage detected