///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// private void loadObjClicked(object sender, RoutedEventArgs e) { String path = FilesHelper.getPathToObjFile(); if (path != null) { Visualisation.VisualisationWindow visualisationWindow = new Visualisation.VisualisationWindow(path, new Visualisation.BoundCamera(new OpenTK.Vector3(0, 0, 0), 0, 1.47f, 1000.0f)); visualisationWindow.Run(); } }
private void Button_Click(object sender, RoutedEventArgs e) { if (zArrayDescriptor != null) { Visualisation.VisualisationWindow visualisationWindow = new Visualisation.VisualisationWindow(zArrayDescriptor, Visualisation.Mesh.ColoringMethod.Grayscale, new Visualisation.BoundCamera(new OpenTK.Vector3(0, 0, 0), 0, 1.47f, 1000.0f)); visualisationWindow.Run(); } }