1 // java wrapper for vtkCenterOfMass object
7 public class vtkCenterOfMass extends vtkPointSetAlgorithm
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native void SetCenter_2(double id0,double id1,double id2);
19 public void SetCenter(double id0,double id1,double id2)
20 { SetCenter_2(id0,id1,id2); }
22 private native void SetCenter_3(double id0[]);
23 public void SetCenter(double id0[])
26 private native double[] GetCenter_4();
27 public double[] GetCenter()
28 { return GetCenter_4(); }
30 private native void SetUseScalarsAsWeights_5(boolean id0);
31 public void SetUseScalarsAsWeights(boolean id0)
32 { SetUseScalarsAsWeights_5(id0); }
34 private native boolean GetUseScalarsAsWeights_6();
35 public boolean GetUseScalarsAsWeights()
36 { return GetUseScalarsAsWeights_6(); }
38 private native void ComputeCenterOfMass_7(vtkPoints id0,vtkDataArray id1,double id2[]);
39 public void ComputeCenterOfMass(vtkPoints id0,vtkDataArray id1,double id2[])
40 { ComputeCenterOfMass_7(id0,id1,id2); }
42 public vtkCenterOfMass() { super(); }
44 public vtkCenterOfMass(long id) { super(id); }
45 public native long VTKInit();