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