File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838renderWindowInteractor .SetRenderWindow (renderWindow )
3939renderWindowInteractor .GetInteractorStyle ().SetCurrentStyleToTrackballCamera ()
4040
41- # ...
41+ # Read Data
42+
43+ # Extract Array/Field information
44+
45+ # Mesh
46+ # Mesh: Setup default representation to surface
47+ # Mesh: Apply rainbow color map
48+ # Mesh: Color by default array
49+
50+ # Contour
51+ # Contour: ContourBy default array
52+ # Contour: Setup default representation to surface
53+ # Contour: Apply rainbow color map
54+ # Contour: Color by default array
55+
56+ # Cube Axes
57+ # Cube Axes: Boundaries, camera, and styling
4258
4359renderer .ResetCamera ()
4460
5167# Views
5268# -----------------------------------------------------------------------------
5369
54- html_view = vtk .VtkLocalView (renderWindow )
70+ local_view = vtk .VtkLocalView (renderWindow )
71+ remote_view = vtk .VtkRemoteView (renderWindow , interactive_ratio = (1 ,))
72+ html_view = local_view
73+
74+ # -----------------------------------------------------------------------------
75+ # GUI elements
76+ # -----------------------------------------------------------------------------
5577
5678# -----------------------------------------------------------------------------
5779# GUI
6587 pass
6688
6789with layout .content :
90+ # content components
6891 vuetify .VContainer (
6992 fluid = True ,
7093 classes = "pa-0 fill-height" ,
You can’t perform that action at this time.
0 commit comments