/// <summary>
 /// Initializes a new instance of the CameraPositioningCalibrationViewModel class.
 /// </summary>
 public CameraPositioningCalibrationViewModel(CamerasModel camerasModel)
 {
     if (IsInDesignMode)
     {
         CamerasModel = camerasModel;
         SettingsService = new JsonSettingsService();
     }
     else
     {
         CamerasModel = camerasModel;
         PositioningService = new CameraPositioningCalibrationService(camerasModel.Cameras);
         SettingsService = SimpleIoc.Default.GetInstance<ISettingsService>();
     }
 }
 public void Initialize(IConsoleService consoleService,  ServerModel server, CamerasModel cameras)
 {
     base.Initialize(consoleService, server);
     _cameras = cameras;
 }
 public ServerService(IConsoleService consoleService, ServerModel server, CamerasModel cameras)
 {
     Initialize(consoleService, server, cameras);
 }
        public void Initialize(CamerasModel cameras, List<ITrackerService> trackerServices)
        {
            _cameras = cameras;
            TrackerServices = trackerServices;

            foreach (CameraModel cameraModel in _cameras.Cameras)
            {
                //TrackerServices[_cameras.Cameras.IndexOf(cameraModel)].OnImageReady += TrackerService_OnImageReady;
            }
            _positionHistory = new Vector3[5];
        }
 public MultipleViewsService(CamerasModel cameras, List<ITrackerService> trackerServices)
 {
     Initialize(cameras, trackerServices);
 }