示例#1
0
 public MapBuilder(MarkerFinder markerFinder,
     ObstaclesFinder obstaclesFinder,
     ObjectsToTrace objectsToTrace)
 {
     markerFinder_ = markerFinder;
     obstaclesFinder_ = obstaclesFinder;
     objectsToTrace_ = objectsToTrace;
 }
示例#2
0
 public MapBuilder(MarkerFinder markerFinder,
                   ObstaclesFinder obstaclesFinder,
                   ObjectsToTrace objectsToTrace)
 {
     markerFinder_    = markerFinder;
     obstaclesFinder_ = obstaclesFinder;
     objectsToTrace_  = objectsToTrace;
 }
示例#3
0
        public MainWindow()
        {
            glyphRecogniser = new GlyphRecognitionStudio.MainForm();
            glyphRecogniser.frameProcessed += glyphRecogniser_frameProcessed;
            glyphRecogniser.Show();
            glyphRecogniser.Hide();

            carController = new CarController.DefaultCarController();
            carControllerWindow = new CarController.MainWindow(carController);
            carControllerWindow.Show();

            InitializeComponent();

            Canvas_trackPlanner.Children.Add(plannerBackGround); //REMOVE IT FROM HERE

            MarkerFinder markerFinder = new MarkerFinder();
            ObstaclesFinder obstaclesFinder = new ObstaclesFinder();
            ObjectsToTrace objectsToTrace = new ObjectsToTrace(new List<string>() { "s1", "s2" }, "car", "parking");

            mapBuilder = new MapBuilder(markerFinder, obstaclesFinder, objectsToTrace);
        }