X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkPiecewiseFunction.java;h=434ba2a0906a4579c6da285224a7d4b30c97b52e;hb=7e8142b80067a2af52ceb5bdf3a9307756c1c78c;hp=b9cd7633b91ccac2d8c1bd5f9ff8f9bc089479e9;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkPiecewiseFunction.java b/vtk/src/vtk/vtkPiecewiseFunction.java index b9cd7633..434ba2a0 100644 --- a/vtk/src/vtk/vtkPiecewiseFunction.java +++ b/vtk/src/vtk/vtkPiecewiseFunction.java @@ -1,139 +1,155 @@ -// java wrapper for vtkPiecewiseFunction object -// - -package vtk; -import vtk.*; - -public class vtkPiecewiseFunction extends vtkDataObject -{ - - 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 DeepCopy_2(vtkDataObject id0); - public void DeepCopy(vtkDataObject id0) - { DeepCopy_2(id0); } - - private native void ShallowCopy_3(vtkDataObject id0); - public void ShallowCopy(vtkDataObject id0) - { ShallowCopy_3(id0); } - - private native int GetDataObjectType_4(); - public int GetDataObjectType() - { return GetDataObjectType_4(); } - - private native int GetSize_5(); - public int GetSize() - { return GetSize_5(); } - - private native int AddPoint_6(double id0,double id1); - public int AddPoint(double id0,double id1) - { return AddPoint_6(id0,id1); } - - private native int AddPoint_7(double id0,double id1,double id2,double id3); - public int AddPoint(double id0,double id1,double id2,double id3) - { return AddPoint_7(id0,id1,id2,id3); } - - private native int RemovePoint_8(double id0); - public int RemovePoint(double id0) - { return RemovePoint_8(id0); } - - private native void RemoveAllPoints_9(); - public void RemoveAllPoints() - { RemoveAllPoints_9(); } - - private native void AddSegment_10(double id0,double id1,double id2,double id3); - public void AddSegment(double id0,double id1,double id2,double id3) - { AddSegment_10(id0,id1,id2,id3); } - - private native double GetValue_11(double id0); - public double GetValue(double id0) - { return GetValue_11(id0); } - - private native int GetNodeValue_12(int id0,double id1[]); - public int GetNodeValue(int id0,double id1[]) - { return GetNodeValue_12(id0,id1); } - - private native int SetNodeValue_13(int id0,double id1[]); - public int SetNodeValue(int id0,double id1[]) - { return SetNodeValue_13(id0,id1); } - - private native double[] GetRange_14(); - public double[] GetRange() - { return GetRange_14(); } - - private native int AdjustRange_15(double id0[]); - public int AdjustRange(double id0[]) - { return AdjustRange_15(id0); } - - private native void SetClamping_16(int id0); - public void SetClamping(int id0) - { SetClamping_16(id0); } - - private native int GetClamping_17(); - public int GetClamping() - { return GetClamping_17(); } - - private native void ClampingOn_18(); - public void ClampingOn() - { ClampingOn_18(); } - - private native void ClampingOff_19(); - public void ClampingOff() - { ClampingOff_19(); } - - private native String GetType_20(); - public String GetType() - { return GetType_20(); } - - private native double GetFirstNonZeroValue_21(); - public double GetFirstNonZeroValue() - { return GetFirstNonZeroValue_21(); } - - private native void Initialize_22(); - public void Initialize() - { Initialize_22(); } - - private native long GetData_23(vtkInformation id0); - public vtkPiecewiseFunction GetData(vtkInformation id0) { - long temp = GetData_23(id0); - - if (temp == 0) return null; - return (vtkPiecewiseFunction)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetData_24(vtkInformationVector id0,int id1); - public vtkPiecewiseFunction GetData(vtkInformationVector id0,int id1) { - long temp = GetData_24(id0,id1); - - if (temp == 0) return null; - return (vtkPiecewiseFunction)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetAllowDuplicateScalars_25(int id0); - public void SetAllowDuplicateScalars(int id0) - { SetAllowDuplicateScalars_25(id0); } - - private native int GetAllowDuplicateScalars_26(); - public int GetAllowDuplicateScalars() - { return GetAllowDuplicateScalars_26(); } - - private native void AllowDuplicateScalarsOn_27(); - public void AllowDuplicateScalarsOn() - { AllowDuplicateScalarsOn_27(); } - - private native void AllowDuplicateScalarsOff_28(); - public void AllowDuplicateScalarsOff() - { AllowDuplicateScalarsOff_28(); } - - public vtkPiecewiseFunction() { super(); } - - public vtkPiecewiseFunction(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkPiecewiseFunction object +// + +package vtk; +import vtk.*; + +public class vtkPiecewiseFunction extends vtkDataObject +{ + + 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 DeepCopy_2(vtkDataObject id0); + public void DeepCopy(vtkDataObject id0) + { DeepCopy_2(id0); } + + private native void ShallowCopy_3(vtkDataObject id0); + public void ShallowCopy(vtkDataObject id0) + { ShallowCopy_3(id0); } + + private native int GetDataObjectType_4(); + public int GetDataObjectType() + { return GetDataObjectType_4(); } + + private native int GetSize_5(); + public int GetSize() + { return GetSize_5(); } + + private native int AddPoint_6(double id0,double id1); + public int AddPoint(double id0,double id1) + { return AddPoint_6(id0,id1); } + + private native int AddPoint_7(double id0,double id1,double id2,double id3); + public int AddPoint(double id0,double id1,double id2,double id3) + { return AddPoint_7(id0,id1,id2,id3); } + + private native int RemovePoint_8(double id0); + public int RemovePoint(double id0) + { return RemovePoint_8(id0); } + + private native void RemoveAllPoints_9(); + public void RemoveAllPoints() + { RemoveAllPoints_9(); } + + private native void AddSegment_10(double id0,double id1,double id2,double id3); + public void AddSegment(double id0,double id1,double id2,double id3) + { AddSegment_10(id0,id1,id2,id3); } + + private native double GetValue_11(double id0); + public double GetValue(double id0) + { return GetValue_11(id0); } + + private native int GetNodeValue_12(int id0,double id1[]); + public int GetNodeValue(int id0,double id1[]) + { return GetNodeValue_12(id0,id1); } + + private native int SetNodeValue_13(int id0,double id1[]); + public int SetNodeValue(int id0,double id1[]) + { return SetNodeValue_13(id0,id1); } + + private native double[] GetRange_14(); + public double[] GetRange() + { return GetRange_14(); } + + private native int AdjustRange_15(double id0[]); + public int AdjustRange(double id0[]) + { return AdjustRange_15(id0); } + + private native void SetClamping_16(int id0); + public void SetClamping(int id0) + { SetClamping_16(id0); } + + private native int GetClamping_17(); + public int GetClamping() + { return GetClamping_17(); } + + private native void ClampingOn_18(); + public void ClampingOn() + { ClampingOn_18(); } + + private native void ClampingOff_19(); + public void ClampingOff() + { ClampingOff_19(); } + + private native void SetUseLogScale_20(boolean id0); + public void SetUseLogScale(boolean id0) + { SetUseLogScale_20(id0); } + + private native boolean GetUseLogScale_21(); + public boolean GetUseLogScale() + { return GetUseLogScale_21(); } + + private native void UseLogScaleOn_22(); + public void UseLogScaleOn() + { UseLogScaleOn_22(); } + + private native void UseLogScaleOff_23(); + public void UseLogScaleOff() + { UseLogScaleOff_23(); } + + private native String GetType_24(); + public String GetType() + { return GetType_24(); } + + private native double GetFirstNonZeroValue_25(); + public double GetFirstNonZeroValue() + { return GetFirstNonZeroValue_25(); } + + private native void Initialize_26(); + public void Initialize() + { Initialize_26(); } + + private native long GetData_27(vtkInformation id0); + public vtkPiecewiseFunction GetData(vtkInformation id0) { + long temp = GetData_27(id0); + + if (temp == 0) return null; + return (vtkPiecewiseFunction)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetData_28(vtkInformationVector id0,int id1); + public vtkPiecewiseFunction GetData(vtkInformationVector id0,int id1) { + long temp = GetData_28(id0,id1); + + if (temp == 0) return null; + return (vtkPiecewiseFunction)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetAllowDuplicateScalars_29(int id0); + public void SetAllowDuplicateScalars(int id0) + { SetAllowDuplicateScalars_29(id0); } + + private native int GetAllowDuplicateScalars_30(); + public int GetAllowDuplicateScalars() + { return GetAllowDuplicateScalars_30(); } + + private native void AllowDuplicateScalarsOn_31(); + public void AllowDuplicateScalarsOn() + { AllowDuplicateScalarsOn_31(); } + + private native void AllowDuplicateScalarsOff_32(); + public void AllowDuplicateScalarsOff() + { AllowDuplicateScalarsOff_32(); } + + public vtkPiecewiseFunction() { super(); } + + public vtkPiecewiseFunction(long id) { super(id); } + public native long VTKInit(); + +}