40 FLWGrid (AParam.FLWGrid),
41 FLGGrid (AParam.FLGGrid),
42 FDisplayGridXY (AParam.FDisplayGridXY),
43 FDisplayGridYZ (AParam.FDisplayGridYZ),
44 FDisplayGridXZ (AParam.FDisplayGridXZ),
45 FDisplayPositiveGridX(AParam.FDisplayPositiveGridX),
46 FDisplayPositiveGridY(AParam.FDisplayPositiveGridY),
47 FDisplayPositiveGridZ(AParam.FDisplayPositiveGridZ)
82 AStream<<
"CParameterGrid:"<<endl;
84 AStream<<
" LineWidth: "<<AParameter.FLWGrid<<endl;
86 AStream<<
" Length: "<<AParameter.FLGGrid<<endl;
88 AStream<<
" DisplayXY: "<<AParameter.FDisplayGridXY<<endl;
89 AStream<<
" DisplayYZ: "<<AParameter.FDisplayGridYZ<<endl;
90 AStream<<
" DisplayXZ: "<<AParameter.FDisplayGridXZ<<endl;
92 AStream<<
" PositiveX: "<<AParameter.FDisplayPositiveGridX<<endl;
93 AStream<<
" PositiveY: "<<AParameter.FDisplayPositiveGridY<<endl;
94 AStream<<
" PositiveZ: "<<AParameter.FDisplayPositiveGridZ<<endl;
96 AStream<<
" Color: "<<AParameter.FCLGrid[0]<<
" "
97 <<AParameter.FCLGrid[1]<<
" "<<AParameter.FCLGrid[2]<<endl;
109 AStream>>tmp; assert ( !strcmp(tmp,
"CParameterGrid:") );
111 AStream>>tmp; assert ( !strcmp(tmp,
"LineWidth:") );
112 AStream>>AParameter.FLWGrid;
114 AStream>>tmp; assert ( !strcmp(tmp,
"Length:") );
115 AStream>>AParameter.FLGGrid;
117 AStream>>tmp; assert ( !strcmp(tmp,
"DisplayXY:") );
118 AStream>>AParameter.FDisplayGridXY;
119 AStream>>tmp; assert ( !strcmp(tmp,
"DisplayYZ:") );
120 AStream>>AParameter.FDisplayGridYZ;
121 AStream>>tmp; assert ( !strcmp(tmp,
"DisplayXZ:") );
122 AStream>>AParameter.FDisplayGridXZ;
124 AStream>>tmp; assert ( !strcmp(tmp,
"PositiveX:") );
125 AStream>>AParameter.FDisplayPositiveGridX;
126 AStream>>tmp; assert ( !strcmp(tmp,
"PositiveY:") );
127 AStream>>AParameter.FDisplayPositiveGridY;
128 AStream>>tmp; assert ( !strcmp(tmp,
"PositiveZ:") );
129 AStream>>AParameter.FDisplayPositiveGridZ;
131 AStream>>tmp; assert ( !strcmp(tmp,
"Color:") );
132 AStream>>AParameter.FCLGrid[0]>>AParameter.FCLGrid[1]
133 >>AParameter.FCLGrid[2];
164 assert(0<=AIndice && AIndice<=2);
165 return FCLGrid[AIndice];
169 assert(0<=AIndice && AIndice<=2);
170 if (FCLGrid[AIndice]!=AValue)
173 FCLGrid[AIndice]= AValue;
180 if ( FCLGrid[0]!=AValue0 ||
181 FCLGrid[1]!=AValue1 ||
182 FCLGrid[2]!=AValue2 )
194 {
return FDisplayGridXY; }
198 if (FDisplayGridXY!=AValue)
201 FDisplayGridXY= AValue;
208 FDisplayGridXY= !FDisplayGridXY;
213 {
return FDisplayGridYZ; }
217 if (FDisplayGridYZ!=AValue)
220 FDisplayGridYZ= AValue;
227 FDisplayGridYZ= !FDisplayGridYZ;
232 {
return FDisplayGridXZ; }
236 if (FDisplayGridXZ!=AValue)
239 FDisplayGridXZ= AValue;
246 FDisplayGridXZ= !FDisplayGridXZ;
251 {
return FDisplayPositiveGridX; }
255 if (FDisplayPositiveGridX!=AValue)
258 FDisplayPositiveGridX= AValue;
265 FDisplayPositiveGridX= !FDisplayPositiveGridX;
270 {
return FDisplayPositiveGridY; }
274 if (FDisplayPositiveGridY!=AValue)
277 FDisplayPositiveGridY= AValue;
284 FDisplayPositiveGridY= !FDisplayPositiveGridY;
289 {
return FDisplayPositiveGridZ; }
293 if (FDisplayPositiveGridZ!=AValue)
296 FDisplayPositiveGridZ= AValue;
303 FDisplayPositiveGridZ= !FDisplayPositiveGridZ;