private void SearchDebug(object sender, BackEventArgs e) { IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); IMainMenuController menuController = GetComponent <MainMenuController>(); menuController.GETMainMenuModel().ChangeVisibility(false); view.setVisibility(false); resultPanelModel.renderDebugPicture(); resultPanelModel.ChangeResultVisibility(true); }
public void accessPhotoQuery(string base64) { IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); resultPanelModel.ChangeResultVisibility(true); var simq = QueryBuilder.BuildSimpleQbEQuery(base64); QueryCineastAndProcess(simq, true); }
private void HandleBack(object sender, ResultBackEventArgs e) { IMainMenuModel mainMenuModel = transform.GetComponent <MainMenuController>().GETMainMenuModel(); model.ChangeResultVisibility(false); mainMenuModel.ChangeVisibility(true); IMainMenuView mainMenuView = transform.GetComponent <MainMenuController>().GETMainMenuView(); mainMenuView.activateShow(true); Debug.Log("Search clicked"); }
private void HandleSearchSelect(object sender, BackEventArgs e) { IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); model.ChangeVisibility(false); //resultPanelModel.renderPicture(); resultPanelModel.ChangeResultVisibility(true); IResultPanelView resultPanelView = transform.GetComponent <ResultPanelController>().GETResultPanelView(); Vector3 newpos = new Vector3(Camera.main.transform.position.x, Camera.main.transform.position.y, Camera.main.transform.position.z + 1.3f); resultPanelView.setResultPosition(newpos); }
private void SearchClicked(object sender, BackEventArgs e) { Debug.Log(myLocation); if (!alreadyfetched) { var query = CineastUnityInterface.Runtime.Vitrivr.UnityInterface.CineastApi.Utils.QueryBuilder .BuildSpatialSimilarityQuery(myLocation.getLat(), myLocation.getLon()); QueryCineastAndProcess(query, false); alreadyfetched = true; } else { setFetchedActiveList(); } IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); IMainMenuController menuController = GetComponent <MainMenuController>(); IResultPanelView resultPanelView = transform.GetComponent <ResultPanelController>().GETResultPanelView(); Vector3 newpos = new Vector3(Camera.main.transform.position.x, Camera.main.transform.position.y, Camera.main.transform.position.z); resultPanelView.setResultPosition(newpos); menuController.GETMainMenuModel().ChangeVisibility(false); view.setVisibility(false); resultPanelModel.ChangeResultVisibility(true); IMapController mapController = GetComponent <MapController>(); mapController.GETMapView().setGameObjectVisibility(false); IMapMenuController mapMenuController = GetComponent <MapMenuController>(); mapMenuController.GETMapMenuView().MenuVisibility(false); ITemporalController temporalController = GetComponent <TemporalController>(); temporalController.GETItTemporalView().MenuVisibility(false); }