xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_ModalityLUT : initializes the elements of the module		*/
/*	Modality LUT 								*/
/*										*/
/********************************************************************************/
init_ModalityLUT : initializes the elements of the module
Modality LUT
init_ModalityLUT : initializes the elements of the module Modality LUT
void
init_ModalityLUT (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papModalityLUTSequence];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x3000;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papRescaleInterceptML];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1052;
  theWrkP->length = 0L;
  theWrkP->vr = DS;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papRescaleSlopeML];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1053;
  theWrkP->length = 0L;
  theWrkP->vr = DS;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papRescaleType];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1054;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_ModalityLUT ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papModalityLUTSequence ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x3000 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papRescaleInterceptML ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1052 ; theWrkP -> length = 0L ; theWrkP -> vr = DS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papRescaleSlopeML ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1053 ; theWrkP -> length = 0L ; theWrkP -> vr = DS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papRescaleType ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1054 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_ModalityLUT : initializes the elements of the module
Modality LUT
init_ModalityLUT : initializes the elements of the module Modality LUT