1 // java wrapper for vtkCellLocator object
7 public class vtkCellLocator extends vtkAbstractCellLocator
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 SetNumberOfCellsPerBucket_2(int id0);
19 public void SetNumberOfCellsPerBucket(int id0)
20 { SetNumberOfCellsPerBucket_2(id0); }
22 private native int GetNumberOfCellsPerBucket_3();
23 public int GetNumberOfCellsPerBucket()
24 { return GetNumberOfCellsPerBucket_3(); }
26 private native long GetCells_4(int id0);
27 public vtkIdList GetCells(int id0) {
28 long temp = GetCells_4(id0);
30 if (temp == 0) return null;
31 return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
34 private native int GetNumberOfBuckets_5();
35 public int GetNumberOfBuckets()
36 { return GetNumberOfBuckets_5(); }
38 private native void FindCellsAlongLine_6(double id0[],double id1[],double id2,vtkIdList id3);
39 public void FindCellsAlongLine(double id0[],double id1[],double id2,vtkIdList id3)
40 { FindCellsAlongLine_6(id0,id1,id2,id3); }
42 private native void FreeSearchStructure_7();
43 public void FreeSearchStructure()
44 { FreeSearchStructure_7(); }
46 private native void BuildLocator_8();
47 public void BuildLocator()
50 private native void BuildLocatorIfNeeded_9();
51 public void BuildLocatorIfNeeded()
52 { BuildLocatorIfNeeded_9(); }
54 private native void ForceBuildLocator_10();
55 public void ForceBuildLocator()
56 { ForceBuildLocator_10(); }
58 private native void BuildLocatorInternal_11();
59 public void BuildLocatorInternal()
60 { BuildLocatorInternal_11(); }
62 private native void GenerateRepresentation_12(int id0,vtkPolyData id1);
63 public void GenerateRepresentation(int id0,vtkPolyData id1)
64 { GenerateRepresentation_12(id0,id1); }
66 private native int IntersectWithLine_13(double id0[],double id1[],vtkPoints id2,vtkIdList id3);
67 public int IntersectWithLine(double id0[],double id1[],vtkPoints id2,vtkIdList id3)
68 { return IntersectWithLine_13(id0,id1,id2,id3); }
70 private native int FindCell_14(double id0[]);
71 public int FindCell(double id0[])
72 { return FindCell_14(id0); }
74 public vtkCellLocator() { super(); }
76 public vtkCellLocator(long id) { super(id); }
77 public native long VTKInit();