Watermark
Inheritance: java.lang.Object
public class Watermark
Kör filigranı bir ağda kodlamak/çözmek için araç. Remarks: Hem Watermark hem de Watermark lisans kontrolü yapacaktır. Deneme kullanımı bir istisna fırlatır, istisnayı bastırmak için TrialException.getSuppressTrialException kullanabilirsiniz, ancak bu burada kısıtlamayı kaldırmaz. Bu özellikleri kısıtlamasız kullanmak için geçerli bir lisans gereklidir. Example: Aşağıdaki kod, bir ağda kör filigranı nasıl kodlayıp çözeceğinizi gösterir.
Mesh mesh = (new Cylinder()).toMesh();
Mesh encodedMesh = Watermark.encodeWatermark(mesh, "Hello", null);
String watermark = Watermark.decodeWatermark(encodedMesh, null);
Yöntemler
| Yöntem | Açıklama |
|---|---|
| decodeWatermark(Mesh input) | Filigranı bir ağdan çöz |
| decodeWatermark(Mesh input, String password) | Filigranı bir ağdan çöz |
| encodeWatermark(Mesh input, String text) | Metni ağın kör filigranına kodlayın. |
| encodeWatermark(Mesh input, String text, String password) | Metni ağın kör filigranına kodlayın. |
| encodeWatermark(Mesh input, String text, String password, boolean permanent) | Metni ağın kör filigranına kodlayın. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
decodeWatermark(Mesh input)
public static String decodeWatermark(Mesh input)
Filigranı bir ağdan çöz
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| input | Mesh | Filigranı çıkarmak için ağ |
Returns: java.lang.String - Kör filigran veya hiçbir filigran çözülemediğinde null.
decodeWatermark(Mesh input, String password)
public static String decodeWatermark(Mesh input, String password)
Filigranı bir ağdan çöz
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| input | Mesh | Filigranı çıkarmak için ağ |
| parola | java.lang.String | Filigranı çözmek için şifre |
Returns: java.lang.String - Kör filigran veya hiçbir filigran çözülemediğinde null.
encodeWatermark(Mesh input, String text)
public static Mesh encodeWatermark(Mesh input, String text)
Metni ağın kör filigranına kodlayın.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| input | Mesh | Kör filigranı kodlamak için ağ |
| metin | java.lang.String | Ağa kodlamak için metin |
Returns: Mesh - A new mesh instance with blind watermark encoded Remarks: Both Watermark and Watermark will perform license check Trial usage will throw exception, you can use TrialException.getSuppressTrialException to suppress the exception, but it will not lift the restriction here. A valid license is required to use these features without any restrictions. Example: The following code shows how to encode a blind watermark into a mesh and save to ply file
Mesh mesh = (new Cylinder()).toMesh();
Mesh encodedMesh = Watermark.encodeWatermark(mesh, "Hello");
new Scene(encodedMesh).save("test.ply");
encodeWatermark(Mesh input, String text, String password)
public static Mesh encodeWatermark(Mesh input, String text, String password)
Metni ağın kör filigranına kodlayın.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| input | Mesh | Kör filigranı kodlamak için ağ |
| metin | java.lang.String | Ağa kodlamak için metin |
| parola | java.lang.String | Filigranı korumak için şifre, isteğe bağlıdır |
Returns: Mesh - A new mesh instance with blind watermark encoded Remarks: Both Watermark and Watermark will perform license check Trial usage will throw exception, you can use TrialException.getSuppressTrialException to suppress the exception, but it will not lift the restriction here. A valid license is required to use these features without any restrictions. Example: The following code shows how to encode a blind watermark into a mesh and save to ply file
Mesh mesh = (new Cylinder()).toMesh();
var encodedMesh = Watermark.encodeWatermark(mesh, "Hello", "password");
new Scene(encodedMesh).save("test.ply");
encodeWatermark(Mesh input, String text, String password, boolean permanent)
public static Mesh encodeWatermark(Mesh input, String text, String password, boolean permanent)
Metni ağın kör filigranına kodlayın.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| input | Mesh | Kör filigranı kodlamak için ağ |
| metin | java.lang.String | Ağa kodlamak için metin |
| parola | java.lang.String | Filigranı korumak için şifre, isteğe bağlıdır |
| kalıcı | boolean | Kalıcı filigran üzerine yazılmaz veya kaldırılmaz. |
Returns: Mesh - A new mesh instance with blind watermark encoded Remarks: Both Watermark and Watermark will perform license check Trial usage will throw exception, you can use TrialException.getSuppressTrialException to suppress the exception, but it will not lift the restriction here. A valid license is required to use these features without any restrictions. Example: The following code shows how to encode a blind watermark into a mesh and save to ply file
Mesh mesh = (new Cylinder()).toMesh();
var encodedMesh = Watermark.encodeWatermark(mesh, "Hello", "password");
new Scene(encodedMesh).save("test.ply");
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |