Exemplo n.º 1
0
 ///<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 (pl3d != null)
     {
         pl3d.Dispose();
     }
     if (cf != null)
     {
         cf.Dispose();
     }
     if (cam1 != null)
     {
         cam1.Dispose();
     }
 }
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (math != null)
     {
         math.Dispose();
     }
     if (pf != null)
     {
         pf.Dispose();
     }
     if (pl3d != null)
     {
         pl3d.Dispose();
     }
     if (dst != null)
     {
         dst.Dispose();
     }
     if (extract != null)
     {
         extract.Dispose();
     }
     if (cf != null)
     {
         cf.Dispose();
     }
     if (pdn != null)
     {
         pdn.Dispose();
     }
     if (ps != null)
     {
         ps.Dispose();
     }
     if (mapper != null)
     {
         mapper.Dispose();
     }
     if (actor != null)
     {
         actor.Dispose();
     }
     if (ren != null)
     {
         ren.Dispose();
     }
     if (camera != null)
     {
         camera.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
 }
Exemplo n.º 3
0
 ///<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 (v16 != null)
     {
         v16.Dispose();
     }
     if (iso != null)
     {
         iso.Dispose();
     }
     if (isoMapper != null)
     {
         isoMapper.Dispose();
     }
     if (isoActor != null)
     {
         isoActor.Dispose();
     }
     if (mask != null)
     {
         mask.Dispose();
     }
     if (visPts != null)
     {
         visPts.Dispose();
     }
     if (ldm != null)
     {
         ldm.Dispose();
     }
     if (tprop != null)
     {
         tprop.Dispose();
     }
     if (contourLabels != null)
     {
         contourLabels.Dispose();
     }
 }
Exemplo n.º 4
0
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (pl3d != null)
     {
         pl3d.Dispose();
     }
     if (cf != null)
     {
         cf.Dispose();
     }
     if (cfMapper != null)
     {
         cfMapper.Dispose();
     }
     if (cfActor != null)
     {
         cfActor.Dispose();
     }
     if (outline != null)
     {
         outline.Dispose();
     }
     if (outlineMapper != null)
     {
         outlineMapper.Dispose();
     }
     if (outlineActor != null)
     {
         outlineActor.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
     if (cam1 != null)
     {
         cam1.Dispose();
     }
 }
Exemplo n.º 5
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();
     }
 }
Exemplo n.º 6
0
 ///<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 (pl3d != null)
     {
         pl3d.Dispose();
     }
     if (plane != null)
     {
         plane.Dispose();
     }
     if (transP1 != null)
     {
         transP1.Dispose();
     }
     if (tpd1 != null)
     {
         tpd1.Dispose();
     }
     if (outTpd1 != null)
     {
         outTpd1.Dispose();
     }
     if (mapTpd1 != null)
     {
         mapTpd1.Dispose();
     }
     if (tpd1Actor != null)
     {
         tpd1Actor.Dispose();
     }
     if (transP2 != null)
     {
         transP2.Dispose();
     }
     if (tpd2 != null)
     {
         tpd2.Dispose();
     }
     if (outTpd2 != null)
     {
         outTpd2.Dispose();
     }
     if (mapTpd2 != null)
     {
         mapTpd2.Dispose();
     }
     if (tpd2Actor != null)
     {
         tpd2Actor.Dispose();
     }
     if (transP3 != null)
     {
         transP3.Dispose();
     }
     if (tpd3 != null)
     {
         tpd3.Dispose();
     }
     if (outTpd3 != null)
     {
         outTpd3.Dispose();
     }
     if (mapTpd3 != null)
     {
         mapTpd3.Dispose();
     }
     if (tpd3Actor != null)
     {
         tpd3Actor.Dispose();
     }
     if (appendF != null)
     {
         appendF.Dispose();
     }
     if (probe != null)
     {
         probe.Dispose();
     }
     if (contour != null)
     {
         contour.Dispose();
     }
     if (contourMapper != null)
     {
         contourMapper.Dispose();
     }
     if (planeActor != null)
     {
         planeActor.Dispose();
     }
     if (outline != null)
     {
         outline.Dispose();
     }
     if (outlineMapper != null)
     {
         outlineMapper.Dispose();
     }
     if (outlineActor != null)
     {
         outlineActor.Dispose();
     }
     if (cam1 != null)
     {
         cam1.Dispose();
     }
 }
