xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_PaletteColorLookup : initializes the elements of the module	*/
/*	Palette Color Lookup 							*/
/*										*/
/********************************************************************************/
init_PaletteColorLookup : initializes the elements of the module
Palette Color Lookup
init_PaletteColorLookup : initializes the elements of the module Palette Color Lookup
void
init_PaletteColorLookup (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papRedPaletteColorLookupTableDescriptorPCL];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1101;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "3";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papGreenPaletteColorLookupTableDescriptorPCL];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1102;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "3";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papBluePaletteColorLookupTableDescriptorPCL];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1103;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "3";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papPaletteColorLookupTableUID];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1199;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papRedPaletteCLUTData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1201;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papGreenPaletteCLUTData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1202;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papBluePaletteCLUTData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1203;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papSegmentedRedPaletteColorLookupTableData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1221;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papSegmentedGreenPaletteColorLookupTableData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1222;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papSegmentedBluePaletteColorLookupTableData];
  theWrkP->group = 0x0028;
  theWrkP->element = 0x1223;
  theWrkP->length = 0L;
  theWrkP->vr = OW;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_PaletteColorLookup ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papRedPaletteColorLookupTableDescriptorPCL ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1101 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papGreenPaletteColorLookupTableDescriptorPCL ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1102 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papBluePaletteColorLookupTableDescriptorPCL ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1103 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papPaletteColorLookupTableUID ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1199 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papRedPaletteCLUTData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1201 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papGreenPaletteCLUTData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1202 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papBluePaletteCLUTData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1203 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papSegmentedRedPaletteColorLookupTableData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1221 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papSegmentedGreenPaletteColorLookupTableData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1222 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papSegmentedBluePaletteColorLookupTableData ] ; theWrkP -> group = 0x0028 ; theWrkP -> element = 0x1223 ; theWrkP -> length = 0L ; theWrkP -> vr = OW ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_PaletteColorLookup : initializes the elements of the module
Palette Color Lookup
init_PaletteColorLookup : initializes the elements of the module Palette Color Lookup