///<summary>Deletes all static objects created</summary> public static void deleteAllVTKObjects() { //clean up vtk objects if (alg != null) { alg.Dispose(); } if (pip != null) { pip.Dispose(); } if (Ren1 != null) { Ren1.Dispose(); } if (renWin != null) { renWin.Dispose(); } if (iren != null) { iren.Dispose(); } if (pvTemp59 != null) { pvTemp59.Dispose(); } if (pvTemp79 != null) { pvTemp79.Dispose(); } if (pvTemp104 != null) { pvTemp104.Dispose(); } if (pvTemp87 != null) { pvTemp87.Dispose(); } if (pvTemp88 != null) { pvTemp88.Dispose(); } }
///<summary>Deletes all static objects created</summary> public static void deleteAllVTKObjects() { //clean up vtk objects if (alg != null) { alg.Dispose(); } if (pip != null) { pip.Dispose(); } if (Ren1 != null) { Ren1.Dispose(); } if (renWin != null) { renWin.Dispose(); } if (iren != null) { iren.Dispose(); } if (Plot3D0 != null) { Plot3D0.Dispose(); } if (Geometry5 != null) { Geometry5.Dispose(); } if (Mapper5 != null) { Mapper5.Dispose(); } if (Actor5 != null) { Actor5.Dispose(); } if (ExtractGrid[0] != null) { ExtractGrid[0].Dispose(); } if (ExtractGrid[1] != null) { ExtractGrid[1].Dispose(); } if (ExtractGrid[2] != null) { ExtractGrid[2].Dispose(); } if (LineSourceWidget0 != null) { LineSourceWidget0.Dispose(); } if (mbds != null) { mbds.Dispose(); } if (Stream0 != null) { Stream0.Dispose(); } if (aa != null) { aa.Dispose(); } if (Ribbon0 != null) { Ribbon0.Dispose(); } if (LookupTable1 != null) { LookupTable1.Dispose(); } if (Mapper10 != null) { Mapper10.Dispose(); } if (Actor10 != null) { Actor10.Dispose(); } }