]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkCellLocator.java
Perform view direction switching via vtkCameraAndSelectorAction
[simantics/3d.git] / vtk / src / vtk / vtkCellLocator.java
1 // java wrapper for vtkCellLocator object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkCellLocator extends vtkAbstractCellLocator
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 SetNumberOfCellsPerBucket_2(int id0);
19   public void SetNumberOfCellsPerBucket(int id0)
20     { SetNumberOfCellsPerBucket_2(id0); }
21
22   private native int GetNumberOfCellsPerBucket_3();
23   public int GetNumberOfCellsPerBucket()
24     { return GetNumberOfCellsPerBucket_3(); }
25
26   private native long GetCells_4(int id0);
27   public vtkIdList GetCells(int id0) {
28     long temp = GetCells_4(id0);
29
30     if (temp == 0) return null;
31     return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
32 }
33
34   private native int GetNumberOfBuckets_5();
35   public int GetNumberOfBuckets()
36     { return GetNumberOfBuckets_5(); }
37
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); }
41
42   private native void FreeSearchStructure_7();
43   public void FreeSearchStructure()
44     { FreeSearchStructure_7(); }
45
46   private native void BuildLocator_8();
47   public void BuildLocator()
48     { BuildLocator_8(); }
49
50   private native void BuildLocatorIfNeeded_9();
51   public void BuildLocatorIfNeeded()
52     { BuildLocatorIfNeeded_9(); }
53
54   private native void ForceBuildLocator_10();
55   public void ForceBuildLocator()
56     { ForceBuildLocator_10(); }
57
58   private native void BuildLocatorInternal_11();
59   public void BuildLocatorInternal()
60     { BuildLocatorInternal_11(); }
61
62   private native void GenerateRepresentation_12(int id0,vtkPolyData id1);
63   public void GenerateRepresentation(int id0,vtkPolyData id1)
64     { GenerateRepresentation_12(id0,id1); }
65
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); }
69
70   private native int FindCell_14(double id0[]);
71   public int FindCell(double id0[])
72     { return FindCell_14(id0); }
73
74   public vtkCellLocator() { super(); }
75
76   public vtkCellLocator(long id) { super(id); }
77   public native long   VTKInit();
78
79 }