Skip to content

Commit db518dd

Browse files
committed
step 4
1 parent 01c895e commit db518dd

2 files changed

Lines changed: 81 additions & 89 deletions

File tree

04_application/app.py

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,23 @@
3838
renderWindowInteractor.SetRenderWindow(renderWindow)
3939
renderWindowInteractor.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

4359
renderer.ResetCamera()
4460

@@ -51,7 +67,13 @@
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
@@ -65,6 +87,7 @@
6587
pass
6688

6789
with layout.content:
90+
# content components
6891
vuetify.VContainer(
6992
fluid=True,
7093
classes="pa-0 fill-height",

0 commit comments

Comments
 (0)