Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq NameLoad ListLoad Num Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Num Assert CompareEq SubscriptLoad NameLoad Index Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assert CompareLt Call NameLoad Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assert CompareLt Call NameLoad Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A Simple test for the contour related modules.
 os.path abspath io BytesIO N/A copy N/A numpy common TestCase get_example_data TestContour N/A TestCase N/A check N/A N/A self N/A N/A N/A Do the actual testing. N/A script N/A self script N/A e N/A script engine N/A scene N/A e current_scene N/A src N/A N/A scene children N/A 0 N/A mm N/A N/A src children N/A 0 N/A cgp1 N/A N/A mm children N/A 1 N/A N/A N/A N/A cgp1 grid_plane position 15 N/A cgp2 N/A N/A mm children N/A 2 N/A N/A N/A N/A cgp2 contour filled_contours True N/A N/A N/A N/A cgp2 grid_plane axis y N/A N/A N/A N/A cgp2 grid_plane position 15 N/A iso N/A N/A mm children N/A 3 N/A ctr N/A N/A iso contour contours N/A N/A N/A iso compute_normals True N/A N/A ctr N/A 200.0 N/A rng N/A N/A N/A N/A N/A N/A iso actor mapper input point_data scalars range N/A N/A N/A rng N/A 0 200.0 N/A N/A N/A rng N/A 1 200.0 N/A cp N/A N/A mm children N/A 4 N/A ip N/A cp implicit_plane N/A N/A N/A abs N/A N/A numpy sum N/A N/A ip normal N/A 0 0 1 1e-16 N/A N/A N/A abs N/A N/A numpy sum N/A N/A ip origin N/A 0 0 5 1e-16 N/A N/A N/A N/A ip widget enabled False N/A test N/A N/A self N/A N/A N/A N/A N/A self main N/A do N/A N/A self N/A N/A N/A script N/A self script mayavi.sources.vtk_file_reader VTKFileReader mayavi.modules.outline Outline mayavi.modules.iso_surface IsoSurface mayavi.modules.contour_grid_plane ContourGridPlane mayavi.modules.scalar_cut_plane ScalarCutPlane N/A s N/A N/A self new_scene N/A r N/A VTKFileReader N/A N/A N/A r initialize N/A get_example_data heart.vtk N/A N/A N/A script add_source r N/A o N/A Outline N/A N/A N/A script add_module o N/A cgp1 N/A ContourGridPlane N/A N/A N/A script add_module cgp1 N/A N/A N/A cgp1 grid_plane position 15 N/A cgp2 N/A ContourGridPlane N/A N/A N/A cgp2 contour filled_contours True N/A N/A N/A cgp2 grid_plane axis y N/A N/A N/A cgp2 grid_plane position 15 N/A N/A N/A script add_module cgp2 N/A iso N/A IsoSurface compute_normals True N/A N/A N/A script add_module iso N/A N/A N/A iso contour contours N/A 200.0 N/A cp N/A ScalarCutPlane N/A N/A N/A script add_module cp N/A ip N/A cp implicit_plane N/A N/A ip normal N/A 0 0 1 N/A N/A ip origin N/A 0 0 5 N/A N/A N/A ip widget enabled False N/A N/A N/A N/A s scene isometric_view N/A N/A N/A self check N/A ctr N/A cgp2 contour N/A N/A cgp2 contour N/A N/A ctr __class__ N/A N/A cgp2 contour ctr N/A N/A cgp2 actor N/A N/A N/A cgp2 actor __class__ N/A N/A iso contour N/A N/A N/A iso contour __class__ N/A N/A N/A iso contour contours N/A 200.0 N/A N/A iso actor N/A N/A N/A iso actor __class__ N/A N/A iso normals N/A N/A N/A iso normals __class__ N/A ip N/A cp implicit_plane N/A N/A cp implicit_plane N/A N/A N/A cp implicit_plane __class__ N/A N/A cp implicit_plane ip N/A N/A N/A ip widget enabled False N/A N/A cp contour N/A N/A N/A cp contour __class__ N/A N/A cp cutter N/A N/A N/A cp cutter __class__ N/A N/A cp actor N/A N/A N/A cp actor __class__ N/A N/A N/A s render N/A N/A N/A self check N/A f N/A BytesIO N/A N/A f name N/A abspath test.mv2 N/A N/A N/A script save_visualization f N/A N/A N/A f seek 0 N/A engine N/A script engine N/A N/A N/A engine close_scene s N/A N/A N/A script load_visualization f N/A s N/A engine current_scene N/A N/A N/A self check N/A source N/A N/A N/A s children pop N/A N/A N/A N/A s children append source N/A cp N/A N/A N/A N/A source children N/A 0 children N/A -1 N/A N/A N/A N/A cp implicit_plane widget enabled False N/A N/A N/A self check N/A source1 N/A N/A copy deepcopy source N/A N/A N/A s children N/A 0 source1 N/A cp N/A N/A N/A N/A source1 children N/A 0 children N/A -1 N/A N/A N/A N/A cp implicit_plane widget enabled False N/A N/A N/A self check N/A do_profile N/A N/A self N/A N/A N/A script N/A self script mayavi.sources.vtk_file_reader VTKFileReader mayavi.modules.outline Outline mayavi.modules.iso_surface IsoSurface mayavi.modules.contour_grid_plane ContourGridPlane mayavi.modules.scalar_cut_plane ScalarCutPlane N/A s N/A N/A self new_scene N/A r N/A VTKFileReader N/A N/A N/A r initialize N/A get_example_data heart.vtk N/A N/A N/A script add_source r N/A o N/A Outline N/A N/A N/A script add_module o N/A cgp1 N/A ContourGridPlane N/A N/A N/A script add_module cgp1 N/A N/A N/A cgp1 grid_plane position 15 N/A cgp2 N/A ContourGridPlane N/A N/A N/A cgp2 contour filled_contours True N/A N/A N/A cgp2 grid_plane axis y N/A N/A N/A cgp2 grid_plane position 15 N/A N/A N/A script add_module cgp2 N/A iso N/A IsoSurface compute_normals True N/A N/A N/A script add_module iso N/A N/A N/A iso contour contours N/A 200.0 N/A cp N/A ScalarCutPlane N/A N/A N/A script add_module cp N/A ip N/A cp implicit_plane N/A N/A ip normal N/A 0 0 1 N/A N/A ip origin N/A 0 0 5 N/A N/A N/A ip widget enabled False N/A N/A N/A N/A s scene isometric_view N/A N/A N/A s render N/A engine N/A script engine N/A N/A N/A engine close_scene s N/A N/A N/A N/A __name__ __main__ N/A N/A t N/A TestContour N/A N/A N/A t test