///<summary>Deletes all static objects created</summary> public static void deleteAllVTKObjects() { //clean up vtk objects if (sphere != null) { sphere.Dispose(); } if (selectionPoints != null) { selectionPoints.Dispose(); } if (loop != null) { loop.Dispose(); } if (extract != null) { extract.Dispose(); } if (connect != null) { connect.Dispose(); } if (clipMapper != null) { clipMapper.Dispose(); } if (backProp != null) { backProp.Dispose(); } if (clipActor != null) { clipActor.Dispose(); } if (ren1 != null) { ren1.Dispose(); } if (renWin != null) { renWin.Dispose(); } if (iren != null) { iren.Dispose(); } }
public void RemoveMe() { if (centerLineActor != null) { renderer.RemoveActor(centerLineActor); centerLineActor.Dispose(); centerLineActor = null; } _cleanFilter.Dispose(); _profileTubes.Dispose(); _profileData.Dispose(); _lines.Dispose(); _points.Dispose(); this._mapper.Dispose(); }
///<summary>Deletes all static objects created</summary> public static void deleteAllVTKObjects() { //clean up vtk objects if (math != null) { math.Dispose(); } if (points != null) { points.Dispose(); } if (profile != null) { profile.Dispose(); } if (del != null) { del.Dispose(); } if (mapMesh != null) { mapMesh.Dispose(); } if (meshActor != null) { meshActor.Dispose(); } if (extract != null) { extract.Dispose(); } if (tubes != null) { tubes.Dispose(); } if (mapEdges != null) { mapEdges.Dispose(); } if (edgeActor != null) { edgeActor.Dispose(); } if (ball != null) { ball.Dispose(); } if (balls != null) { balls.Dispose(); } if (mapBalls != null) { mapBalls.Dispose(); } if (ballActor != null) { ballActor.Dispose(); } if (ren1 != null) { ren1.Dispose(); } if (renWin != null) { renWin.Dispose(); } if (iren != null) { iren.Dispose(); } }
///<summary>Deletes all static objects created</summary> public static void deleteAllVTKObjects() { //clean up vtk objects if (ren1 != null) { ren1.Dispose(); } if (renWin != null) { renWin.Dispose(); } if (iren != null) { iren.Dispose(); } if (math != null) { math.Dispose(); } if (aKSplineX != null) { aKSplineX.Dispose(); } if (aKSplineY != null) { aKSplineY.Dispose(); } if (aKSplineZ != null) { aKSplineZ.Dispose(); } if (aCSplineX != null) { aCSplineX.Dispose(); } if (aCSplineY != null) { aCSplineY.Dispose(); } if (aCSplineZ != null) { aCSplineZ.Dispose(); } if (inputPoints != null) { inputPoints.Dispose(); } if (inputData != null) { inputData.Dispose(); } if (balls != null) { balls.Dispose(); } if (glyphPoints != null) { glyphPoints.Dispose(); } if (glyphMapper != null) { glyphMapper.Dispose(); } if (glyph != null) { glyph.Dispose(); } if (Kpoints != null) { Kpoints.Dispose(); } if (Cpoints != null) { Cpoints.Dispose(); } if (profileKData != null) { profileKData.Dispose(); } if (profileCData != null) { profileCData.Dispose(); } if (lines != null) { lines.Dispose(); } if (profileKTubes != null) { profileKTubes.Dispose(); } if (profileKMapper != null) { profileKMapper.Dispose(); } if (profileK != null) { profileK.Dispose(); } if (profileCTubes != null) { profileCTubes.Dispose(); } if (profileCMapper != null) { profileCMapper.Dispose(); } if (profileC != null) { profileC.Dispose(); } }