Module Expr Str ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias ClassDef bases NameLoad body 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 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 Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assert CompareEq AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr TupleLoad Num Num Assert CompareIs Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assert CompareEq AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr TupleLoad Num Num Assert CompareIs Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list Expr Call NameLoad NameLoad 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 Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call NameLoad NameLoad 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 Expr Call NameLoad NameLoad 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 Expr Call NameLoad 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 Optional and Collection filters.
 os.path abspath io BytesIO N/A copy common TestCase get_example_data TestOptionalCollection N/A TestCase 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.filters.contour Contour mayavi.filters.optional Optional mayavi.filters.collection Collection mayavi.filters.api PolyDataNormals mayavi.modules.api Surface 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 c N/A Contour N/A n N/A PolyDataNormals name Normals N/A o N/A Optional filter n label_text Compute normals N/A coll N/A Collection filters N/A c o name IsoSurface N/A N/A N/A script add_filter coll N/A s N/A Surface N/A N/A N/A script add_module s check N/A N/A coll N/A N/A N/A Check if test status is OK given the collection. N/A N/A c o N/A coll filters N/A c N/A c filter N/A n N/A o filter N/A N/A N/A N/A N/A N/A N/A coll get_output_dataset point_data scalars range N/A 127.5 127.5 N/A N/A N/A N/A c contours append 200 N/A N/A N/A N/A N/A N/A N/A coll get_output_dataset point_data scalars range N/A 127.5 200.0 N/A N/A N/A N/A coll get_output_dataset N/A N/A n get_output_dataset N/A N/A o enabled False N/A N/A disabled N/A o name N/A N/A N/A N/A coll get_output_dataset N/A N/A c get_output_dataset N/A N/A N/A N/A c contours pop N/A N/A o enabled True N/A N/A N/A N/A N/A N/A N/A coll get_output_dataset point_data scalars range N/A 127.5 127.5 N/A N/A N/A N/A coll get_output_dataset N/A N/A n get_output_dataset N/A N/A disabled N/A o name N/A N/A N/A check coll 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 coll N/A N/A N/A N/A s children N/A 0 children N/A 0 N/A N/A check coll 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 coll N/A N/A N/A N/A s children N/A 0 children N/A 0 N/A N/A check coll N/A source1 N/A N/A copy deepcopy source N/A N/A N/A s children N/A 0 source1 N/A coll N/A N/A N/A N/A s children N/A 0 children N/A 0 N/A N/A check coll N/A N/A N/A N/A __name__ __main__ N/A N/A t N/A TestOptionalCollection N/A N/A N/A t test