public void deleterender() { EmptyVTK eVolume = new EmptyVTK(); isovalue = 0.5; MC_VTK(eVolume.GetEmptyVolume()); mcmap.SetInputConnection(mc.GetOutputPort()); renWin.Render(); iren.Disable(); }
public void deleterender() { EmptyVTK eVolume = new EmptyVTK(); VoxelData = eVolume.GetEmptyVolume(); VoxelData.Update(); vtk.vtkFixedPointVolumeRayCastMapper volumeMapper = new vtk.vtkFixedPointVolumeRayCastMapper(); volumeMapper.SetInput(VoxelData); volumeMapper.Update(); volume.SetMapper(volumeMapper); volume.Update(); iren.Disable(); }
public void deleterender() { EmptyVTK eVolume = new EmptyVTK(); vtk.vtkImageData VoxelData = eVolume.GetEmptyVolume(); planeWidgetX.SetInput(VoxelData); planeWidgetY.SetInput(VoxelData); planeWidgetZ.SetInput(VoxelData); planeWidgetX.Off(); planeWidgetY.Off(); planeWidgetZ.Off(); renWin.Render(); }