xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_Mask : initializes the elements of the module		        */
/*	Mask 								        */
/*										*/
/********************************************************************************/
init_Mask : initializes the elements of the module
Mask
init_Mask : initializes the elements of the module Mask
void
init_Mask (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papMaskSubtractionSequence];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x6100;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papRecommendedViewingMode];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1090;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T2;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_Mask ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papMaskSubtractionSequence ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x6100 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papRecommendedViewingMode ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1090 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T2 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_Mask : initializes the elements of the module
Mask
init_Mask : initializes the elements of the module Mask