Exemplo n.º 7
0
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (reader != null)
     {
         reader.Dispose();
     }
     if (toRectilinearGrid != null)
     {
         toRectilinearGrid.Dispose();
     }
     if (plane != null)
     {
         plane.Dispose();
     }
     if (warper != null)
     {
         warper.Dispose();
     }
     if (planeMapper != null)
     {
         planeMapper.Dispose();
     }
     if (planeActor != null)
     {
         planeActor.Dispose();
     }
     if (cutPlane != null)
     {
         cutPlane.Dispose();
     }
     if (planeCut != null)
     {
         planeCut.Dispose();
     }
     if (cutMapper != null)
     {
         cutMapper.Dispose();
     }
     if (cutActor != null)
     {
         cutActor.Dispose();
     }
     if (iso != null)
     {
         iso.Dispose();
     }
     if (normals != null)
     {
         normals.Dispose();
     }
     if (isoMapper != null)
     {
         isoMapper.Dispose();
     }
     if (isoActor != null)
     {
         isoActor.Dispose();
     }
     if (streamer != null)
     {
         streamer.Dispose();
     }
     if (streamTube != null)
     {
         streamTube.Dispose();
     }
     if (mapStreamTube != null)
     {
         mapStreamTube.Dispose();
     }
     if (streamTubeActor != null)
     {
         streamTubeActor.Dispose();
     }
     if (outline != null)
     {
         outline.Dispose();
     }
     if (outlineMapper != null)
     {
         outlineMapper.Dispose();
     }
     if (outlineActor != null)
     {
         outlineActor.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
     if (cam1 != null)
     {
         cam1.Dispose();
     }
 }
Exemplo n.º 8
0
 ///<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 (ptLoad != null)
     {
         ptLoad.Dispose();
     }
     if (extractTensor != null)
     {
         extractTensor.Dispose();
     }
     if (contour != null)
     {
         contour.Dispose();
     }
     if (probe != null)
     {
         probe.Dispose();
     }
     if (su != null)
     {
         su.Dispose();
     }
     if (s1Mapper != null)
     {
         s1Mapper.Dispose();
     }
     if (s1Actor != null)
     {
         s1Actor.Dispose();
     }
     if (g != null)
     {
         g.Dispose();
     }
     if (gm != null)
     {
         gm.Dispose();
     }
     if (ga != null)
     {
         ga.Dispose();
     }
     if (outline != null)
     {
         outline.Dispose();
     }
     if (outlineMapper != null)
     {
         outlineMapper.Dispose();
     }
     if (outlineActor != null)
     {
         outlineActor.Dispose();
     }
     if (coneSrc != null)
     {
         coneSrc.Dispose();
     }
     if (coneMap != null)
     {
         coneMap.Dispose();
     }
     if (coneActor != null)
     {
         coneActor.Dispose();
     }
     if (camera != null)
     {
         camera.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 (reader != null)
     {
         reader.Dispose();
     }
     if (writer != null)
     {
         writer.Dispose();
     }
     if (pReader != null)
     {
         pReader.Dispose();
     }
     if (surface != null)
     {
         surface.Dispose();
     }
     if (mapper != null)
     {
         mapper.Dispose();
     }
     if (actor != null)
     {
         actor.Dispose();
     }
     if (fractal != null)
     {
         fractal.Dispose();
     }
     if (writer2 != null)
     {
         writer2.Dispose();
     }
     if (pReader2 != null)
     {
         pReader2.Dispose();
     }
     if (iso != null)
     {
         iso.Dispose();
     }
     if (mapper2 != null)
     {
         mapper2.Dispose();
     }
     if (actor2 != null)
     {
         actor2.Dispose();
     }
     if (sphere != null)
     {
         sphere.Dispose();
     }
     if (writer3 != null)
     {
         writer3.Dispose();
     }
     if (pReader3 != null)
     {
         pReader3.Dispose();
     }
     if (mapper3 != null)
     {
         mapper3.Dispose();
     }
     if (actor3 != null)
     {
         actor3.Dispose();
     }
     if (cam1 != null)
     {
         cam1.Dispose();
     }
 }
