1 2 // 3 // This file is auto-generated. Please don't modify it! 4 // 5 package org.opencv.photo; 6 7 8 9 // C++: class TonemapDrago 10 //javadoc: TonemapDrago 11 public class TonemapDrago extends Tonemap { 12 TonemapDrago(long addr)13 protected TonemapDrago(long addr) { super(addr); } 14 15 16 // 17 // C++: float getSaturation() 18 // 19 20 //javadoc: TonemapDrago::getSaturation() getSaturation()21 public float getSaturation() 22 { 23 24 float retVal = getSaturation_0(nativeObj); 25 26 return retVal; 27 } 28 29 30 // 31 // C++: void setSaturation(float saturation) 32 // 33 34 //javadoc: TonemapDrago::setSaturation(saturation) setSaturation(float saturation)35 public void setSaturation(float saturation) 36 { 37 38 setSaturation_0(nativeObj, saturation); 39 40 return; 41 } 42 43 44 // 45 // C++: float getBias() 46 // 47 48 //javadoc: TonemapDrago::getBias() getBias()49 public float getBias() 50 { 51 52 float retVal = getBias_0(nativeObj); 53 54 return retVal; 55 } 56 57 58 // 59 // C++: void setBias(float bias) 60 // 61 62 //javadoc: TonemapDrago::setBias(bias) setBias(float bias)63 public void setBias(float bias) 64 { 65 66 setBias_0(nativeObj, bias); 67 68 return; 69 } 70 71 72 @Override finalize()73 protected void finalize() throws Throwable { 74 delete(nativeObj); 75 } 76 77 78 79 // C++: float getSaturation() getSaturation_0(long nativeObj)80 private static native float getSaturation_0(long nativeObj); 81 82 // C++: void setSaturation(float saturation) setSaturation_0(long nativeObj, float saturation)83 private static native void setSaturation_0(long nativeObj, float saturation); 84 85 // C++: float getBias() getBias_0(long nativeObj)86 private static native float getBias_0(long nativeObj); 87 88 // C++: void setBias(float bias) setBias_0(long nativeObj, float bias)89 private static native void setBias_0(long nativeObj, float bias); 90 91 // native support for java finalize() delete(long nativeObj)92 private static native void delete(long nativeObj); 93 94 } 95