1 // java wrapper for vtkPiecewiseFunction object
7 public class vtkPiecewiseFunction extends vtkDataObject
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 DeepCopy_2(vtkDataObject id0);
19 public void DeepCopy(vtkDataObject id0)
22 private native void ShallowCopy_3(vtkDataObject id0);
23 public void ShallowCopy(vtkDataObject id0)
24 { ShallowCopy_3(id0); }
26 private native int GetDataObjectType_4();
27 public int GetDataObjectType()
28 { return GetDataObjectType_4(); }
30 private native int GetSize_5();
32 { return GetSize_5(); }
34 private native int AddPoint_6(double id0,double id1);
35 public int AddPoint(double id0,double id1)
36 { return AddPoint_6(id0,id1); }
38 private native int AddPoint_7(double id0,double id1,double id2,double id3);
39 public int AddPoint(double id0,double id1,double id2,double id3)
40 { return AddPoint_7(id0,id1,id2,id3); }
42 private native int RemovePoint_8(double id0);
43 public int RemovePoint(double id0)
44 { return RemovePoint_8(id0); }
46 private native void RemoveAllPoints_9();
47 public void RemoveAllPoints()
48 { RemoveAllPoints_9(); }
50 private native void AddSegment_10(double id0,double id1,double id2,double id3);
51 public void AddSegment(double id0,double id1,double id2,double id3)
52 { AddSegment_10(id0,id1,id2,id3); }
54 private native double GetValue_11(double id0);
55 public double GetValue(double id0)
56 { return GetValue_11(id0); }
58 private native int GetNodeValue_12(int id0,double id1[]);
59 public int GetNodeValue(int id0,double id1[])
60 { return GetNodeValue_12(id0,id1); }
62 private native int SetNodeValue_13(int id0,double id1[]);
63 public int SetNodeValue(int id0,double id1[])
64 { return SetNodeValue_13(id0,id1); }
66 private native double[] GetRange_14();
67 public double[] GetRange()
68 { return GetRange_14(); }
70 private native int AdjustRange_15(double id0[]);
71 public int AdjustRange(double id0[])
72 { return AdjustRange_15(id0); }
74 private native void SetClamping_16(int id0);
75 public void SetClamping(int id0)
76 { SetClamping_16(id0); }
78 private native int GetClamping_17();
79 public int GetClamping()
80 { return GetClamping_17(); }
82 private native void ClampingOn_18();
83 public void ClampingOn()
86 private native void ClampingOff_19();
87 public void ClampingOff()
90 private native void SetUseLogScale_20(boolean id0);
91 public void SetUseLogScale(boolean id0)
92 { SetUseLogScale_20(id0); }
94 private native boolean GetUseLogScale_21();
95 public boolean GetUseLogScale()
96 { return GetUseLogScale_21(); }
98 private native void UseLogScaleOn_22();
99 public void UseLogScaleOn()
100 { UseLogScaleOn_22(); }
102 private native void UseLogScaleOff_23();
103 public void UseLogScaleOff()
104 { UseLogScaleOff_23(); }
106 private native String GetType_24();
107 public String GetType()
108 { return GetType_24(); }
110 private native double GetFirstNonZeroValue_25();
111 public double GetFirstNonZeroValue()
112 { return GetFirstNonZeroValue_25(); }
114 private native void Initialize_26();
115 public void Initialize()
118 private native long GetData_27(vtkInformation id0);
119 public vtkPiecewiseFunction GetData(vtkInformation id0) {
120 long temp = GetData_27(id0);
122 if (temp == 0) return null;
123 return (vtkPiecewiseFunction)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
126 private native long GetData_28(vtkInformationVector id0,int id1);
127 public vtkPiecewiseFunction GetData(vtkInformationVector id0,int id1) {
128 long temp = GetData_28(id0,id1);
130 if (temp == 0) return null;
131 return (vtkPiecewiseFunction)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
134 private native void SetAllowDuplicateScalars_29(int id0);
135 public void SetAllowDuplicateScalars(int id0)
136 { SetAllowDuplicateScalars_29(id0); }
138 private native int GetAllowDuplicateScalars_30();
139 public int GetAllowDuplicateScalars()
140 { return GetAllowDuplicateScalars_30(); }
142 private native void AllowDuplicateScalarsOn_31();
143 public void AllowDuplicateScalarsOn()
144 { AllowDuplicateScalarsOn_31(); }
146 private native void AllowDuplicateScalarsOff_32();
147 public void AllowDuplicateScalarsOff()
148 { AllowDuplicateScalarsOff_32(); }
150 public vtkPiecewiseFunction() { super(); }
152 public vtkPiecewiseFunction(long id) { super(id); }
153 public native long VTKInit();