X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkIncrementalOctreePointLocator.java;h=f55090ba7b2fc42dbd665e1b21d66b57fe8533f3;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=98571fabd8d9dc0c12097f19b607872d7b41a96c;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkIncrementalOctreePointLocator.java b/vtk/src/vtk/vtkIncrementalOctreePointLocator.java index 98571fab..f55090ba 100644 --- a/vtk/src/vtk/vtkIncrementalOctreePointLocator.java +++ b/vtk/src/vtk/vtkIncrementalOctreePointLocator.java @@ -1,131 +1,131 @@ -// java wrapper for vtkIncrementalOctreePointLocator object -// - -package vtk; -import vtk.*; - -public class vtkIncrementalOctreePointLocator extends vtkIncrementalPointLocator -{ - - 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 SetMaxPointsPerLeaf_2(int id0); - public void SetMaxPointsPerLeaf(int id0) - { SetMaxPointsPerLeaf_2(id0); } - - private native int GetMaxPointsPerLeafMinValue_3(); - public int GetMaxPointsPerLeafMinValue() - { return GetMaxPointsPerLeafMinValue_3(); } - - private native int GetMaxPointsPerLeafMaxValue_4(); - public int GetMaxPointsPerLeafMaxValue() - { return GetMaxPointsPerLeafMaxValue_4(); } - - private native int GetMaxPointsPerLeaf_5(); - public int GetMaxPointsPerLeaf() - { return GetMaxPointsPerLeaf_5(); } - - private native void SetBuildCubicOctree_6(int id0); - public void SetBuildCubicOctree(int id0) - { SetBuildCubicOctree_6(id0); } - - private native int GetBuildCubicOctree_7(); - public int GetBuildCubicOctree() - { return GetBuildCubicOctree_7(); } - - private native void BuildCubicOctreeOn_8(); - public void BuildCubicOctreeOn() - { BuildCubicOctreeOn_8(); } - - private native void BuildCubicOctreeOff_9(); - public void BuildCubicOctreeOff() - { BuildCubicOctreeOff_9(); } - - private native long GetLocatorPoints_10(); - public vtkPoints GetLocatorPoints() { - long temp = GetLocatorPoints_10(); - - if (temp == 0) return null; - return (vtkPoints)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void Initialize_11(); - public void Initialize() - { Initialize_11(); } - - private native void FreeSearchStructure_12(); - public void FreeSearchStructure() - { FreeSearchStructure_12(); } - - private native int GetNumberOfPoints_13(); - public int GetNumberOfPoints() - { return GetNumberOfPoints_13(); } - - private native int FindClosestInsertedPoint_14(double id0[]); - public int FindClosestInsertedPoint(double id0[]) - { return FindClosestInsertedPoint_14(id0); } - - private native void GenerateRepresentation_15(int id0,vtkPolyData id1); - public void GenerateRepresentation(int id0,vtkPolyData id1) - { GenerateRepresentation_15(id0,id1); } - - private native void BuildLocator_16(); - public void BuildLocator() - { BuildLocator_16(); } - - private native int FindClosestPoint_17(double id0[]); - public int FindClosestPoint(double id0[]) - { return FindClosestPoint_17(id0); } - - private native int FindClosestPoint_18(double id0,double id1,double id2); - public int FindClosestPoint(double id0,double id1,double id2) - { return FindClosestPoint_18(id0,id1,id2); } - - private native void FindPointsWithinRadius_19(double id0,double id1[],vtkIdList id2); - public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2) - { FindPointsWithinRadius_19(id0,id1,id2); } - - private native void FindPointsWithinSquaredRadius_20(double id0,double id1[],vtkIdList id2); - public void FindPointsWithinSquaredRadius(double id0,double id1[],vtkIdList id2) - { FindPointsWithinSquaredRadius_20(id0,id1,id2); } - - private native void FindClosestNPoints_21(int id0,double id1[],vtkIdList id2); - public void FindClosestNPoints(int id0,double id1[],vtkIdList id2) - { FindClosestNPoints_21(id0,id1,id2); } - - private native int InitPointInsertion_22(vtkPoints id0,double id1[]); - public int InitPointInsertion(vtkPoints id0,double id1[]) - { return InitPointInsertion_22(id0,id1); } - - private native int InitPointInsertion_23(vtkPoints id0,double id1[],int id2); - public int InitPointInsertion(vtkPoints id0,double id1[],int id2) - { return InitPointInsertion_23(id0,id1,id2); } - - private native int IsInsertedPoint_24(double id0[]); - public int IsInsertedPoint(double id0[]) - { return IsInsertedPoint_24(id0); } - - private native int IsInsertedPoint_25(double id0,double id1,double id2); - public int IsInsertedPoint(double id0,double id1,double id2) - { return IsInsertedPoint_25(id0,id1,id2); } - - private native void InsertPoint_26(int id0,double id1[]); - public void InsertPoint(int id0,double id1[]) - { InsertPoint_26(id0,id1); } - - private native int InsertNextPoint_27(double id0[]); - public int InsertNextPoint(double id0[]) - { return InsertNextPoint_27(id0); } - - public vtkIncrementalOctreePointLocator() { super(); } - - public vtkIncrementalOctreePointLocator(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkIncrementalOctreePointLocator object +// + +package vtk; +import vtk.*; + +public class vtkIncrementalOctreePointLocator extends vtkIncrementalPointLocator +{ + + 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 SetMaxPointsPerLeaf_2(int id0); + public void SetMaxPointsPerLeaf(int id0) + { SetMaxPointsPerLeaf_2(id0); } + + private native int GetMaxPointsPerLeafMinValue_3(); + public int GetMaxPointsPerLeafMinValue() + { return GetMaxPointsPerLeafMinValue_3(); } + + private native int GetMaxPointsPerLeafMaxValue_4(); + public int GetMaxPointsPerLeafMaxValue() + { return GetMaxPointsPerLeafMaxValue_4(); } + + private native int GetMaxPointsPerLeaf_5(); + public int GetMaxPointsPerLeaf() + { return GetMaxPointsPerLeaf_5(); } + + private native void SetBuildCubicOctree_6(int id0); + public void SetBuildCubicOctree(int id0) + { SetBuildCubicOctree_6(id0); } + + private native int GetBuildCubicOctree_7(); + public int GetBuildCubicOctree() + { return GetBuildCubicOctree_7(); } + + private native void BuildCubicOctreeOn_8(); + public void BuildCubicOctreeOn() + { BuildCubicOctreeOn_8(); } + + private native void BuildCubicOctreeOff_9(); + public void BuildCubicOctreeOff() + { BuildCubicOctreeOff_9(); } + + private native long GetLocatorPoints_10(); + public vtkPoints GetLocatorPoints() { + long temp = GetLocatorPoints_10(); + + if (temp == 0) return null; + return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void Initialize_11(); + public void Initialize() + { Initialize_11(); } + + private native void FreeSearchStructure_12(); + public void FreeSearchStructure() + { FreeSearchStructure_12(); } + + private native int GetNumberOfPoints_13(); + public int GetNumberOfPoints() + { return GetNumberOfPoints_13(); } + + private native int FindClosestInsertedPoint_14(double id0[]); + public int FindClosestInsertedPoint(double id0[]) + { return FindClosestInsertedPoint_14(id0); } + + private native void GenerateRepresentation_15(int id0,vtkPolyData id1); + public void GenerateRepresentation(int id0,vtkPolyData id1) + { GenerateRepresentation_15(id0,id1); } + + private native void BuildLocator_16(); + public void BuildLocator() + { BuildLocator_16(); } + + private native int FindClosestPoint_17(double id0[]); + public int FindClosestPoint(double id0[]) + { return FindClosestPoint_17(id0); } + + private native int FindClosestPoint_18(double id0,double id1,double id2); + public int FindClosestPoint(double id0,double id1,double id2) + { return FindClosestPoint_18(id0,id1,id2); } + + private native void FindPointsWithinRadius_19(double id0,double id1[],vtkIdList id2); + public void FindPointsWithinRadius(double id0,double id1[],vtkIdList id2) + { FindPointsWithinRadius_19(id0,id1,id2); } + + private native void FindPointsWithinSquaredRadius_20(double id0,double id1[],vtkIdList id2); + public void FindPointsWithinSquaredRadius(double id0,double id1[],vtkIdList id2) + { FindPointsWithinSquaredRadius_20(id0,id1,id2); } + + private native void FindClosestNPoints_21(int id0,double id1[],vtkIdList id2); + public void FindClosestNPoints(int id0,double id1[],vtkIdList id2) + { FindClosestNPoints_21(id0,id1,id2); } + + private native int InitPointInsertion_22(vtkPoints id0,double id1[]); + public int InitPointInsertion(vtkPoints id0,double id1[]) + { return InitPointInsertion_22(id0,id1); } + + private native int InitPointInsertion_23(vtkPoints id0,double id1[],int id2); + public int InitPointInsertion(vtkPoints id0,double id1[],int id2) + { return InitPointInsertion_23(id0,id1,id2); } + + private native int IsInsertedPoint_24(double id0[]); + public int IsInsertedPoint(double id0[]) + { return IsInsertedPoint_24(id0); } + + private native int IsInsertedPoint_25(double id0,double id1,double id2); + public int IsInsertedPoint(double id0,double id1,double id2) + { return IsInsertedPoint_25(id0,id1,id2); } + + private native void InsertPoint_26(int id0,double id1[]); + public void InsertPoint(int id0,double id1[]) + { InsertPoint_26(id0,id1); } + + private native int InsertNextPoint_27(double id0[]); + public int InsertNextPoint(double id0[]) + { return InsertNextPoint_27(id0); } + + public vtkIncrementalOctreePointLocator() { super(); } + + public vtkIncrementalOctreePointLocator(long id) { super(id); } + public native long VTKInit(); + +}