#NEWLINE# def test_parent_child_input( self ) : #NEWLINE# #INDENT# 'Case where parent has GetInput and child SetInput.' #NEWLINE# if ( ( ( vtk_major_version >= 6 ) and ( vtk_minor_version > 1 ) ) or ( vtk_major_version == 7 ) ) : #NEWLINE# #INDENT# vm = tvtk . SmartVolumeMapper ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# vm = tvtk . VolumeTextureMapper2D ( ) #NEWLINE# #UNINDENT# configure_input_data ( spw , tvtk . ImageData ( ) ) #NEWLINE# spw = tvtk . StructuredPointsWriter ( ) #NEWLINE# if ( vtk_major_version < 6 ) : #NEWLINE# #INDENT# spw . input = None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# spw . input_connection = None