Exemple #1
0
 ///<summary>
 ///Deletes all static objects created
 ///</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (sphere != null)
     {
         sphere.Dispose();
     }
     if (cone != null)
     {
         cone.Dispose();
     }
     if (glyph != null)
     {
         glyph.Dispose();
     }
     if (apd != null)
     {
         apd.Dispose();
     }
     if (maceMapper != null)
     {
         maceMapper.Dispose();
     }
     if (maceActor != null)
     {
         maceActor.Dispose();
     }
     if (planes != null)
     {
         planes.Dispose();
     }
     if (clipper != null)
     {
         clipper.Dispose();
     }
     if (selectMapper != null)
     {
         selectMapper.Dispose();
     }
     if (selectActor != null)
     {
         selectActor.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
     if (boxWidget != null)
     {
         boxWidget.Dispose();
     }
 }
Exemple #2
0
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (sphere != null)
     {
         sphere.Dispose();
     }
     if (mapper != null)
     {
         mapper.Dispose();
     }
     if (actor != null)
     {
         actor.Dispose();
     }
     if (ren1 != null)
     {
         ren1.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
     if (camera != null)
     {
         camera.Dispose();
     }
 }
 ///<summary>Deletes all static objects created</summary>
 public static void deleteAllVTKObjects()
 {
     //clean up vtk objects
     if (sphere != null)
     {
         sphere.Dispose();
     }
     if (sphereMapper != null)
     {
         sphereMapper.Dispose();
     }
     if (sphereActor != null)
     {
         sphereActor.Dispose();
     }
     if (rt != null)
     {
         rt.Dispose();
     }
     if (voi != null)
     {
         voi.Dispose();
     }
     if (surf != null)
     {
         surf.Dispose();
     }
     if (tris != null)
     {
         tris.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();
     }
 }
Exemple #4
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 (sphere != null)
     {
         sphere.Dispose();
     }
     if (piece != null)
     {
         piece.Dispose();
     }
     if (pdn != null)
     {
         pdn.Dispose();
     }
     if (deci != null)
     {
         deci.Dispose();
     }
     if (q != null)
     {
         q.Dispose();
     }
     if (streamer != null)
     {
         streamer.Dispose();
     }
     if (mapper != null)
     {
         mapper.Dispose();
     }
     if (actor != null)
     {
         actor.Dispose();
     }
 }
Exemple #5
0
 ///<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();
     }
 }
 ///<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 (sphere != null)
     {
         sphere.Dispose();
     }
     if (extract != null)
     {
         extract.Dispose();
     }
     if (normals != null)
     {
         normals.Dispose();
     }
     if (ps != null)
     {
         ps.Dispose();
     }
     if (mapper != null)
     {
         mapper.Dispose();
     }
     if (actor != null)
     {
         actor.Dispose();
     }
     if (sphere2 != null)
     {
         sphere2.Dispose();
     }
     if (extract2 != null)
     {
         extract2.Dispose();
     }
     if (mapper2 != null)
     {
         mapper2.Dispose();
     }
     if (psize != null)
     {
         psize.Dispose();
     }
     if (actor2 != null)
     {
         actor2.Dispose();
     }
     if (sphere3 != null)
     {
         sphere3.Dispose();
     }
     if (extract3 != null)
     {
         extract3.Dispose();
     }
     if (ps3 != null)
     {
         ps3.Dispose();
     }
     if (mapper3 != null)
     {
         mapper3.Dispose();
     }
     if (actor3 != null)
     {
         actor3.Dispose();
     }
     if (sphere4 != null)
     {
         sphere4.Dispose();
     }
     if (extract4 != null)
     {
         extract4.Dispose();
     }
     if (ps4 != null)
     {
         ps4.Dispose();
     }
     if (mapper4 != null)
     {
         mapper4.Dispose();
     }
     if (actor4 != null)
     {
         actor4.Dispose();
     }
     if (ren != null)
     {
         ren.Dispose();
     }
     if (renWin != null)
     {
         renWin.Dispose();
     }
     if (iren != null)
     {
         iren.Dispose();
     }
 }
Exemple #7
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 (plane != null)
     {
         plane.Dispose();
     }
     if (sphere != null)
     {
         sphere.Dispose();
     }
     if (ellipsoids != null)
     {
         ellipsoids.Dispose();
     }
     if (ellipNormals != null)
     {
         ellipNormals.Dispose();
     }
     if (lut != null)
     {
         lut.Dispose();
     }
     if (ellipMapper != null)
     {
         ellipMapper.Dispose();
     }
     if (ellipActor != null)
     {
         ellipActor.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();
     }
 }
Exemple #8
0
 ///<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 (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();
     }
 }
Exemple #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();
     }
 }
Exemple #11
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 (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();
     }
 }