/*************************************************************************************************************************************/ /* */ /* T R A N S P O S I T I O N D ' U N A L B U M D ' I M A G E S : */ /* */ /* */ /* Definition : */ /* */ /* Cette commande affiche une sequence */ /* d'images Argument. */ /* */ /* */ /* Author of '$xci/transpose_3D$K' : */ /* */ /* Jean-Francois COLONNA (LACTAMME, 20010113104050). */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* 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" #define ATTENDRE_LES_IMAGES_INEXISTANTES \ VRAI \ /* Indique si les images inexistantes constituent une erreur ('FAUX'), ou bien si cela est */ \ /* normal ('VRAI'), ce qui signifie qu'elles n'ont pas encore ete calculee... */ #define DUREE_D_ATTENTE_DES_IMAGES_INEXISTANTES \ ZERO \ /* Duree d'attente des images inexistantes avec une valeur par defaut assurant la */ \ /* compatibilite avec la version anterieure au 20040928095323. */ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* M A C R O S U T I L E S : */ /* */ /*************************************************************************************************************************************/ #include xci/album.02.I" /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* T R A N S P O S I T I O N D ' U N A L B U M D ' I M A G E S : */ /* */ /*************************************************************************************************************************************/ BCommande(nombre_d_arguments,arguments) /*-----------------------------------------------------------------------------------------------------------------------------------*/ Bblock DEFV(CHAR,INIC(POINTERc(nom_imageR),NOM_PIPE)); /* Nom de la sequence a generer eventuellement. */ DEFV(CHAR,INIC(POINTERc(nom_imageA),NOM_PIPE)); /* Nom de la sequence a visualiser. */ 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(Logical,INIT(attendre_les_images_inexistantes,ATTENDRE_LES_IMAGES_INEXISTANTES)); /* Indique si les images inexistantes constituent une erreur ('FAUX'), ou bien si cela est */ /* normal ('VRAI'), ce qui signifie qu'elles n'ont pas encore ete calculee... */ DEFV(Positive,INIT(duree_d_attente_des_images_inexistantes,DUREE_D_ATTENTE_DES_IMAGES_INEXISTANTES)); /* Duree d'attente des images inexistantes avec une valeur par defaut assurant la */ /* compatibilite avec la version anterieure au 20040928095323. */ #include xci/album.03.I" /*..............................................................................................................................*/ EGAL(files_____editer_les_messages_d_erreur_de_lecture_des_fichiers,EDITER_LES_MESSAGES_D_ERREUR); /* Initialisation de l'indicateur d'edition des messages d'erreur... */ GET_ARGUMENTSi(nombre_d_arguments ,BLOC(GET_ARGUMENT_L("attendre=",attendre_les_images_inexistantes); GET_ARGUMENT_I("attente=",duree_d_attente_des_images_inexistantes); GET_ARGUMENT_C("imageA=""A=",nom_imageA); GET_ARGUMENT_C("imageR=""R=",nom_imageR); GET_ARGUMENT_C("postfixe=",nom_postfixe); GET_ARGUMENT_I("premiere=",premiere_image); GET_ARGUMENTS2_I("pas=",pas_des_images,pasZ); /* L'argument 'pasZ' fut introduit le 20110119140325... */ GET_ARGUMENT_I("chiffres=",nombre_de_chiffres); GET_ARGUMENT_C("permutation=",permutation_des_dimensions); ) ); begin_nouveau_block Bblock BDEFV(album,album_d_images); /* Definition de l'album d'images dans lequel ranger la sequence a visualiser... */ BDEFV(album,album_d_images_transpose); /* Definition de l'album d'images apres transposition eventuelle des dimensions... */ #include xci/album.04.I" /* Permutation eventuelle des dimensions... */ EDEFV(album,album_d_images_transpose); /* Definition de l'album d'images apres transposition eventuelle des dimensions... */ EDEFV(album,album_d_images); /* Definition de l'album d'images dans lequel ranger la sequence a visualiser... */ Eblock end_nouveau_block RETU_Commande; Eblock ECommande