internal void removeTeeth() { if (MessageBox.Show("Are you sure to remove the Teeth? This action can't be undone!", "Remove Confirmation", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.Yes) { if (JawVisual != null) { JawVisual.removeTeeth(); } } }
internal TeethVisual3D selectTeeth(int p) { TeethVisual3D r = null; if (JawVisual != null) { //r = JawVisual.selectTeeth(p); r = JawVisual.findTeeth(p); } return(r); }
internal void manualSegment(Point3DCollection points, Vector3DCollection vectors) { if (RawVisual != null && points.Count > 0) { Stopwatch stopWatch = new Stopwatch(); stopWatch.Start(); List <GeometryModel3D> models = RawVisual.manualSegment(points, vectors); if (JawVisual != null && models.Count > 0) { JawVisual.addTeeth(models); //add points as archs JawVisual.selectedGum.Archs = points; } stopWatch.Stop(); TimeSpan ts = stopWatch.Elapsed; string elapsedTime = String.Format("{0:00}:{1:00}:{2:00}.{3:00}", ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds / 10); MessageBox.Show("Processing is done ( " + elapsedTime + " ).", "Manual Segmentation"); } }
internal void displayArchs(bool p) { JawVisual.displayArchs(p); }
public void updateBraceLocation(string braceid, int oldLocation, int newValue) { JawVisual.updateBraceLocation(braceid, oldLocation, newValue); }
internal void ShowHideGumVisual(bool f) { JawVisual.displayGumContainer(f); }
internal void ShowHideWireVisual(bool f) { JawVisual.displayWireContainer(f); }
internal void ShowHideTeethVisual(bool f) { JawVisual.displayTeethContainer(f); }
internal void ShowHideBraceVisual(bool f) { JawVisual.displayBraceContainer(f); }
internal void updateTeethMap(string oldid, string newid) { JawVisual.updateTeethMap(oldid, newid); }