Exemplo n.º 10
0
 ///<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 (camera != null)
     {
         camera.Dispose();
     }
     if (reader != null)
     {
         reader.Dispose();
     }
     if (readerSS != null)
     {
         readerSS.Dispose();
     }
     if (bounds != null)
     {
         bounds.Dispose();
     }
     if (boundsMapper != null)
     {
         boundsMapper.Dispose();
     }
     if (boundsActor != null)
     {
         boundsActor.Dispose();
     }
     if (contour != null)
     {
         contour.Dispose();
     }
     if (contourMapper != null)
     {
         contourMapper.Dispose();
     }
     if (contourActor != null)
     {
         contourActor.Dispose();
     }
     if (opacityTransferFunction != null)
     {
         opacityTransferFunction.Dispose();
     }
     if (colorTransferFunction != null)
     {
         colorTransferFunction.Dispose();
     }
     if (volumeProperty != null)
     {
         volumeProperty.Dispose();
     }
     if (compositeFunction != null)
     {
         compositeFunction.Dispose();
     }
     if (volumeMapper != null)
     {
         volumeMapper.Dispose();
     }
     if (volume != null)
     {
         volume.Dispose();
     }
     if (Sphere != null)
     {
         Sphere.Dispose();
     }
     if (Glyph != null)
     {
         Glyph.Dispose();
     }
     if (AtomsMapper != null)
     {
         AtomsMapper.Dispose();
     }
     if (Atoms != null)
     {
         Atoms.Dispose();
     }
     if (Tube != null)
     {
         Tube.Dispose();
     }
     if (BondsMapper != null)
     {
         BondsMapper.Dispose();
     }
     if (Bonds != null)
     {
         Bonds.Dispose();
     }
 }
Exemplo n.º 11
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 (writer != null)
     {
         writer.Dispose();
     }
     if (dor != null)
     {
         dor.Dispose();
     }
     if (do2ds != null)
     {
         do2ds.Dispose();
     }
     if (fd2ad != null)
     {
         fd2ad.Dispose();
     }
     if (plane != null)
     {
         plane.Dispose();
     }
     if (warper != null)
     {
         warper.Dispose();
     }
     if (planeMapper != null)
     {
         planeMapper.Dispose();
     }
     if (planeActor != null)
     {
         planeActor.Dispose();
     }
     if (cutPlane != null)
     {
         cutPlane.Dispose();
     }
     if (planeCut != null)
     {
         planeCut.Dispose();
     }
     if (cutMapper != null)
     {
         cutMapper.Dispose();
     }
     if (cutActor != null)
     {
         cutActor.Dispose();
     }
     if (iso != null)
     {
         iso.Dispose();
     }
     if (normals != null)
     {
         normals.Dispose();
     }
     if (isoMapper != null)
     {
         isoMapper.Dispose();
     }
     if (isoActor != null)
     {
         isoActor.Dispose();
     }
     if (streamer != null)
     {
         streamer.Dispose();
     }
     if (streamTube != null)
     {
         streamTube.Dispose();
     }
     if (mapStreamTube != null)
     {
         mapStreamTube.Dispose();
     }
     if (streamTubeActor != null)
     {
         streamTubeActor.Dispose();
     }
     if (outline != null)
     {
         outline.Dispose();
     }
     if (outlineMapper != null)
     {
         outlineMapper.Dispose();
     }
     if (outlineActor != null)
     {
         outlineActor.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
 }