1 // java wrapper for vtkColorLegend object
7 public class vtkColorLegend extends vtkChartLegend
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native void GetBounds_2(double id0[]);
19 public void GetBounds(double id0[])
22 private native void Update_3();
26 private native boolean Paint_4(vtkContext2D id0);
27 public boolean Paint(vtkContext2D id0)
28 { return Paint_4(id0); }
30 private native void SetTransferFunction_5(vtkScalarsToColors id0);
31 public void SetTransferFunction(vtkScalarsToColors id0)
32 { SetTransferFunction_5(id0); }
34 private native long GetTransferFunction_6();
35 public vtkScalarsToColors GetTransferFunction() {
36 long temp = GetTransferFunction_6();
38 if (temp == 0) return null;
39 return (vtkScalarsToColors)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
42 private native void SetPoint_7(double id0,double id1);
43 public void SetPoint(double id0,double id1)
44 { SetPoint_7(id0,id1); }
46 private native void SetTextureSize_8(double id0,double id1);
47 public void SetTextureSize(double id0,double id1)
48 { SetTextureSize_8(id0,id1); }
50 private native void SetOrientation_9(int id0);
51 public void SetOrientation(int id0)
52 { SetOrientation_9(id0); }
54 private native int GetOrientation_10();
55 public int GetOrientation()
56 { return GetOrientation_10(); }
58 private native void SetTitle_11(String id0);
59 public void SetTitle(String id0)
62 private native String GetTitle_12();
63 public String GetTitle()
64 { return GetTitle_12(); }
66 private native void SetDrawBorder_13(boolean id0);
67 public void SetDrawBorder(boolean id0)
68 { SetDrawBorder_13(id0); }
70 private native boolean GetDrawBorder_14();
71 public boolean GetDrawBorder()
72 { return GetDrawBorder_14(); }
74 private native void DrawBorderOn_15();
75 public void DrawBorderOn()
76 { DrawBorderOn_15(); }
78 private native void DrawBorderOff_16();
79 public void DrawBorderOff()
80 { DrawBorderOff_16(); }
82 public vtkColorLegend() { super(); }
84 public vtkColorLegend(long id) { super(id); }
85 public native long VTKInit();