OCC Code Analysis

Source: Internet
Author: User

The temporary variable is the variable inside the local
Erasing a variable is changing the model to an erase tag

void Selectmgr_selectionmanager
:: LoadMode (const Handle (selectmgr_selectableobject) & AnObject,
Const Standard_integer Amode)
{
if (amode==-1) return;
if (!anobject->hasselection (Amode))
{
Handle (selectmgr_selection) Newsel = new Selectmgr_selection (Amode);
Anobject->addselection (Newsel,amode);
}
}
A pattern corresponds to a selectmgr_selection, and also a filter pattern

Myctx->selectionmanager ()->activate (anobject,itl. Value (), mymainvs,withproj);

Selectionmanager the corresponding management class

void Ais_tanshape::computeselection (const Handle (selectmgr_selection) & Aselection,
Const Standard_integer Amode)
When displayed, the default mode is generated, and the build can be opened at any time
Selection mode includes native mode and ready-to-open mode

void Stdselect_brepselectiontool
:: computesensitive (const topods_shape& theshape,
Const Handle (stdselect_brepowner) & Theowner,
Const Handle (selectmgr_selection) & Theselection,
Const Standard_real Thedeflection,
Const Standard_real Thedeviationangle,
Const Standard_integer Thenbponedge,
Const Standard_real Themaxparam,
Const Standard_boolean isautotriangulation)
Adding a pickup point dynamically

Charge a small fee, can provide three-dimensional engine osg,ogre, VTK, OpenGL and other graphic libraries, OCC, QT and other three-dimensional framework of technical advisory services, interested parties please add me QQ 1578175270

OCC Code Analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.