xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_ROIContour : initializes the elements of the module		*/
/*	ROI Contour 								*/
/*										*/
/********************************************************************************/
init_ROIContour : initializes the elements of the module
ROI Contour
init_ROIContour : initializes the elements of the module ROI Contour
void
init_ROIContour (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papROIContourSequence];
  theWrkP->group = 0x3006;
  theWrkP->element = 0x0039;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papContourNumber];
  theWrkP->group = 0x3006;
  theWrkP->element = 0x0048;
  theWrkP->length = 0L;
  theWrkP->vr = IS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papAttachedContours];
  theWrkP->group = 0x3006;
  theWrkP->element = 0x0049;
  theWrkP->length = 0L;
  theWrkP->vr = IS;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_ROIContour ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papROIContourSequence ] ; theWrkP -> group = 0x3006 ; theWrkP -> element = 0x0039 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papContourNumber ] ; theWrkP -> group = 0x3006 ; theWrkP -> element = 0x0048 ; theWrkP -> length = 0L ; theWrkP -> vr = IS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papAttachedContours ] ; theWrkP -> group = 0x3006 ; theWrkP -> element = 0x0049 ; theWrkP -> length = 0L ; theWrkP -> vr = IS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_ROIContour : initializes the elements of the module
ROI Contour
init_ROIContour : initializes the elements of the module ROI Contour