69 yarp::sig::Vector *enc =NULL;
70 yarp::sig::Vector *encV=NULL;
78 if (encV)
for (
int i=0; i<6; ++i)
dEncBase[i]=(*encV)[i];
146 glShadeModel(GL_SMOOTH);
147 GLfloat ambientA[]={0.9,0.667,0.561,1};
148 GLfloat diffuseA[]={0.9,0.667,0.561,0};
149 GLfloat specularA[]={0.6,0.6,0.6,0.0};
150 GLfloat shininessA=100.0;
151 glMaterialfv(GL_FRONT,GL_AMBIENT,ambientA);
152 glMaterialfv(GL_FRONT,GL_DIFFUSE,diffuseA);
153 glMaterialfv(GL_FRONT,GL_SPECULAR,specularA);
154 glMaterialf(GL_FRONT,GL_SHININESS,shininessA);
155 glEnable(GL_LIGHTING);
159 glEnable(GL_COLOR_MATERIAL);
160 glEnable(GL_LINE_SMOOTH);
167 glScaled(dScale,dScale,dScale);
170 glTranslated(0.0,3.5,0.0);