diff --git a/examples/07_paraview/Wavelet/app.py b/examples/07_paraview/Wavelet/app.py index 32a82744..b81fd283 100644 --- a/examples/07_paraview/Wavelet/app.py +++ b/examples/07_paraview/Wavelet/app.py @@ -10,6 +10,7 @@ # Global helpers # ----------------------------------------------------------------------------- +PXM = simple.servermanager.ProxyManager() WAVELET_SCALAR_RANGE = [37.35310363769531, 276.8288269042969] @@ -18,9 +19,6 @@ def generate_contour_values(data_range, number_of_contours): return [data_range[0] + (delta * float(i)) for i in range(number_of_contours)] -PXM = simple.servermanager.ProxyManager() - - def id_to_proxy(_id): try: _id = int(_id) @@ -34,17 +32,6 @@ def id_to_proxy(_id): ) -# ----------------------------------------------------------------------------- -# FIXME -# ----------------------------------------------------------------------------- - -# with self.state as state: -# info = self.active_proxy.GetDataInformation(0) -# state.active_data_info = dict( -# points=info.GetNumberOfPoints(), cells=info.GetNumberOfCells() -# ) - - # ----------------------------------------------------------------------------- # Wavelet Application # -----------------------------------------------------------------------------