@@ -0,0 +1,890 @@
+import vtk.vtkNativeLibrary;%0Aimport vtk.vtkMath;%0A%0A    %0Apublic class NormalizeVector%0A%7B%0A  // -----------------------------------------------------------------%0A  // Load VTK library and print which library was not properly loaded%0A  static %0A  %7B%0A    if (!vtkNativeLibrary.LoadAllNativeLibraries()) %0A    %7B%0A      for (vtkNativeLibrary lib : vtkNativeLibrary.values()) %0A      %7B%0A        if (!lib.IsLoaded()) %0A        %7B%0A          System.out.println(lib.GetLibraryName() + %22 not loaded%22);%0A        %7D%0A      %7D%0A    %7D%0A    vtkNativeLibrary.DisableOutputWindow(null);%0A  %7D%0A  // -----------------------------------------------------------------%0A%0A  public static void main(String args%5B%5D) %0A  %7B%0A    double a%5B%5D = new double%5B%5D %7B100.0, 2.0, 1.0%7D;%0A    System.out.println(a%5B0%5D + %22 %22 + a%5B1%5D + %22 %22 + a%5B2%5D);%0A    vtkMath M = new vtkMath();%0A    M.Normalize(a);%0A    System.out.println(a%5B0%5D + %22 %22 + a%5B1%5D + %22 %22 + a%5B2%5D);%0A  %7D%0A%7D%0A

Create NormalizeVector.java