#NEWLINE# def showRevolution( self , revId ) : #NEWLINE# #INDENT# self . reader . GetDataForRevolution ( revId , self . revPolyData ) #NEWLINE# self . displayedRevolution = revId #NEWLINE# if self . showRevolutionCallback : #NEWLINE# #INDENT# self . showRevolutionCallback ( ) #NEWLINE# #UNINDENT# if ( self . colorizeCallback and ( self . polyDataObj . getPropertyEnumValue ( 'Color By' ) == 'rgb' ) ) : #NEWLINE# #INDENT# self . colorizeCallback ( ) #NEWLINE# #UNINDENT# self . polyDataObj . _updateColorByProperty ( ) #NEWLINE# self . polyDataObj . _updateColorBy ( ) #NEWLINE# if self . polyDataObj . getProperty ( 'Visible' ) : #NEWLINE# #INDENT# self . view . render ( )