xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_FrameOfReference : initializes the elements of the module		*/
/*	Frame Of Reference 							*/
/*										*/
/********************************************************************************/
init_FrameOfReference : initializes the elements of the module
Frame Of Reference
init_FrameOfReference : initializes the elements of the module Frame Of Reference
void
init_FrameOfReference (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papFrameofReferenceUID];
  theWrkP->group = 0x0020;
  theWrkP->element = 0x0052;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papPositionReferenceIndicator];
  theWrkP->group = 0x0020;
  theWrkP->element = 0x1040;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1";
  theWrkP->type_t = T2;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_FrameOfReference ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papFrameofReferenceUID ] ; theWrkP -> group = 0x0020 ; theWrkP -> element = 0x0052 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papPositionReferenceIndicator ] ; theWrkP -> group = 0x0020 ; theWrkP -> element = 0x1040 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T2 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_FrameOfReference : initializes the elements of the module
Frame Of Reference
init_FrameOfReference : initializes the elements of the module Frame Of Reference