31 using namespace GMap3d;
33 CParameterObjectTransformation::CParameterObjectTransformation(
int ANbRef) :
42 FLWObjectTransformation(AParam.FLWObjectTransformation)
75 AStream<<
"CParameterObjectTransformation:"<<endl;
77 AStream<<
" LineWidth: "<<AParameter.FLWObjectTransformation<<endl;
79 AStream<<
" Color: "<<AParameter.FCLObjectTransformation[0]<<
" "
80 <<AParameter.FCLObjectTransformation[1]<<
" "
81 <<AParameter.FCLObjectTransformation[2]<<endl;
93 AStream>>tmp; assert ( !strcmp(tmp,
"CParameterObjectTransformation:") );
95 AStream>>tmp; assert ( !strcmp(tmp,
"LineWidth:") );
96 AStream>>AParameter.FLWObjectTransformation;
98 AStream>>tmp; assert ( !strcmp(tmp,
"Color:") );
99 AStream>>AParameter.FCLObjectTransformation[0]
100 >>AParameter.FCLObjectTransformation[1]
101 >>AParameter.FCLObjectTransformation[2];
111 {
return FLWObjectTransformation; }
114 if ( FLWObjectTransformation!=AValue )
117 FLWObjectTransformation= AValue;
123 assert(0<=AIndice && AIndice<=2);
124 return FCLObjectTransformation[AIndice];
129 assert(0<=AIndice && AIndice<=2);
130 if ( FCLObjectTransformation[AIndice]!=AValue )
133 FCLObjectTransformation[AIndice]= AValue;
137 {
return FCLObjectTransformation; }
142 if ( FCLObjectTransformation[0]!=AValue0 ||
143 FCLObjectTransformation[1]!=AValue1 ||
144 FCLObjectTransformation[2]!=AValue2 )
147 FCLObjectTransformation[0]= AValue0;
148 FCLObjectTransformation[1]= AValue1;
149 FCLObjectTransformation[2]= AValue2;