]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkPointLocator.java
00e1fc5359d9725eb92e26c8704fcf800db79589
[simantics/3d.git] / vtk / src / vtk / vtkPointLocator.java
1 // java wrapper for vtkPointLocator object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkPointLocator extends vtkIncrementalPointLocator
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 SetDivisions_2(int id0,int id1,int id2);
19   public void SetDivisions(int id0,int id1,int id2)
20     { SetDivisions_2(id0,id1,id2); }
21
22   private native void SetDivisions_3(int id0[]);
23   public void SetDivisions(int id0[])
24     { SetDivisions_3(id0); }
25
26   private native int[]  GetDivisions_4();
27   public int[]  GetDivisions()
28     { return GetDivisions_4(); }
29
30   private native void SetNumberOfPointsPerBucket_5(int id0);
31   public void SetNumberOfPointsPerBucket(int id0)
32     { SetNumberOfPointsPerBucket_5(id0); }
33
34   private native int GetNumberOfPointsPerBucketMinValue_6();
35   public int GetNumberOfPointsPerBucketMinValue()
36     { return GetNumberOfPointsPerBucketMinValue_6(); }
37
38   private native int GetNumberOfPointsPerBucketMaxValue_7();
39   public int GetNumberOfPointsPerBucketMaxValue()
40     { return GetNumberOfPointsPerBucketMaxValue_7(); }
41
42   private native int GetNumberOfPointsPerBucket_8();
43   public int GetNumberOfPointsPerBucket()
44     { return GetNumberOfPointsPerBucket_8(); }
45
46   private native int FindClosestPoint_9(double id0[]);
47   public int FindClosestPoint(double id0[])
48     { return FindClosestPoint_9(id0); }
49
50   private native int InitPointInsertion_10(vtkPoints id0,double id1[]);
51   public int InitPointInsertion(vtkPoints id0,double id1[])
52     { return InitPointInsertion_10(id0,id1); }
53
54   private native int InitPointInsertion_11(vtkPoints id0,double id1[],int id2);
55   public int InitPointInsertion(vtkPoints id0,double id1[],int id2)
56     { return InitPointInsertion_11(id0,id1,id2); }
57
58   private native void InsertPoint_12(int id0,double id1[]);
59   public void InsertPoint(int id0,double id1[])
60     { InsertPoint_12(id0,id1); }
61
62   private native int InsertNextPoint_13(double id0[]);
63   public int InsertNextPoint(double id0[])
64     { return InsertNextPoint_13(id0); }
65
66   private native int IsInsertedPoint_14(double id0,double id1,double id2);
67   public int IsInsertedPoint(double id0,double id1,double id2)
68     { return IsInsertedPoint_14(id0,id1,id2); }
69
70   private native int IsInsertedPoint_15(double id0[]);
71   public int IsInsertedPoint(double id0[])
72     { return IsInsertedPoint_15(id0); }
73
74   private native int FindClosestInsertedPoint_16(double id0[]);
75   public int FindClosestInsertedPoint(double id0[])
76     { return FindClosestInsertedPoint_16(id0); }
77
78   private native void FindClosestNPoints_17(int id0,double id1[],vtkIdList id2);
79   public void FindClosestNPoints(int id0,double id1[],vtkIdList id2)
80     { FindClosestNPoints_17(id0,id1,id2); }
81
82   private native void FindDistributedPoints_18(int id0,double id1[],vtkIdList id2,int id3);
83   public void FindDistributedPoints(int id0,double id1[],vtkIdList id2,int id3)
84     { FindDistributedPoints_18(id0,id1,id2,id3); }
85
86   private native void FindDistributedPoints_19(int id0,double id1,double id2,double id3,vtkIdList id4,int id5);
87   public void FindDistributedPoints(int id0,double id1,double id2,double id3,vtkIdList id4,int id5)
88     { FindDistributedPoints_19(id0,id1,id2,id3,id4,id5); }
89
90   private native void FindPointsWithinRadius_20(double id0,double id1[],vtkIdList id2);
91   public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2)
92     { FindPointsWithinRadius_20(id0,id1,id2); }
93
94   private native long GetPointsInBucket_21(double id0[],int id1[]);
95   public vtkIdList GetPointsInBucket(double id0[],int id1[]) {
96     long temp = GetPointsInBucket_21(id0,id1);
97
98     if (temp == 0) return null;
99     return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
100 }
101
102   private native long GetPoints_22();
103   public vtkPoints GetPoints() {
104     long temp = GetPoints_22();
105
106     if (temp == 0) return null;
107     return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
108 }
109
110   private native void Initialize_23();
111   public void Initialize()
112     { Initialize_23(); }
113
114   private native void FreeSearchStructure_24();
115   public void FreeSearchStructure()
116     { FreeSearchStructure_24(); }
117
118   private native void BuildLocator_25();
119   public void BuildLocator()
120     { BuildLocator_25(); }
121
122   private native void GenerateRepresentation_26(int id0,vtkPolyData id1);
123   public void GenerateRepresentation(int id0,vtkPolyData id1)
124     { GenerateRepresentation_26(id0,id1); }
125
126   private native int FindClosestPoint_27(double id0,double id1,double id2);
127   public int FindClosestPoint(double id0,double id1,double id2)
128     { return FindClosestPoint_27(id0,id1,id2); }
129
130   public vtkPointLocator() { super(); }
131
132   public vtkPointLocator(long id) { super(id); }
133   public native long   VTKInit();
134
135 }