Watermark

Inheritance: java.lang.Object

public class Watermark

Εργαλείο για κωδικοποίηση/αποκωδικοποίηση τυφλού υδατογραφήματος σε/από ένα πλέγμα. Remarks: Και τα Watermark και τα Watermark θα εκτελέσουν έλεγχο άδειας. Η χρήση δοκιμής θα προκαλέσει εξαίρεση, μπορείτε να χρησιμοποιήσετε TrialException.getSuppressTrialException για να καταστείλετε την εξαίρεση, αλλά δεν θα αφαιρέσει τον περιορισμό εδώ. Απαιτείται έγκυρη άδεια για τη χρήση αυτών των λειτουργιών χωρίς περιορισμούς. Example: Ο παρακάτω κώδικας δείχνει πώς να κωδικοποιήσετε ένα τυφλό υδατογράφημα σε ένα πλέγμα και να το αποκωδικοποιήσετε.

Mesh mesh = (new Cylinder()).toMesh();
     Mesh encodedMesh = Watermark.encodeWatermark(mesh, "Hello", null);
     String watermark = Watermark.decodeWatermark(encodedMesh, null);

Μέθοδοι

ΜέθοδοςΠεριγραφή
decodeWatermark(Mesh input)Αποκωδικοποίηση του υδατογραφήματος από ένα πλέγμα
decodeWatermark(Mesh input, String password)Αποκωδικοποίηση του υδατογραφήματος από ένα πλέγμα
encodeWatermark(Mesh input, String text)Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.
encodeWatermark(Mesh input, String text, String password)Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.
encodeWatermark(Mesh input, String text, String password, boolean permanent)Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.
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)

Αποκωδικοποίηση του υδατογραφήματος από ένα πλέγμα

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
inputMeshΤο πλέγμα για εξαγωγή υδατογραφήματος

Returns: java.lang.String - Τυφλό υδατογράφημα ή null εάν δεν αποκωδικοποιηθεί κανένα υδατογράφημα.

decodeWatermark(Mesh input, String password)

public static String decodeWatermark(Mesh input, String password)

Αποκωδικοποίηση του υδατογραφήματος από ένα πλέγμα

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
inputMeshΤο πλέγμα για εξαγωγή υδατογραφήματος
passwordjava.lang.StringΟ κωδικός πρόσβασης για αποκρυπτογράφηση του υδατογραφήματος

Returns: java.lang.String - Τυφλό υδατογράφημα ή null εάν δεν αποκωδικοποιηθεί κανένα υδατογράφημα.

encodeWatermark(Mesh input, String text)

public static Mesh encodeWatermark(Mesh input, String text)

Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
inputMeshΠλέγμα για κωδικοποίηση τυφλού υδατογραφήματος
κείμενοjava.lang.StringΚείμενο για κωδικοποίηση στο πλέγμα

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)

Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
inputMeshΠλέγμα για κωδικοποίηση τυφλού υδατογραφήματος
κείμενοjava.lang.StringΚείμενο για κωδικοποίηση στο πλέγμα
passwordjava.lang.StringΚωδικός πρόσβασης για προστασία του υδατογραφήματος, είναι προαιρετικός

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)

Κωδικοποίηση κειμένου στο τυφλό υδατογράφημα του πλέγματος.

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
inputMeshΠλέγμα για κωδικοποίηση τυφλού υδατογραφήματος
κείμενοjava.lang.StringΚείμενο για κωδικοποίηση στο πλέγμα
passwordjava.lang.StringΚωδικός πρόσβασης για προστασία του υδατογραφήματος, είναι προαιρετικός
μόνιμοbooleanΤο μόνιμο υδατογράφημα δεν θα αντικατασταθεί ή αφαιρεθεί.

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:

ΠαράμετροςΤύποςΠεριγραφή
arg0java.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:

ΠαράμετροςΤύποςΠεριγραφή
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ΠαράμετροςΤύποςΠεριγραφή
arg0long
arg1int