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

Method AddSphere

Rendering/Tk/Testing/Python/TestTextActor3D.py:72–82  ·  view source on GitHub ↗
(ren)

Source from the content-addressed store, hash-verified

70 self.root.quit()
71
72 def AddSphere(ren):
73 objSource = vtkSphereSource()
74
75 objMapper = vtkPolyDataMapper()
76 objMapper.SetInputConnection(objSource.GetOutputPort())
77
78 objActor = vtkActor()
79 objActor.SetMapper(objMapper)
80 objActor.GetProperty().SetRepresentationToWireframe()
81
82 ren.AddActor(objActor)
83
84 def AddOneTextActor(baseTextProp):
85 name = "ia"

Callers

nothing calls this directly

Calls 8

vtkSphereSourceClass · 0.50
vtkPolyDataMapperClass · 0.50
vtkActorClass · 0.50
SetInputConnectionMethod · 0.45
GetOutputPortMethod · 0.45
SetMapperMethod · 0.45
GetPropertyMethod · 0.45
AddActorMethod · 0.45

Tested by

no test coverage detected