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

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

本文简介:选择自 searoc 的 blog

       handle(ais_shape) ais = new ais_shape(face);

       m_paiscontext->setcolor(ais,quantity_noc_gray99,standard_false);

       m_paiscontext->setmaterial(ais,graphic3d_nom_stone,standard_false);  

       m_paiscontext->setdisplaymode(ais,1);

       m_paiscontext->display(ais,standard_false);

      

       m_pview->fitall();

       m_pview->zfitall();      

}

2ctest3dviewdlg class

/////////////////////////////////////////////////////////////////////////////

// // test3dviewdlg.h : header file

class c3dwnd;

 

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

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

go top