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);
public override void SetNextChain(FilterChain i_NextChain) { m_NextChain = i_NextChain; }