xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_VOILUT : initializes the elements of the module			*/
/*	VOI LUT 								*/
/*										*/
/********************************************************************************/
init_VOILUT : initializes the elements of the module
VOI LUT
init_VOILUT : initializes the elements of the module VOI LUT
void
init_VOILUT (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papVOILUTSequence];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x3010;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papWindowCenter];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1050;
  theWrkP->length = 0L;
  theWrkP->vr = DS;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papWindowWidth];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1051;
  theWrkP->length = 0L;
  theWrkP->vr = DS;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papWindowCenterWidthExplanation];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1055;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_VOILUT ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papVOILUTSequence ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x3010 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papWindowCenter ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1050 ; theWrkP -> length = 0L ; theWrkP -> vr = DS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papWindowWidth ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1051 ; theWrkP -> length = 0L ; theWrkP -> vr = DS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papWindowCenterWidthExplanation ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1055 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_VOILUT : initializes the elements of the module
VOI LUT
init_VOILUT : initializes the elements of the module VOI LUT