X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkBSPIntersections.java;h=59ec0e11a432629599d46692dad8efed2201e71d;hb=3523a218827de60e1aa4ce7be126342418ddb054;hp=da61ff500052792bb0321b549571c4eca7b6e79f;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkBSPIntersections.java b/vtk/src/vtk/vtkBSPIntersections.java index da61ff50..59ec0e11 100644 --- a/vtk/src/vtk/vtkBSPIntersections.java +++ b/vtk/src/vtk/vtkBSPIntersections.java @@ -1,75 +1,75 @@ -// java wrapper for vtkBSPIntersections object -// - -package vtk; -import vtk.*; - -public class vtkBSPIntersections extends vtkObject -{ - - 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 SetCuts_2(vtkBSPCuts id0); - public void SetCuts(vtkBSPCuts id0) - { SetCuts_2(id0); } - - private native long GetCuts_3(); - public vtkBSPCuts GetCuts() { - long temp = GetCuts_3(); - - if (temp == 0) return null; - return (vtkBSPCuts)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfRegions_4(); - public int GetNumberOfRegions() - { return GetNumberOfRegions_4(); } - - private native int GetRegionBounds_5(int id0,double id1[]); - public int GetRegionBounds(int id0,double id1[]) - { return GetRegionBounds_5(id0,id1); } - - private native int GetRegionDataBounds_6(int id0,double id1[]); - public int GetRegionDataBounds(int id0,double id1[]) - { return GetRegionDataBounds_6(id0,id1); } - - private native int IntersectsBox_7(int id0,double id1,double id2,double id3,double id4,double id5,double id6); - public int IntersectsBox(int id0,double id1,double id2,double id3,double id4,double id5,double id6) - { return IntersectsBox_7(id0,id1,id2,id3,id4,id5,id6); } - - private native int IntersectsSphere2_8(int id0,double id1,double id2,double id3,double id4); - public int IntersectsSphere2(int id0,double id1,double id2,double id3,double id4) - { return IntersectsSphere2_8(id0,id1,id2,id3,id4); } - - private native int IntersectsCell_9(int id0,vtkCell id1,int id2); - public int IntersectsCell(int id0,vtkCell id1,int id2) - { return IntersectsCell_9(id0,id1,id2); } - - private native int GetComputeIntersectionsUsingDataBounds_10(); - public int GetComputeIntersectionsUsingDataBounds() - { return GetComputeIntersectionsUsingDataBounds_10(); } - - private native void SetComputeIntersectionsUsingDataBounds_11(int id0); - public void SetComputeIntersectionsUsingDataBounds(int id0) - { SetComputeIntersectionsUsingDataBounds_11(id0); } - - private native void ComputeIntersectionsUsingDataBoundsOn_12(); - public void ComputeIntersectionsUsingDataBoundsOn() - { ComputeIntersectionsUsingDataBoundsOn_12(); } - - private native void ComputeIntersectionsUsingDataBoundsOff_13(); - public void ComputeIntersectionsUsingDataBoundsOff() - { ComputeIntersectionsUsingDataBoundsOff_13(); } - - public vtkBSPIntersections() { super(); } - - public vtkBSPIntersections(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkBSPIntersections object +// + +package vtk; +import vtk.*; + +public class vtkBSPIntersections extends vtkObject +{ + + 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 SetCuts_2(vtkBSPCuts id0); + public void SetCuts(vtkBSPCuts id0) + { SetCuts_2(id0); } + + private native long GetCuts_3(); + public vtkBSPCuts GetCuts() { + long temp = GetCuts_3(); + + if (temp == 0) return null; + return (vtkBSPCuts)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetNumberOfRegions_4(); + public int GetNumberOfRegions() + { return GetNumberOfRegions_4(); } + + private native int GetRegionBounds_5(int id0,double id1[]); + public int GetRegionBounds(int id0,double id1[]) + { return GetRegionBounds_5(id0,id1); } + + private native int GetRegionDataBounds_6(int id0,double id1[]); + public int GetRegionDataBounds(int id0,double id1[]) + { return GetRegionDataBounds_6(id0,id1); } + + private native int IntersectsBox_7(int id0,double id1,double id2,double id3,double id4,double id5,double id6); + public int IntersectsBox(int id0,double id1,double id2,double id3,double id4,double id5,double id6) + { return IntersectsBox_7(id0,id1,id2,id3,id4,id5,id6); } + + private native int IntersectsSphere2_8(int id0,double id1,double id2,double id3,double id4); + public int IntersectsSphere2(int id0,double id1,double id2,double id3,double id4) + { return IntersectsSphere2_8(id0,id1,id2,id3,id4); } + + private native int IntersectsCell_9(int id0,vtkCell id1,int id2); + public int IntersectsCell(int id0,vtkCell id1,int id2) + { return IntersectsCell_9(id0,id1,id2); } + + private native int GetComputeIntersectionsUsingDataBounds_10(); + public int GetComputeIntersectionsUsingDataBounds() + { return GetComputeIntersectionsUsingDataBounds_10(); } + + private native void SetComputeIntersectionsUsingDataBounds_11(int id0); + public void SetComputeIntersectionsUsingDataBounds(int id0) + { SetComputeIntersectionsUsingDataBounds_11(id0); } + + private native void ComputeIntersectionsUsingDataBoundsOn_12(); + public void ComputeIntersectionsUsingDataBoundsOn() + { ComputeIntersectionsUsingDataBoundsOn_12(); } + + private native void ComputeIntersectionsUsingDataBoundsOff_13(); + public void ComputeIntersectionsUsingDataBoundsOff() + { ComputeIntersectionsUsingDataBoundsOff_13(); } + + public vtkBSPIntersections() { super(); } + + public vtkBSPIntersections(long id) { super(id); } + public native long VTKInit(); + +}