xp_comm_proj/rd_dicom/Papyrus3/PapyInitGroups3.c
/********************************************************************************/
/*										*/
/*	init_group2040 : initializes the elements of the group 2040		*/
/*										*/
/********************************************************************************/
init_group2040 : initializes the elements of the group 2040
init_group2040 : initializes the elements of the group 2040
void
init_group2040 (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papGroupLength];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0000;
  theWrkP->length = 0L;
  theWrkP->vr = UL;
  theWrkP->vm = "1";
  theWrkP->type_t = RET;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papReferencedOverlayPlaneSequenceGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0010;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "0-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papReferencedOverlayPlaneGroupsGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0011;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "1-99";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayPixelDataSequenceGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0020;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayMagnificationTypeGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0060;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayMagnificationGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0062;
  theWrkP->length = 0L;
  theWrkP->vr = DS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlaySmoothingTypeGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0070;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayOrImageMagnificationGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0072;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papMagnifyToNumberOfColumnsGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0074;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayForegroundDensityGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0080;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayBackgroundDensityGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0082;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOverlayModeGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0090;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papThresholdDensityGr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0100;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papReferencedImageBoxSequence2040Gr];
  theWrkP->group = 0x2040;
  theWrkP->element = 0x0500;
  theWrkP->length = 0L;
  theWrkP->vr = RET;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_group2040 ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papGroupLength ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0000 ; theWrkP -> length = 0L ; theWrkP -> vr = UL ; theWrkP -> vm = " " ; theWrkP -> type_t = RET ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papReferencedOverlayPlaneSequenceGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0010 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papReferencedOverlayPlaneGroupsGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0011 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayPixelDataSequenceGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0020 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayMagnificationTypeGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0060 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayMagnificationGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0062 ; theWrkP -> length = 0L ; theWrkP -> vr = DS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlaySmoothingTypeGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0070 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayOrImageMagnificationGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0072 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papMagnifyToNumberOfColumnsGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0074 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayForegroundDensityGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0080 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayBackgroundDensityGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0082 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOverlayModeGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0090 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papThresholdDensityGr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0100 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papReferencedImageBoxSequence2040Gr ] ; theWrkP -> group = 0x2040 ; theWrkP -> element = 0x0500 ; theWrkP -> length = 0L ; theWrkP -> vr = RET ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_group2040 : initializes the elements of the group 2040
init_group2040 : initializes the elements of the group 2040