X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkColorLegend.java;h=33a0d603a79c4af404e12fa54f524d1d2f4b109e;hb=efb52587babd1b858c8e77fedc44a5b4ef0c1088;hp=222413f492de6a308d94612469cc4d91288ff5a1;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkColorLegend.java b/vtk/src/vtk/vtkColorLegend.java index 222413f4..33a0d603 100644 --- a/vtk/src/vtk/vtkColorLegend.java +++ b/vtk/src/vtk/vtkColorLegend.java @@ -1,47 +1,87 @@ -// java wrapper for vtkColorLegend object -// - -package vtk; -import vtk.*; - -public class vtkColorLegend extends vtkChartLegend -{ - - 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 GetBounds_2(double id0[]); - public void GetBounds(double id0[]) - { GetBounds_2(id0); } - - private native void Update_3(); - public void Update() - { Update_3(); } - - private native boolean Paint_4(vtkContext2D id0); - public boolean Paint(vtkContext2D id0) - { return Paint_4(id0); } - - private native void SetTransferFunction_5(vtkScalarsToColors id0); - public void SetTransferFunction(vtkScalarsToColors id0) - { SetTransferFunction_5(id0); } - - private native long GetTransferFunction_6(); - public vtkScalarsToColors GetTransferFunction() { - long temp = GetTransferFunction_6(); - - if (temp == 0) return null; - return (vtkScalarsToColors)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - public vtkColorLegend() { super(); } - - public vtkColorLegend(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkColorLegend object +// + +package vtk; +import vtk.*; + +public class vtkColorLegend extends vtkChartLegend +{ + + 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 GetBounds_2(double id0[]); + public void GetBounds(double id0[]) + { GetBounds_2(id0); } + + private native void Update_3(); + public void Update() + { Update_3(); } + + private native boolean Paint_4(vtkContext2D id0); + public boolean Paint(vtkContext2D id0) + { return Paint_4(id0); } + + private native void SetTransferFunction_5(vtkScalarsToColors id0); + public void SetTransferFunction(vtkScalarsToColors id0) + { SetTransferFunction_5(id0); } + + private native long GetTransferFunction_6(); + public vtkScalarsToColors GetTransferFunction() { + long temp = GetTransferFunction_6(); + + if (temp == 0) return null; + return (vtkScalarsToColors)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native void SetPoint_7(double id0,double id1); + public void SetPoint(double id0,double id1) + { SetPoint_7(id0,id1); } + + private native void SetTextureSize_8(double id0,double id1); + public void SetTextureSize(double id0,double id1) + { SetTextureSize_8(id0,id1); } + + private native void SetOrientation_9(int id0); + public void SetOrientation(int id0) + { SetOrientation_9(id0); } + + private native int GetOrientation_10(); + public int GetOrientation() + { return GetOrientation_10(); } + + private native void SetTitle_11(String id0); + public void SetTitle(String id0) + { SetTitle_11(id0); } + + private native String GetTitle_12(); + public String GetTitle() + { return GetTitle_12(); } + + private native void SetDrawBorder_13(boolean id0); + public void SetDrawBorder(boolean id0) + { SetDrawBorder_13(id0); } + + private native boolean GetDrawBorder_14(); + public boolean GetDrawBorder() + { return GetDrawBorder_14(); } + + private native void DrawBorderOn_15(); + public void DrawBorderOn() + { DrawBorderOn_15(); } + + private native void DrawBorderOff_16(); + public void DrawBorderOff() + { DrawBorderOff_16(); } + + public vtkColorLegend() { super(); } + + public vtkColorLegend(long id) { super(id); } + public native long VTKInit(); + +}