MCPcopy Create free account
hub / github.com/Kitware/ParaView / __init__

Method __init__

Web/Python/paraview/web/protocols.py:1330–1337  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1328
1329class ParaViewWebTimeHandler(ParaViewWebProtocol):
1330 def __init__(self, **kwargs):
1331 super(ParaViewWebTimeHandler, self).__init__()
1332 # setup animation scene
1333 self.scene = simple.GetAnimationScene()
1334 simple.GetTimeTrack()
1335 self.scene.PlayMode = "Snap To TimeSteps"
1336 self.playing = False
1337 self.playTime = 0.1 # Time in second
1338
1339 def nextPlay(self):
1340 self.updateTime("next")

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
GetAnimationSceneMethod · 0.45

Tested by

no test coverage detected