MCPcopy Create free account
hub / github.com/ImageEngine/cortex / PostProcessor

Class PostProcessor

test/IECore/CachedReader.py:198–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 self.assertEqual( i.value, 10 )
197
198 class PostProcessor( IECore.ModifyOp ) :
199
200 def __init__( self ) :
201
202 IECore.ModifyOp.__init__( self, "", IECore.IntParameter( "result", "" ), IECore.IntParameter( "input", "" ) )
203
204 def modify( self, obj, args ) :
205
206 obj.value *= 2
207
208 r = IECore.CachedReader( IECore.SearchPath( "./test/IECore/data/cobFiles" ), PostProcessor(), IECore.ObjectPool(100 * 1024 * 1024) )
209 i = r.read( "intDataTen.cob" )

Callers 2

testPostProcessingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected