VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config) { VsOpticalFlowConfiguration cfg = (VsOpticalFlowConfiguration)config; if (cfg != null) { VsOpticalFlow analyser = new VsOpticalFlow(syncTimer); analyser.AnalyzerConfiguration = cfg.GetConfiguration(); return((VsOpticalFlow)analyser); } return(null); }
VsICoreAnalyzer VsICoreAnalyzerDescription.CreateAnalyser(long syncTimer, VsICoreAnalyzerConfiguration config) { VsOpticalFlowConfiguration cfg = (VsOpticalFlowConfiguration)config; if (cfg != null) { VsOpticalFlow analyser = new VsOpticalFlow(syncTimer); analyser.AnalyzerConfiguration = cfg.GetConfiguration(); return (VsOpticalFlow)analyser; } return null; }