Init( )

The init( ) method is overloaded three times. The first method, which has three parameters, is abstract and must be overridden by classes derived from this class. The other two methods initialize data members within this class. Robert’s intention was to have the init( ) method of classes that arc derived from this class call on of these two methods to initialize data members of Bill Transition.

create Cell from Fork Pixels ( ) 

The create Cell From Work Pixels () method is used to perform the conunon task of converting the work_pixels array into an Image object. Notice that it uses the owner variable to complete this task. This is the only reason the owner variable is needed by transition classes. When a transition completed assembly of a new cell in the work_pixels array, it should call this method.

[vfb id=1]

Share This