X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkFloatArray.java;h=dddca89aeb23c73bf6e53b0bfbb811d282cdb151;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=13d79aa7dbbe544db499262227f617ca281c86df;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkFloatArray.java b/vtk/src/vtk/vtkFloatArray.java index 13d79aa7..dddca89a 100644 --- a/vtk/src/vtk/vtkFloatArray.java +++ b/vtk/src/vtk/vtkFloatArray.java @@ -1,79 +1,79 @@ -// java wrapper for vtkFloatArray object -// - -package vtk; -import vtk.*; - -public class vtkFloatArray 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 float[] GetJavaArray_0(); - public float[] GetJavaArray() - { return GetJavaArray_0(); } - - private native void SetJavaArray_0(float[] arr); - public void SetJavaArray(float[] arr) - { SetJavaArray_0(arr); } - - public vtkFloatArray() { super(); } - - public vtkFloatArray(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkFloatArray object +// + +package vtk; +import vtk.*; + +public class vtkFloatArray 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 vtkFloatArray FastDownCast(vtkAbstractArray id0) { + long temp = FastDownCast_10(id0); + + if (temp == 0) return null; + return (vtkFloatArray)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 float[] GetJavaArray_0(); + public float[] GetJavaArray() + { return GetJavaArray_0(); } + + private native void SetJavaArray_0(float[] arr); + public void SetJavaArray(float[] arr) + { SetJavaArray_0(arr); } + + public vtkFloatArray() { super(); } + + public vtkFloatArray(long id) { super(id); } + public native long VTKInit(); + +}