コード例 #1
0
 ///<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();
     }
 }
コード例 #2
0
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (reader != null)
     {
         reader.Dispose();
     }
     if (LUT != null)
     {
         LUT.Dispose();
     }
     if (mapToRGBA != null)
     {
         mapToRGBA.Dispose();
     }
     if (streamer != null)
     {
         streamer.Dispose();
     }
     if (viewer != null)
     {
         viewer.Dispose();
     }
 }
コード例 #3
0
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (reader != null)
     {
         reader.Dispose();
     }
     if (ds2do != null)
     {
         ds2do.Dispose();
     }
     if (write != null)
     {
         write.Dispose();
     }
     if (dor != null)
     {
         dor.Dispose();
     }
     if (do2ds != null)
     {
         do2ds.Dispose();
     }
     if (fd2ad != null)
     {
         fd2ad.Dispose();
     }
     if (warp != null)
     {
         warp.Dispose();
     }
     if (connect != null)
     {
         connect.Dispose();
     }
     if (moldMapper != null)
     {
         moldMapper.Dispose();
     }
     if (moldActor != null)
     {
         moldActor.Dispose();
     }
     if (connect2 != null)
     {
         connect2.Dispose();
     }
     if (parison != null)
     {
         parison.Dispose();
     }
     if (normals2 != null)
     {
         normals2.Dispose();
     }
     if (lut != null)
     {
         lut.Dispose();
     }
     if (parisonMapper != null)
     {
         parisonMapper.Dispose();
     }
     if (parisonActor != null)
     {
         parisonActor.Dispose();
     }
     if (cf != null)
     {
         cf.Dispose();
     }
     if (contourMapper != null)
     {
         contourMapper.Dispose();
     }
     if (contours != null)
     {
         contours.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
 }
コード例 #4
0
 ///<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();
     }
 }