X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkDoubleArray.java;h=1e86e7140bffa434f68e5a43683eae61ede4a875;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=c4d8f623c4fc165ed34ecbb00cb836fa545958ee;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkDoubleArray.java b/vtk/src/vtk/vtkDoubleArray.java index c4d8f623..1e86e714 100644 --- a/vtk/src/vtk/vtkDoubleArray.java +++ b/vtk/src/vtk/vtkDoubleArray.java @@ -1,79 +1,79 @@ -// java wrapper for vtkDoubleArray object -// - -package vtk; -import vtk.*; - -public class vtkDoubleArray extends vtkDataArray -{ - - 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 int GetDataType_2(); - public int GetDataType() - { return GetDataType_2(); } - - private native double GetValue_3(int id0); - public double GetValue(int id0) - { return GetValue_3(id0); } - - private native void SetValue_4(int id0,double id1); - public void SetValue(int id0,double id1) - { SetValue_4(id0,id1); } - - private native void SetNumberOfValues_5(int id0); - public void SetNumberOfValues(int id0) - { SetNumberOfValues_5(id0); } - - private native void InsertValue_6(int id0,double id1); - public void InsertValue(int id0,double id1) - { InsertValue_6(id0,id1); } - - private native int InsertNextValue_7(double id0); - public int InsertNextValue(double id0) - { return InsertNextValue_7(id0); } - - private native double[] GetValueRange_8(int id0); - public double[] GetValueRange(int id0) - { return GetValueRange_8(id0); } - - private native void GetValueRange_9(double id0[],int id1); - public void GetValueRange(double id0[],int id1) - { GetValueRange_9(id0,id1); } - - private native double[] GetValueRange_10(); - public double[] GetValueRange() - { return GetValueRange_10(); } - - private native void GetValueRange_11(double id0[]); - public void GetValueRange(double id0[]) - { GetValueRange_11(id0); } - - private native double GetDataTypeValueMin_12(); - public double GetDataTypeValueMin() - { return GetDataTypeValueMin_12(); } - - private native double GetDataTypeValueMax_13(); - public double GetDataTypeValueMax() - { return GetDataTypeValueMax_13(); } - - private native double[] GetJavaArray_0(); - public double[] GetJavaArray() - { return GetJavaArray_0(); } - - private native void SetJavaArray_0(double[] arr); - public void SetJavaArray(double[] arr) - { SetJavaArray_0(arr); } - - public vtkDoubleArray() { super(); } - - public vtkDoubleArray(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkDoubleArray object +// + +package vtk; +import vtk.*; + +public class vtkDoubleArray extends vtkDataArray +{ + + 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 int GetDataType_2(); + public int GetDataType() + { return GetDataType_2(); } + + private native double GetValue_3(int id0); + public double GetValue(int id0) + { return GetValue_3(id0); } + + private native void SetValue_4(int id0,double id1); + public void SetValue(int id0,double id1) + { SetValue_4(id0,id1); } + + private native void SetNumberOfValues_5(int id0); + public void SetNumberOfValues(int id0) + { SetNumberOfValues_5(id0); } + + private native void InsertValue_6(int id0,double id1); + public void InsertValue(int id0,double id1) + { InsertValue_6(id0,id1); } + + private native int InsertNextValue_7(double id0); + public int InsertNextValue(double id0) + { return InsertNextValue_7(id0); } + + private native double[] GetValueRange_8(int id0); + public double[] GetValueRange(int id0) + { return GetValueRange_8(id0); } + + private native double[] GetValueRange_9(); + public double[] GetValueRange() + { return GetValueRange_9(); } + + private native long FastDownCast_10(vtkAbstractArray id0); + public vtkDoubleArray FastDownCast(vtkAbstractArray id0) { + long temp = FastDownCast_10(id0); + + if (temp == 0) return null; + return (vtkDoubleArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native double GetDataTypeValueMin_11(); + public double GetDataTypeValueMin() + { return GetDataTypeValueMin_11(); } + + private native double GetDataTypeValueMax_12(); + public double GetDataTypeValueMax() + { return GetDataTypeValueMax_12(); } + + private native double[] GetJavaArray_0(); + public double[] GetJavaArray() + { return GetJavaArray_0(); } + + private native void SetJavaArray_0(double[] arr); + public void SetJavaArray(double[] arr) + { SetJavaArray_0(arr); } + + public vtkDoubleArray() { super(); } + + public vtkDoubleArray(long id) { super(id); } + public native long VTKInit(); + +}