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 TonemapMantiuk 10 //javadoc: TonemapMantiuk 11 public class TonemapMantiuk extends Tonemap { 12 TonemapMantiuk(long addr)13 protected TonemapMantiuk(long addr) { super(addr); } 14 15 16 // 17 // C++: float getScale() 18 // 19 20 //javadoc: TonemapMantiuk::getScale() getScale()21 public float getScale() 22 { 23 24 float retVal = getScale_0(nativeObj); 25 26 return retVal; 27 } 28 29 30 // 31 // C++: void setScale(float scale) 32 // 33 34 //javadoc: TonemapMantiuk::setScale(scale) setScale(float scale)35 public void setScale(float scale) 36 { 37 38 setScale_0(nativeObj, scale); 39 40 return; 41 } 42 43 44 // 45 // C++: float getSaturation() 46 // 47 48 //javadoc: TonemapMantiuk::getSaturation() getSaturation()49 public float getSaturation() 50 { 51 52 float retVal = getSaturation_0(nativeObj); 53 54 return retVal; 55 } 56 57 58 // 59 // C++: void setSaturation(float saturation) 60 // 61 62 //javadoc: TonemapMantiuk::setSaturation(saturation) setSaturation(float saturation)63 public void setSaturation(float saturation) 64 { 65 66 setSaturation_0(nativeObj, saturation); 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 getScale() getScale_0(long nativeObj)80 private static native float getScale_0(long nativeObj); 81 82 // C++: void setScale(float scale) setScale_0(long nativeObj, float scale)83 private static native void setScale_0(long nativeObj, float scale); 84 85 // C++: float getSaturation() getSaturation_0(long nativeObj)86 private static native float getSaturation_0(long nativeObj); 87 88 // C++: void setSaturation(float saturation) setSaturation_0(long nativeObj, float saturation)89 private static native void setSaturation_0(long nativeObj, float saturation); 90 91 // native support for java finalize() delete(long nativeObj)92 private static native void delete(long nativeObj); 93 94 } 95