1 // java wrapper for vtkOctreePointLocator object
7 public class vtkOctreePointLocator extends vtkAbstractPointLocator
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 SetMaximumPointsPerRegion_2(int id0);
19 public void SetMaximumPointsPerRegion(int id0)
20 { SetMaximumPointsPerRegion_2(id0); }
22 private native int GetMaximumPointsPerRegion_3();
23 public int GetMaximumPointsPerRegion()
24 { return GetMaximumPointsPerRegion_3(); }
26 private native void SetCreateCubicOctants_4(int id0);
27 public void SetCreateCubicOctants(int id0)
28 { SetCreateCubicOctants_4(id0); }
30 private native int GetCreateCubicOctants_5();
31 public int GetCreateCubicOctants()
32 { return GetCreateCubicOctants_5(); }
34 private native double GetFudgeFactor_6();
35 public double GetFudgeFactor()
36 { return GetFudgeFactor_6(); }
38 private native void SetFudgeFactor_7(double id0);
39 public void SetFudgeFactor(double id0)
40 { SetFudgeFactor_7(id0); }
42 private native int GetNumberOfLeafNodes_8();
43 public int GetNumberOfLeafNodes()
44 { return GetNumberOfLeafNodes_8(); }
46 private native void GetRegionBounds_9(int id0,double id1[]);
47 public void GetRegionBounds(int id0,double id1[])
48 { GetRegionBounds_9(id0,id1); }
50 private native void GetRegionDataBounds_10(int id0,double id1[]);
51 public void GetRegionDataBounds(int id0,double id1[])
52 { GetRegionDataBounds_10(id0,id1); }
54 private native int GetRegionContainingPoint_11(double id0,double id1,double id2);
55 public int GetRegionContainingPoint(double id0,double id1,double id2)
56 { return GetRegionContainingPoint_11(id0,id1,id2); }
58 private native void BuildLocator_12();
59 public void BuildLocator()
60 { BuildLocator_12(); }
62 private native int FindClosestPoint_13(double id0[]);
63 public int FindClosestPoint(double id0[])
64 { return FindClosestPoint_13(id0); }
66 private native void FindPointsWithinRadius_14(double id0,double id1[],vtkIdList id2);
67 public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2)
68 { FindPointsWithinRadius_14(id0,id1,id2); }
70 private native void FindClosestNPoints_15(int id0,double id1[],vtkIdList id2);
71 public void FindClosestNPoints(int id0,double id1[],vtkIdList id2)
72 { FindClosestNPoints_15(id0,id1,id2); }
74 private native long GetPointsInRegion_16(int id0);
75 public vtkIdTypeArray GetPointsInRegion(int id0) {
76 long temp = GetPointsInRegion_16(id0);
78 if (temp == 0) return null;
79 return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
82 private native void FreeSearchStructure_17();
83 public void FreeSearchStructure()
84 { FreeSearchStructure_17(); }
86 private native void GenerateRepresentation_18(int id0,vtkPolyData id1);
87 public void GenerateRepresentation(int id0,vtkPolyData id1)
88 { GenerateRepresentation_18(id0,id1); }
90 public vtkOctreePointLocator() { super(); }
92 public vtkOctreePointLocator(long id) { super(id); }
93 public native long VTKInit();