Implement the 3D view window in a Dialog with OpenCascade[39]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 searoc 的 blog

              clientdc.lineto(storedmaxx,storedminy); clientdc.lineto(storedminx,storedminy);

              m_isvisible = true;

       }

      

    if (m_ppen) clientdc.selectobject(aoldpen);

}

 

bool c3dwnd::onmousewheel(uint nflags, short zdelta, cpoint pt)

{

       // move with mb1 and control : on the dynamic zooming 

       // do the zoom in function of mouse's coordinates 

       m_curzoom = m_pview->scale();

       cxmax = pt.x + zdelta/czoomstep;

本文关键:Implement the 3D view window in a Dialog with OpenCascade
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top