<s> import IECore <EOL> import Gaffer <EOL> import GafferUI <EOL> import GafferScene <EOL> import GafferSceneUI <EOL> def __cameraSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> resolution = plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) <EOL> info . append ( "<STR_LIT>" % ( resolution [ <NUM_LIT:0> ] , resolution [ <NUM_LIT:1> ] ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> pixelAspectRatio = plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) <EOL> info . append ( "<STR_LIT>" % GafferUI . NumericWidget . valueToString ( pixelAspectRatio ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> resolutionMultiplier = plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) <EOL> info . append ( "<STR_LIT>" % GafferUI . NumericWidget . valueToString ( resolutionMultiplier ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> crop = plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) <EOL> info . append ( "<STR_LIT>" % tuple ( GafferUI . NumericWidget . valueToString ( x ) for x in ( crop . min . x , crop . min . y , crop . max . x , crop . max . y ) ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" % ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __motionBlurSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + str ( plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __statisticsSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> Gaffer . Metadata . registerNode ( <EOL> GafferScene . StandardOptions , <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> plugs = { <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , __cameraSummary , <EOL> "<STR_LIT>" , __motionBlurSummary , <EOL> "<STR_LIT>" , __statisticsSummary , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , True , <EOL> "<STR_LIT>" , IECore . StringVectorData ( [ "<STR_LIT>" ] ) , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> } <EOL> ) </s>
