/////////////////////////////////////////////////////////////////////////////////// //..................................................................... IGPObserver /// <summary> /// Adds the given axis to the list of permanently observed axes. /// If observed, axis can span metavisualizations between them, if /// they fullfill given factors. /// </summary> /// <param name="axis"></param> public override void Observe(AAxis observable) { // do not observe axes of meta-visualizations if (!observable.Base().isMetaVis) { observable.Subscribe(this); observedAxes.Add(observable); normalVisualizations.Add(observable.Base()); UpdateAxis(observable); } }
public void Observe(AAxis observable) { observable.Subscribe(this); }