Watermark

Watermark class

Utilitaire pour encoder/décoder un filigrane invisible vers/de un maillage. @hideconstructor

Méthodes

encodeWatermark

NomDescription
encodeWatermark(input, text)Encode un texte dans le filigrane aveugle du maillage.

Parameters:

NomTypeDescription
inputMeshMaillage pour encoder un filigrane aveugle
textStringTexte à encoder dans le maillage

Result: Mesh


encodeWatermark

NomDescription
encodeWatermark(input, text, password)Encode un texte dans le filigrane aveugle du maillage.

Parameters:

NomTypeDescription
inputMeshMaillage pour encoder un filigrane aveugle
textStringTexte à encoder dans le maillage
passwordStringMot de passe pour protéger le filigrane, il est optionnel

Result: Mesh


decodeWatermark

NomDescription
decodeWatermark(input)Décode le filigrane d’un maillage

Parameters:

NomTypeDescription
inputMeshLe maillage pour extraire le filigrane

Result: String


decodeWatermark

NomDescription
decodeWatermark(input, password)Décode le filigrane d’un maillage

Parameters:

NomTypeDescription
inputMeshLe maillage pour extraire le filigrane
passwordStringLe mot de passe pour déchiffrer le filigrane

Result: String