EgtGraphics 1.6c3 :
- possibilità di filtrare selezione per tipologia di entità - filtro per snap punto ricondotto al caso precedente.
This commit is contained in:
@@ -109,6 +109,24 @@ Scene::Select( const Point3d& ptSelCenter, int nW, int nH, int& nSel)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::SetObjFilterForSelect( bool bZerodim, bool bCurve, bool bSurf, bool bVolume, bool bExtra)
|
||||
{
|
||||
m_nObjFilterForSelect = 0 ;
|
||||
if ( bZerodim)
|
||||
m_nObjFilterForSelect |= GEO_ZERODIM ;
|
||||
if ( bCurve)
|
||||
m_nObjFilterForSelect |= GEO_CURVE ;
|
||||
if ( bSurf)
|
||||
m_nObjFilterForSelect |= GEO_SURF ;
|
||||
if ( bVolume)
|
||||
m_nObjFilterForSelect |= GEO_VOLUME ;
|
||||
if ( bExtra)
|
||||
m_nObjFilterForSelect |= GEO_EXTRA ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::GetSelectedObjs( INTVECTOR& nIds)
|
||||
|
||||
Reference in New Issue
Block a user