#NEWLINE# def update_pipeline( self ) : #NEWLINE# #INDENT# 'Override this method so that it *updates* the tvtk pipeline\n        when data upstream is known to have changed.\n\n        This method is invoked (automatically) when any of the inputs\n        sends a `pipeline_changed` event.\n        ' #NEWLINE# mm = self . module_manager #NEWLINE# if ( mm is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . contour . inputs = [ mm . source ] #NEWLINE# self . _compute_normals_changed ( self . compute_normals ) #NEWLINE# self . actor . set_lut ( mm . scalar_lut_manager . lut ) #NEWLINE# self . pipeline_changed = True