X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=vtk%2Fsrc%2Fvtk%2FvtkCenterOfMass.java;h=f52321696bb908381876adfe427e1fe1001dd503;hb=57b43a1aba08537c5a6b5e714b50d2da1439578a;hp=c48b0499510878603d568facfb77abdf67371586;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkCenterOfMass.java b/vtk/src/vtk/vtkCenterOfMass.java index c48b0499..f5232169 100644 --- a/vtk/src/vtk/vtkCenterOfMass.java +++ b/vtk/src/vtk/vtkCenterOfMass.java @@ -1,47 +1,47 @@ -// java wrapper for vtkCenterOfMass object -// - -package vtk; -import vtk.*; - -public class vtkCenterOfMass extends vtkPointSetAlgorithm -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native void SetCenter_2(double id0,double id1,double id2); - public void SetCenter(double id0,double id1,double id2) - { SetCenter_2(id0,id1,id2); } - - private native void SetCenter_3(double id0[]); - public void SetCenter(double id0[]) - { SetCenter_3(id0); } - - private native double[] GetCenter_4(); - public double[] GetCenter() - { return GetCenter_4(); } - - private native void SetUseScalarsAsWeights_5(boolean id0); - public void SetUseScalarsAsWeights(boolean id0) - { SetUseScalarsAsWeights_5(id0); } - - private native boolean GetUseScalarsAsWeights_6(); - public boolean GetUseScalarsAsWeights() - { return GetUseScalarsAsWeights_6(); } - - private native void ComputeCenterOfMass_7(vtkPoints id0,vtkDataArray id1,double id2[]); - public void ComputeCenterOfMass(vtkPoints id0,vtkDataArray id1,double id2[]) - { ComputeCenterOfMass_7(id0,id1,id2); } - - public vtkCenterOfMass() { super(); } - - public vtkCenterOfMass(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkCenterOfMass object +// + +package vtk; +import vtk.*; + +public class vtkCenterOfMass extends vtkPointSetAlgorithm +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native void SetCenter_2(double id0,double id1,double id2); + public void SetCenter(double id0,double id1,double id2) + { SetCenter_2(id0,id1,id2); } + + private native void SetCenter_3(double id0[]); + public void SetCenter(double id0[]) + { SetCenter_3(id0); } + + private native double[] GetCenter_4(); + public double[] GetCenter() + { return GetCenter_4(); } + + private native void SetUseScalarsAsWeights_5(boolean id0); + public void SetUseScalarsAsWeights(boolean id0) + { SetUseScalarsAsWeights_5(id0); } + + private native boolean GetUseScalarsAsWeights_6(); + public boolean GetUseScalarsAsWeights() + { return GetUseScalarsAsWeights_6(); } + + private native void ComputeCenterOfMass_7(vtkPoints id0,vtkDataArray id1,double id2[]); + public void ComputeCenterOfMass(vtkPoints id0,vtkDataArray id1,double id2[]) + { ComputeCenterOfMass_7(id0,id1,id2); } + + public vtkCenterOfMass() { super(); } + + public vtkCenterOfMass(long id) { super(id); } + public native long VTKInit(); + +}