]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkOctreePointLocator.java
vtk 8.2.0
[simantics/3d.git] / vtk / src / vtk / vtkOctreePointLocator.java
1 // java wrapper for vtkOctreePointLocator object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkOctreePointLocator extends vtkAbstractPointLocator
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native void SetMaximumPointsPerRegion_2(int id0);
19   public void SetMaximumPointsPerRegion(int id0)
20     { SetMaximumPointsPerRegion_2(id0); }
21
22   private native int GetMaximumPointsPerRegion_3();
23   public int GetMaximumPointsPerRegion()
24     { return GetMaximumPointsPerRegion_3(); }
25
26   private native void SetCreateCubicOctants_4(int id0);
27   public void SetCreateCubicOctants(int id0)
28     { SetCreateCubicOctants_4(id0); }
29
30   private native int GetCreateCubicOctants_5();
31   public int GetCreateCubicOctants()
32     { return GetCreateCubicOctants_5(); }
33
34   private native double GetFudgeFactor_6();
35   public double GetFudgeFactor()
36     { return GetFudgeFactor_6(); }
37
38   private native void SetFudgeFactor_7(double id0);
39   public void SetFudgeFactor(double id0)
40     { SetFudgeFactor_7(id0); }
41
42   private native int GetNumberOfLeafNodes_8();
43   public int GetNumberOfLeafNodes()
44     { return GetNumberOfLeafNodes_8(); }
45
46   private native void GetRegionBounds_9(int id0,double id1[]);
47   public void GetRegionBounds(int id0,double id1[])
48     { GetRegionBounds_9(id0,id1); }
49
50   private native void GetRegionDataBounds_10(int id0,double id1[]);
51   public void GetRegionDataBounds(int id0,double id1[])
52     { GetRegionDataBounds_10(id0,id1); }
53
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); }
57
58   private native void BuildLocator_12();
59   public void BuildLocator()
60     { BuildLocator_12(); }
61
62   private native int FindClosestPoint_13(double id0[]);
63   public int FindClosestPoint(double id0[])
64     { return FindClosestPoint_13(id0); }
65
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); }
69
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); }
73
74   private native long GetPointsInRegion_16(int id0);
75   public vtkIdTypeArray GetPointsInRegion(int id0) {
76     long temp = GetPointsInRegion_16(id0);
77
78     if (temp == 0) return null;
79     return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
80 }
81
82   private native void FreeSearchStructure_17();
83   public void FreeSearchStructure()
84     { FreeSearchStructure_17(); }
85
86   private native void GenerateRepresentation_18(int id0,vtkPolyData id1);
87   public void GenerateRepresentation(int id0,vtkPolyData id1)
88     { GenerateRepresentation_18(id0,id1); }
89
90   public vtkOctreePointLocator() { super(); }
91
92   public vtkOctreePointLocator(long id) { super(id); }
93   public native long   VTKInit();
94
95 }