X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkCell.java;h=81ae92e4e0e5e843dae3debfe563e5036a026d5c;hb=4890725c9b7e31540dd84a11e16d73c643402a17;hp=36e144ab05ed75008c255aeacc4e460aa150afda;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkCell.java b/vtk/src/vtk/vtkCell.java index 36e144ab..81ae92e4 100644 --- a/vtk/src/vtk/vtkCell.java +++ b/vtk/src/vtk/vtkCell.java @@ -1,154 +1,150 @@ -// java wrapper for vtkCell object -// - -package vtk; -import vtk.*; - -public class vtkCell 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 ShallowCopy_2(vtkCell id0); - public void ShallowCopy(vtkCell id0) - { ShallowCopy_2(id0); } - - private native void DeepCopy_3(vtkCell id0); - public void DeepCopy(vtkCell id0) - { DeepCopy_3(id0); } - - private native int GetCellType_4(); - public int GetCellType() - { return GetCellType_4(); } - - private native int GetCellDimension_5(); - public int GetCellDimension() - { return GetCellDimension_5(); } - - private native int IsLinear_6(); - public int IsLinear() - { return IsLinear_6(); } - - private native int RequiresInitialization_7(); - public int RequiresInitialization() - { return RequiresInitialization_7(); } - - private native void Initialize_8(); - public void Initialize() - { Initialize_8(); } - - private native int IsExplicitCell_9(); - public int IsExplicitCell() - { return IsExplicitCell_9(); } - - private native int RequiresExplicitFaceRepresentation_10(); - public int RequiresExplicitFaceRepresentation() - { return RequiresExplicitFaceRepresentation_10(); } - - private native long GetPoints_11(); - public vtkPoints GetPoints() { - long temp = GetPoints_11(); - - if (temp == 0) return null; - return (vtkPoints)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetNumberOfPoints_12(); - public int GetNumberOfPoints() - { return GetNumberOfPoints_12(); } - - private native int GetNumberOfEdges_13(); - public int GetNumberOfEdges() - { return GetNumberOfEdges_13(); } - - private native int GetNumberOfFaces_14(); - public int GetNumberOfFaces() - { return GetNumberOfFaces_14(); } - - private native long GetPointIds_15(); - public vtkIdList GetPointIds() { - long temp = GetPointIds_15(); - - if (temp == 0) return null; - return (vtkIdList)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int GetPointId_16(int id0); - public int GetPointId(int id0) - { return GetPointId_16(id0); } - - private native long GetEdge_17(int id0); - public vtkCell GetEdge(int id0) { - long temp = GetEdge_17(id0); - - if (temp == 0) return null; - return (vtkCell)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetFace_18(int id0); - public vtkCell GetFace(int id0) { - long temp = GetFace_18(id0); - - if (temp == 0) return null; - return (vtkCell)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int CellBoundary_19(int id0,double id1[],vtkIdList id2); - public int CellBoundary(int id0,double id1[],vtkIdList id2) - { return CellBoundary_19(id0,id1,id2); } - - private native void Contour_20(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10); - public void Contour(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10) - { Contour_20(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9,id10); } - - private native void Clip_21(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9); - public void Clip(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9) - { Clip_21(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9); } - - private native int Triangulate_22(int id0,vtkIdList id1,vtkPoints id2); - public int Triangulate(int id0,vtkIdList id1,vtkPoints id2) - { return Triangulate_22(id0,id1,id2); } - - private native void GetBounds_23(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_23(id0); } - - private native double[] GetBounds_24(); - public double[] GetBounds() - { return GetBounds_24(); } - - private native double GetLength2_25(); - public double GetLength2() - { return GetLength2_25(); } - - private native int GetParametricCenter_26(double id0[]); - public int GetParametricCenter(double id0[]) - { return GetParametricCenter_26(id0); } - - private native double GetParametricDistance_27(double id0[]); - public double GetParametricDistance(double id0[]) - { return GetParametricDistance_27(id0); } - - private native int IsPrimaryCell_28(); - public int IsPrimaryCell() - { return IsPrimaryCell_28(); } - - private native void InterpolateFunctions_29(double id0[],double id1[]); - public void InterpolateFunctions(double id0[],double id1[]) - { InterpolateFunctions_29(id0,id1); } - - private native void InterpolateDerivs_30(double id0[],double id1[]); - public void InterpolateDerivs(double id0[],double id1[]) - { InterpolateDerivs_30(id0,id1); } - - public vtkCell() { super(); } - - public vtkCell(long id) { super(id); } - -} +// java wrapper for vtkCell object +// + +package vtk; +import vtk.*; + +public class vtkCell 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 Initialize_2(int id0,vtkPoints id1); + public void Initialize(int id0,vtkPoints id1) + { Initialize_2(id0,id1); } + + private native void ShallowCopy_3(vtkCell id0); + public void ShallowCopy(vtkCell id0) + { ShallowCopy_3(id0); } + + private native void DeepCopy_4(vtkCell id0); + public void DeepCopy(vtkCell id0) + { DeepCopy_4(id0); } + + private native int GetCellType_5(); + public int GetCellType() + { return GetCellType_5(); } + + private native int GetCellDimension_6(); + public int GetCellDimension() + { return GetCellDimension_6(); } + + private native int IsLinear_7(); + public int IsLinear() + { return IsLinear_7(); } + + private native int RequiresInitialization_8(); + public int RequiresInitialization() + { return RequiresInitialization_8(); } + + private native void Initialize_9(); + public void Initialize() + { Initialize_9(); } + + private native int IsExplicitCell_10(); + public int IsExplicitCell() + { return IsExplicitCell_10(); } + + private native int RequiresExplicitFaceRepresentation_11(); + public int RequiresExplicitFaceRepresentation() + { return RequiresExplicitFaceRepresentation_11(); } + + private native long GetPoints_12(); + public vtkPoints GetPoints() { + long temp = GetPoints_12(); + + if (temp == 0) return null; + return (vtkPoints)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetNumberOfPoints_13(); + public int GetNumberOfPoints() + { return GetNumberOfPoints_13(); } + + private native int GetNumberOfEdges_14(); + public int GetNumberOfEdges() + { return GetNumberOfEdges_14(); } + + private native int GetNumberOfFaces_15(); + public int GetNumberOfFaces() + { return GetNumberOfFaces_15(); } + + private native long GetPointIds_16(); + public vtkIdList GetPointIds() { + long temp = GetPointIds_16(); + + if (temp == 0) return null; + return (vtkIdList)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int GetPointId_17(int id0); + public int GetPointId(int id0) + { return GetPointId_17(id0); } + + private native long GetEdge_18(int id0); + public vtkCell GetEdge(int id0) { + long temp = GetEdge_18(id0); + + if (temp == 0) return null; + return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetFace_19(int id0); + public vtkCell GetFace(int id0) { + long temp = GetFace_19(id0); + + if (temp == 0) return null; + return (vtkCell)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native int CellBoundary_20(int id0,double id1[],vtkIdList id2); + public int CellBoundary(int id0,double id1[],vtkIdList id2) + { return CellBoundary_20(id0,id1,id2); } + + private native void Contour_21(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10); + public void Contour(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkCellArray id4,vtkCellArray id5,vtkPointData id6,vtkPointData id7,vtkCellData id8,int id9,vtkCellData id10) + { Contour_21(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9,id10); } + + private native void Clip_22(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9); + public void Clip(double id0,vtkDataArray id1,vtkIncrementalPointLocator id2,vtkCellArray id3,vtkPointData id4,vtkPointData id5,vtkCellData id6,int id7,vtkCellData id8,int id9) + { Clip_22(id0,id1,id2,id3,id4,id5,id6,id7,id8,id9); } + + private native int Triangulate_23(int id0,vtkIdList id1,vtkPoints id2); + public int Triangulate(int id0,vtkIdList id1,vtkPoints id2) + { return Triangulate_23(id0,id1,id2); } + + private native void GetBounds_24(double id0[]); + public void GetBounds(double id0[]) + { GetBounds_24(id0); } + + private native double[] GetBounds_25(); + public double[] GetBounds() + { return GetBounds_25(); } + + private native double GetLength2_26(); + public double GetLength2() + { return GetLength2_26(); } + + private native int GetParametricCenter_27(double id0[]); + public int GetParametricCenter(double id0[]) + { return GetParametricCenter_27(id0); } + + private native double GetParametricDistance_28(double id0[]); + public double GetParametricDistance(double id0[]) + { return GetParametricDistance_28(id0); } + + private native int IsPrimaryCell_29(); + public int IsPrimaryCell() + { return IsPrimaryCell_29(); } + + public vtkCell() { super(); } + + public vtkCell(long id) { super(id); } + +}