/*************************************************************************************************************************************/ /* */ /* " E P A I S S I S S E M E N T " D ' U N A L B U M : */ /* */ /* */ /* Author of '$xci/epaississement_3D.11$K' : */ /* */ /* Jean-Francois COLONNA (LACTAMME, 20210429101303). */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* I N T E R F A C E ' listG ' : */ /* */ /* */ /* :Debut_listG: */ /* :Fin_listG: */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* D I R E C T I V E S S P E C I F I Q U E S D E C O M P I L A T I O N : */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* F I C H I E R S D ' I N C L U D E S : */ /* */ /*************************************************************************************************************************************/ #include INCLUDES_BASE #include image_image_DI_ALBUM_EXT /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* P A R A M E T R E S : */ /* */ /*************************************************************************************************************************************/ #include xci/album.01.I" /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* M A C R O S U T I L E S : */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* " E P A I S S I S S E M E N T " D ' U N A L B U M : */ /* */ /*************************************************************************************************************************************/ BCommande(nombre_d_arguments,arguments) /*-----------------------------------------------------------------------------------------------------------------------------------*/ Bblock DEFV(CHAR,INIC(POINTERc(nom_imageA),NOM_PIPE)); DEFV(CHAR,INIC(POINTERc(nom_imageR),NOM_PIPE)); DEFV(CHAR,INIC(POINTERc(nom_postfixe),NOM_UNDEF_VIDE)); /* Nom d'un eventuel postfixe a placer derriere <nom_imageA><numero> (par exemple '$ROUGE'). */ DEFV(Int,INIT(premiere_image,PREMIERE_IMAGE)); /* Numero de la premiere image, */ DEFV(Int,INIT(pas_des_images,PAS_DES_IMAGES)); /* Pas de passage d'un numero d'image a une autre. */ DEFV(Int,INIT(nombre_de_chiffres,NOMBRE_DE_CHIFFRES)); /* Nombre de chiffres codant le numero des images de la serie... */ DEFV(Int,INIT(ZminA,k___Zmin)); DEFV(Int,INIT(ZmaxA,k___Zmax)); /* Definition de l'axe des 'Z' Argument... */ /*..............................................................................................................................*/ GET_ARGUMENTSi(nombre_d_arguments ,BLOC(GET_ARGUMENT_C("albumA=""A=",nom_imageA); GET_ARGUMENT_C("albumR=""R=",nom_imageR); GET_ARGUMENT_C("postfixe=",nom_postfixe); GET_ARGUMENT_I("premiere=",premiere_image); GET_ARGUMENTS2_I("pas=",pas_des_images,pasZ); GET_ARGUMENT_I("chiffres=",nombre_de_chiffres); GET_ARGUMENT_I("ZminA=",ZminA); GET_ARGUMENT_I("ZmaxA=",ZmaxA); ) ); begin_nouveau_block Bblock DEFV(Int,INIT(ZminR,Zmin)); DEFV(Int,INIT(ZmaxR,Zmax)); /* Definition de l'axe des 'Z' Resultat... */ BSaveModifyVariable(Int,Zmin,ZminA); BSaveModifyVariable(Int,Zmax,ZmaxA); /* Positionnement dans [Zmin,Zmax] Argument... */ begin_nouveau_block Bblock BDEFV(album,albumA); CALi(dAload_album(albumA ,nom_imageA ,nom_postfixe ,premiere_image ,pas_des_images ,nombre_de_chiffres ,FAUX ,UNDEF ,FAUX ) ); begin_nouveau_block Bblock BSaveModifyVariable(Int,Zmin,ZminR); BSaveModifyVariable(Int,Zmax,ZmaxR); /* Positionnement dans [Zmin,Zmax] Resultat... */ begin_nouveau_block Bblock BDEFV(album,albumR); CALS(Aepaississement(albumR,albumA,ZminA,ZmaxA)); CALi(dAupdate_album(nom_imageR ,nom_postfixe ,premiere_image ,pas_des_images ,albumR ,nombre_de_chiffres ,FAUX ) ); EDEFV(album,albumR); Eblock end_nouveau_block ESaveModifyVariable(Int,Zmax); ESaveModifyVariable(Int,Zmin); Eblock end_nouveau_block EDEFV(album,albumA); Eblock end_nouveau_block ESaveModifyVariable(Int,Zmax); ESaveModifyVariable(Int,Zmin); Eblock end_nouveau_block RETU_Commande; Eblock ECommande