X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkCellLocator.java;h=1f3697bae40a45bd035e7032746ea924c204d8f5;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=41b22e4486b97ea91e62e5db969466bb3a7dfa5e;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkCellLocator.java b/vtk/src/vtk/vtkCellLocator.java index 41b22e44..1f3697ba 100644 --- a/vtk/src/vtk/vtkCellLocator.java +++ b/vtk/src/vtk/vtkCellLocator.java @@ -1,79 +1,79 @@ -// java wrapper for vtkCellLocator object -// - -package vtk; -import vtk.*; - -public class vtkCellLocator extends vtkAbstractCellLocator -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native void SetNumberOfCellsPerBucket_2(int id0); - public void SetNumberOfCellsPerBucket(int id0) - { SetNumberOfCellsPerBucket_2(id0); } - - private native int GetNumberOfCellsPerBucket_3(); - public int GetNumberOfCellsPerBucket() - { return GetNumberOfCellsPerBucket_3(); } - - private native int IntersectWithLine_4(double id0[],double id1[],vtkPoints id2,vtkIdList id3); - public int IntersectWithLine(double id0[],double id1[],vtkPoints id2,vtkIdList id3) - { return IntersectWithLine_4(id0,id1,id2,id3); } - - private native long GetCells_5(int id0); - public vtkIdList GetCells(int id0) { - long temp = GetCells_5(id0); - - if (temp == 0) return null; - return (vtkIdList)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfBuckets_6(); - public int GetNumberOfBuckets() - { return GetNumberOfBuckets_6(); } - - private native int FindCell_7(double id0[]); - public int FindCell(double id0[]) - { return FindCell_7(id0); } - - private native void FindCellsAlongLine_8(double id0[],double id1[],double id2,vtkIdList id3); - public void FindCellsAlongLine(double id0[],double id1[],double id2,vtkIdList id3) - { FindCellsAlongLine_8(id0,id1,id2,id3); } - - private native void FreeSearchStructure_9(); - public void FreeSearchStructure() - { FreeSearchStructure_9(); } - - private native void BuildLocator_10(); - public void BuildLocator() - { BuildLocator_10(); } - - private native void BuildLocatorIfNeeded_11(); - public void BuildLocatorIfNeeded() - { BuildLocatorIfNeeded_11(); } - - private native void ForceBuildLocator_12(); - public void ForceBuildLocator() - { ForceBuildLocator_12(); } - - private native void BuildLocatorInternal_13(); - public void BuildLocatorInternal() - { BuildLocatorInternal_13(); } - - private native void GenerateRepresentation_14(int id0,vtkPolyData id1); - public void GenerateRepresentation(int id0,vtkPolyData id1) - { GenerateRepresentation_14(id0,id1); } - - public vtkCellLocator() { super(); } - - public vtkCellLocator(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkCellLocator object +// + +package vtk; +import vtk.*; + +public class vtkCellLocator extends vtkAbstractCellLocator +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native void SetNumberOfCellsPerBucket_2(int id0); + public void SetNumberOfCellsPerBucket(int id0) + { SetNumberOfCellsPerBucket_2(id0); } + + private native int GetNumberOfCellsPerBucket_3(); + public int GetNumberOfCellsPerBucket() + { return GetNumberOfCellsPerBucket_3(); } + + private native long GetCells_4(int id0); + public vtkIdList GetCells(int id0) { + long temp = GetCells_4(id0); + + if (temp == 0) return null; + return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetNumberOfBuckets_5(); + public int GetNumberOfBuckets() + { return GetNumberOfBuckets_5(); } + + private native void FindCellsAlongLine_6(double id0[],double id1[],double id2,vtkIdList id3); + public void FindCellsAlongLine(double id0[],double id1[],double id2,vtkIdList id3) + { FindCellsAlongLine_6(id0,id1,id2,id3); } + + private native void FreeSearchStructure_7(); + public void FreeSearchStructure() + { FreeSearchStructure_7(); } + + private native void BuildLocator_8(); + public void BuildLocator() + { BuildLocator_8(); } + + private native void BuildLocatorIfNeeded_9(); + public void BuildLocatorIfNeeded() + { BuildLocatorIfNeeded_9(); } + + private native void ForceBuildLocator_10(); + public void ForceBuildLocator() + { ForceBuildLocator_10(); } + + private native void BuildLocatorInternal_11(); + public void BuildLocatorInternal() + { BuildLocatorInternal_11(); } + + private native void GenerateRepresentation_12(int id0,vtkPolyData id1); + public void GenerateRepresentation(int id0,vtkPolyData id1) + { GenerateRepresentation_12(id0,id1); } + + private native int IntersectWithLine_13(double id0[],double id1[],vtkPoints id2,vtkIdList id3); + public int IntersectWithLine(double id0[],double id1[],vtkPoints id2,vtkIdList id3) + { return IntersectWithLine_13(id0,id1,id2,id3); } + + private native int FindCell_14(double id0[]); + public int FindCell(double id0[]) + { return FindCell_14(id0); } + + public vtkCellLocator() { super(); } + + public vtkCellLocator(long id) { super(id); } + public native long VTKInit(); + +}