private void buildChainOfFilters(out FilterChain o_ImageFilter)
 {
     NegativeFilter negativeFilter =  new NegativeFilter();
     RedFilter redFilter = new RedFilter();
     GreenFilter greenFilter = new GreenFilter();
     BlueFilter blueFilter = new BlueFilter();
     negativeFilter.SetNextChain(redFilter);
     redFilter.SetNextChain(greenFilter);
     greenFilter.SetNextChain(blueFilter);
     o_ImageFilter = negativeFilter;
 }
 public abstract void SetNextChain(FilterChain i_NextChain);
示例#3
0
 public override void SetNextChain(FilterChain i_NextChain)
 {
     m_NextChain = i_NextChain;
 }
 public override void SetNextChain(FilterChain i_NextChain)
 {
     m_NextChain = i_NextChain;
 }
 public abstract void SetNextChain(FilterChain i_NextChain);