void CNCFangZhenView::DrawNCGraphics()
{
int i;
glPushMatrix();
glShadeModel ( GL_FLAT );
glLoadIdentity ();
glScalef ( m_coordScaleX, m_coordScaleY, m_coordScaleZ );
glTranslatef ( m_coordTransX, m_coordTransY, m_coordTransZ );
glRotatef ( m_coordRotateX, 1.0f, 0.0f, 0.0f );
glRotatef ( m_coordRotateY, 0.0f, 1.0f, 0.0f );
glRotatef ( m_coordRotateZ, 0.0f, 0.0f, 1.0f );
for(i=1;i<1000;i++)
{
glColor3f ( 1.0f , 0.0f , 1.0f );
glBegin ( GL_LINES );
glLineWidth ( 16.0f );
glVertex3d ( m_fVertex[i-1][0],m_fVertex[i-1][1],m_fVertex[i-1][2]);
// glVertex3d (m_fVertex[i+1][0],m_fVertex[i+1][1],m_fVertex[i+1][2] );
glVertex3d ( m_fVertex[i][0],m_fVertex[i][1],m_fVertex[i][2]);
glEnd();
}
glPopMatrix();
}