@@ -0,0 +1,945 @@
+import vtk.vtkSphereSource;%0Aimport vtk.vtkStripper;%0Aimport vtk.vtkNativeLibrary;%0A%0Aclass Stripper%7B  %0A%09%0A%09static %7B%0A%09    if (!vtkNativeLibrary.LoadAllNativeLibraries()) %7B%0A%09      for (vtkNativeLibrary lib : vtkNativeLibrary.values()) %7B%0A%09        if (!lib.IsLoaded()) %7B%0A%09          System.out.println(lib.GetLibraryName() + %22 not loaded%22);%0A%09        %7D%0A%09      %7D%0A%09    %7D%0A%09    vtkNativeLibrary.DisableOutputWindow(null);%0A%09  %7D%0A%09%0A%09%0A    public static void main(String args%5B%5D)%7B  %0A    %09%0A    %09vtkSphereSource SphereSource = new vtkSphereSource();%0A%09%09  SphereSource.Update();%0A%09%09%0A%09%09  System.out.println(%22Number of cells before stripping:%22 + SphereSource.GetOutput().GetNumberOfCells() );%0A%09%0A%09%09%09  %0A%09    vtkStripper Stripper = new vtkStripper();%0A%09    Stripper.SetInputConnection(SphereSource.GetOutputPort());%0A%09    Stripper.Update();%0A%0A%09%09%09  %0A%09%09System.out.println(%22Number of cells after stripping:%22 + Stripper.GetOutput().GetNumberOfCells() );%0A%09%09%09  %0A%09%09  %09%09  %0A    %7D  %0A%7D   %0A

Create Stripper.java