X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkOctreePointLocator.java;h=051fa1882e1de74c7d03ae02946273b4b38a0aaf;hb=a8fd21b46927e6ab9b6887dd87ddc6eca8161a76;hp=8ecf2625f263e6783ed4d040427408b3176950d9;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkOctreePointLocator.java b/vtk/src/vtk/vtkOctreePointLocator.java index 8ecf2625..051fa188 100644 --- a/vtk/src/vtk/vtkOctreePointLocator.java +++ b/vtk/src/vtk/vtkOctreePointLocator.java @@ -1,95 +1,95 @@ -// java wrapper for vtkOctreePointLocator object -// - -package vtk; -import vtk.*; - -public class vtkOctreePointLocator extends vtkAbstractPointLocator -{ - - 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 SetMaximumPointsPerRegion_2(int id0); - public void SetMaximumPointsPerRegion(int id0) - { SetMaximumPointsPerRegion_2(id0); } - - private native int GetMaximumPointsPerRegion_3(); - public int GetMaximumPointsPerRegion() - { return GetMaximumPointsPerRegion_3(); } - - private native void SetCreateCubicOctants_4(int id0); - public void SetCreateCubicOctants(int id0) - { SetCreateCubicOctants_4(id0); } - - private native int GetCreateCubicOctants_5(); - public int GetCreateCubicOctants() - { return GetCreateCubicOctants_5(); } - - private native double GetFudgeFactor_6(); - public double GetFudgeFactor() - { return GetFudgeFactor_6(); } - - private native void SetFudgeFactor_7(double id0); - public void SetFudgeFactor(double id0) - { SetFudgeFactor_7(id0); } - - private native int GetNumberOfLeafNodes_8(); - public int GetNumberOfLeafNodes() - { return GetNumberOfLeafNodes_8(); } - - private native void GetRegionBounds_9(int id0,double id1[]); - public void GetRegionBounds(int id0,double id1[]) - { GetRegionBounds_9(id0,id1); } - - private native void GetRegionDataBounds_10(int id0,double id1[]); - public void GetRegionDataBounds(int id0,double id1[]) - { GetRegionDataBounds_10(id0,id1); } - - private native int GetRegionContainingPoint_11(double id0,double id1,double id2); - public int GetRegionContainingPoint(double id0,double id1,double id2) - { return GetRegionContainingPoint_11(id0,id1,id2); } - - private native void BuildLocator_12(); - public void BuildLocator() - { BuildLocator_12(); } - - private native int FindClosestPoint_13(double id0[]); - public int FindClosestPoint(double id0[]) - { return FindClosestPoint_13(id0); } - - private native void FindPointsWithinRadius_14(double id0,double id1[],vtkIdList id2); - public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2) - { FindPointsWithinRadius_14(id0,id1,id2); } - - private native void FindClosestNPoints_15(int id0,double id1[],vtkIdList id2); - public void FindClosestNPoints(int id0,double id1[],vtkIdList id2) - { FindClosestNPoints_15(id0,id1,id2); } - - private native long GetPointsInRegion_16(int id0); - public vtkIdTypeArray GetPointsInRegion(int id0) { - long temp = GetPointsInRegion_16(id0); - - if (temp == 0) return null; - return (vtkIdTypeArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void FreeSearchStructure_17(); - public void FreeSearchStructure() - { FreeSearchStructure_17(); } - - private native void GenerateRepresentation_18(int id0,vtkPolyData id1); - public void GenerateRepresentation(int id0,vtkPolyData id1) - { GenerateRepresentation_18(id0,id1); } - - public vtkOctreePointLocator() { super(); } - - public vtkOctreePointLocator(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkOctreePointLocator object +// + +package vtk; +import vtk.*; + +public class vtkOctreePointLocator extends vtkAbstractPointLocator +{ + + 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 SetMaximumPointsPerRegion_2(int id0); + public void SetMaximumPointsPerRegion(int id0) + { SetMaximumPointsPerRegion_2(id0); } + + private native int GetMaximumPointsPerRegion_3(); + public int GetMaximumPointsPerRegion() + { return GetMaximumPointsPerRegion_3(); } + + private native void SetCreateCubicOctants_4(int id0); + public void SetCreateCubicOctants(int id0) + { SetCreateCubicOctants_4(id0); } + + private native int GetCreateCubicOctants_5(); + public int GetCreateCubicOctants() + { return GetCreateCubicOctants_5(); } + + private native double GetFudgeFactor_6(); + public double GetFudgeFactor() + { return GetFudgeFactor_6(); } + + private native void SetFudgeFactor_7(double id0); + public void SetFudgeFactor(double id0) + { SetFudgeFactor_7(id0); } + + private native int GetNumberOfLeafNodes_8(); + public int GetNumberOfLeafNodes() + { return GetNumberOfLeafNodes_8(); } + + private native void GetRegionBounds_9(int id0,double id1[]); + public void GetRegionBounds(int id0,double id1[]) + { GetRegionBounds_9(id0,id1); } + + private native void GetRegionDataBounds_10(int id0,double id1[]); + public void GetRegionDataBounds(int id0,double id1[]) + { GetRegionDataBounds_10(id0,id1); } + + private native int GetRegionContainingPoint_11(double id0,double id1,double id2); + public int GetRegionContainingPoint(double id0,double id1,double id2) + { return GetRegionContainingPoint_11(id0,id1,id2); } + + private native void BuildLocator_12(); + public void BuildLocator() + { BuildLocator_12(); } + + private native int FindClosestPoint_13(double id0[]); + public int FindClosestPoint(double id0[]) + { return FindClosestPoint_13(id0); } + + private native void FindPointsWithinRadius_14(double id0,double id1[],vtkIdList id2); + public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2) + { FindPointsWithinRadius_14(id0,id1,id2); } + + private native void FindClosestNPoints_15(int id0,double id1[],vtkIdList id2); + public void FindClosestNPoints(int id0,double id1[],vtkIdList id2) + { FindClosestNPoints_15(id0,id1,id2); } + + private native long GetPointsInRegion_16(int id0); + public vtkIdTypeArray GetPointsInRegion(int id0) { + long temp = GetPointsInRegion_16(id0); + + if (temp == 0) return null; + return (vtkIdTypeArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void FreeSearchStructure_17(); + public void FreeSearchStructure() + { FreeSearchStructure_17(); } + + private native void GenerateRepresentation_18(int id0,vtkPolyData id1); + public void GenerateRepresentation(int id0,vtkPolyData id1) + { GenerateRepresentation_18(id0,id1); } + + public vtkOctreePointLocator() { super(); } + + public vtkOctreePointLocator(long id) { super(id); } + public native long VTKInit(); + +}