private void medianFilterToolStripMenuItem_Click(object sender, EventArgs e) { VtkControl.SetMedianFilter(ref VtkControl.RectPolyData, TestForm.imageRect); VtkControl.SetVertexGlyph(VtkControl.RectPolyData); VtkControl.UpdateHSection(VtkControl.HSectionNum, TestForm.imageRect); VtkControl.UpdateVSection(VtkControl.VSectionNum, TestForm.imageRect); renWinControl3D.RenderWindow.Render(); }
private void toolStripButtonSectionRowDec_Click(object sender, EventArgs e) { //VtkControl.UpdateHSection(VtkControl.HSectionNum -= 10); VtkControl.UpdateHSection(VtkControl.HSectionNum -= 5, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }
private void toolStripButtonResetRow_Click(object sender, EventArgs e) { VtkControl.UpdateHSection(VtkControl.HSectionNum = TestForm.imageRect.Height / 2, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }