X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=vtk%2Fsrc%2Fvtk%2FvtkDiscretizableColorTransferFunction.java;h=2323ee7ae4369b39affab58d0945f130d6e870b4;hb=refs%2Fchanges%2F58%2F3658%2F1;hp=d9c52a0c8dc0684659e2e35c2d274cd5279728e9;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkDiscretizableColorTransferFunction.java b/vtk/src/vtk/vtkDiscretizableColorTransferFunction.java index d9c52a0c..2323ee7a 100644 --- a/vtk/src/vtk/vtkDiscretizableColorTransferFunction.java +++ b/vtk/src/vtk/vtkDiscretizableColorTransferFunction.java @@ -1,91 +1,151 @@ -// java wrapper for vtkDiscretizableColorTransferFunction object -// - -package vtk; -import vtk.*; - -public class vtkDiscretizableColorTransferFunction extends vtkColorTransferFunction -{ - - 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 Build_2(); - public void Build() - { Build_2(); } - - private native void SetDiscretize_3(int id0); - public void SetDiscretize(int id0) - { SetDiscretize_3(id0); } - - private native int GetDiscretize_4(); - public int GetDiscretize() - { return GetDiscretize_4(); } - - private native void DiscretizeOn_5(); - public void DiscretizeOn() - { DiscretizeOn_5(); } - - private native void DiscretizeOff_6(); - public void DiscretizeOff() - { DiscretizeOff_6(); } - - private native void SetUseLogScale_7(int id0); - public void SetUseLogScale(int id0) - { SetUseLogScale_7(id0); } - - private native int GetUseLogScale_8(); - public int GetUseLogScale() - { return GetUseLogScale_8(); } - - private native void SetNumberOfValues_9(int id0); - public void SetNumberOfValues(int id0) - { SetNumberOfValues_9(id0); } - - private native int GetNumberOfValues_10(); - public int GetNumberOfValues() - { return GetNumberOfValues_10(); } - - private native void GetColor_11(double id0,double id1[]); - public void GetColor(double id0,double id1[]) - { GetColor_11(id0,id1); } - - private native long MapScalars_12(vtkDataArray id0,int id1,int id2); - public vtkUnsignedCharArray MapScalars(vtkDataArray id0,int id1,int id2) { - long temp = MapScalars_12(id0,id1,id2); - - if (temp == 0) return null; - return (vtkUnsignedCharArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native void SetAlpha_13(double id0); - public void SetAlpha(double id0) - { SetAlpha_13(id0); } - - private native void SetNanColor_14(double id0,double id1,double id2); - public void SetNanColor(double id0,double id1,double id2) - { SetNanColor_14(id0,id1,id2); } - - private native void SetNanColor_15(double id0[]); - public void SetNanColor(double id0[]) - { SetNanColor_15(id0); } - - private native int UsingLogScale_16(); - public int UsingLogScale() - { return UsingLogScale_16(); } - - private native int GetNumberOfAvailableColors_17(); - public int GetNumberOfAvailableColors() - { return GetNumberOfAvailableColors_17(); } - - public vtkDiscretizableColorTransferFunction() { super(); } - - public vtkDiscretizableColorTransferFunction(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkDiscretizableColorTransferFunction object +// + +package vtk; +import vtk.*; + +public class vtkDiscretizableColorTransferFunction extends vtkColorTransferFunction +{ + + 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 IsOpaque_2(); + public int IsOpaque() + { return IsOpaque_2(); } + + private native void SetIndexedColorRGB_3(int id0,double id1[]); + public void SetIndexedColorRGB(int id0,double id1[]) + { SetIndexedColorRGB_3(id0,id1); } + + private native void SetIndexedColorRGBA_4(int id0,double id1[]); + public void SetIndexedColorRGBA(int id0,double id1[]) + { SetIndexedColorRGBA_4(id0,id1); } + + private native void SetIndexedColor_5(int id0,double id1,double id2,double id3,double id4); + public void SetIndexedColor(int id0,double id1,double id2,double id3,double id4) + { SetIndexedColor_5(id0,id1,id2,id3,id4); } + + private native void GetIndexedColor_6(int id0,double id1[]); + public void GetIndexedColor(int id0,double id1[]) + { GetIndexedColor_6(id0,id1); } + + private native void SetNumberOfIndexedColors_7(int id0); + public void SetNumberOfIndexedColors(int id0) + { SetNumberOfIndexedColors_7(id0); } + + private native int GetNumberOfIndexedColors_8(); + public int GetNumberOfIndexedColors() + { return GetNumberOfIndexedColors_8(); } + + private native void Build_9(); + public void Build() + { Build_9(); } + + private native void SetDiscretize_10(int id0); + public void SetDiscretize(int id0) + { SetDiscretize_10(id0); } + + private native int GetDiscretize_11(); + public int GetDiscretize() + { return GetDiscretize_11(); } + + private native void DiscretizeOn_12(); + public void DiscretizeOn() + { DiscretizeOn_12(); } + + private native void DiscretizeOff_13(); + public void DiscretizeOff() + { DiscretizeOff_13(); } + + private native void SetUseLogScale_14(int id0); + public void SetUseLogScale(int id0) + { SetUseLogScale_14(id0); } + + private native int GetUseLogScale_15(); + public int GetUseLogScale() + { return GetUseLogScale_15(); } + + private native void SetNumberOfValues_16(int id0); + public void SetNumberOfValues(int id0) + { SetNumberOfValues_16(id0); } + + private native int GetNumberOfValues_17(); + public int GetNumberOfValues() + { return GetNumberOfValues_17(); } + + private native void GetColor_18(double id0,double id1[]); + public void GetColor(double id0,double id1[]) + { GetColor_18(id0,id1); } + + private native double GetOpacity_19(double id0); + public double GetOpacity(double id0) + { return GetOpacity_19(id0); } + + private native void SetAlpha_20(double id0); + public void SetAlpha(double id0) + { SetAlpha_20(id0); } + + private native void SetNanColor_21(double id0,double id1,double id2); + public void SetNanColor(double id0,double id1,double id2) + { SetNanColor_21(id0,id1,id2); } + + private native void SetNanColor_22(double id0[]); + public void SetNanColor(double id0[]) + { SetNanColor_22(id0); } + + private native void SetNanOpacity_23(double id0); + public void SetNanOpacity(double id0) + { SetNanOpacity_23(id0); } + + private native int UsingLogScale_24(); + public int UsingLogScale() + { return UsingLogScale_24(); } + + private native int GetNumberOfAvailableColors_25(); + public int GetNumberOfAvailableColors() + { return GetNumberOfAvailableColors_25(); } + + private native void SetScalarOpacityFunction_26(vtkPiecewiseFunction id0); + public void SetScalarOpacityFunction(vtkPiecewiseFunction id0) + { SetScalarOpacityFunction_26(id0); } + + private native long GetScalarOpacityFunction_27(); + public vtkPiecewiseFunction GetScalarOpacityFunction() { + long temp = GetScalarOpacityFunction_27(); + + if (temp == 0) return null; + return (vtkPiecewiseFunction)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetEnableOpacityMapping_28(boolean id0); + public void SetEnableOpacityMapping(boolean id0) + { SetEnableOpacityMapping_28(id0); } + + private native boolean GetEnableOpacityMapping_29(); + public boolean GetEnableOpacityMapping() + { return GetEnableOpacityMapping_29(); } + + private native void EnableOpacityMappingOn_30(); + public void EnableOpacityMappingOn() + { EnableOpacityMappingOn_30(); } + + private native void EnableOpacityMappingOff_31(); + public void EnableOpacityMappingOff() + { EnableOpacityMappingOff_31(); } + + private native int GetMTime_32(); + public int GetMTime() + { return GetMTime_32(); } + + public vtkDiscretizableColorTransferFunction() { super(); } + + public vtkDiscretizableColorTransferFunction(long id) { super(id); } + public native long VTKInit(); + +}