Home
last modified time | relevance | path

Searched refs:Get_Selection_Count (Results 1 – 25 of 55) sorted by relevance

123

/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_api/
H A Dshapes_selection.cpp102 return( Get_Selection_Count() > 0 ); in Select()
126 return( Get_Selection_Count() > 0 ); in Select()
132 if( Get_Selection_Count() > 0 ) in Get_Selection_Extent()
136 for(int i=1; i<(int)Get_Selection_Count(); i++) in Get_Selection_Extent()
H A Dtable_selection.cpp117 if( Get_Selection_Count() > 0 ) in _Destroy_Selection()
182 if( Get_Selection_Count() > 0 ) in Del_Selection()
226 return( (int)Get_Selection_Count() ); in Inv_Selection()
H A Dpointcloud.cpp1483 if( !bInvert && Get_Selection_Count() > 0 ) in Select()
1485 for(size_t i=0; i<Get_Selection_Count(); i++) in Select()
1546 return( Get_Selection_Count() > 0 ); in Select()
1576 return( Index < Get_Selection_Count() ? _Set_Shape((int)Get_Selection_Index(Index)) : NULL ); in Get_Selection()
1582 if( Get_Selection_Count() > 0 && Set_Cursor((int)Get_Selection_Index(0)) ) in Get_Selection_Extent()
1589 for(size_t i=1; i<Get_Selection_Count(); i++) in Get_Selection_Extent()
1618 if( Get_Selection_Count() > 0 ) in Del_Selection()
1654 if( m_Selection.Set_Array((size_t)m_nRecords - Get_Selection_Count()) ) in Inv_Selection()
1658 for(size_t i=0, n=0; i<(size_t)m_nRecords && n<Get_Selection_Count(); i++, pPoint++) in Inv_Selection()
1673 return( (int)Get_Selection_Count() ); in Inv_Selection()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/table/table_tools/
H A Dtable_selection.cpp120 if( pInput->Get_Selection_Count() <= 0 ) in On_Execute()
140 …for(size_t i=0; i<pInput->Get_Selection_Count() && Set_Progress(i, pInput->Get_Selection_Count());… in On_Execute()
159 …for(size_t i=0; i<pInput->Get_Selection_Count() && Set_Progress(i, pInput->Get_Selection_Count());… in On_Execute()
199 if( pInput->Get_Selection_Count() <= 0 ) in On_Execute()
406 Message_Fmt("\n%s: %d", _TL("selected records"), pTable->Get_Selection_Count()); in On_Execute()
597 Message_Fmt("\n%s: %d", _TL("selected records"), pTable->Get_Selection_Count()); in On_Execute()
H A Dfield_formatted_string.cpp179 pParameters->Set_Enabled("SELECTION", pTable->Get_Selection_Count() > 0); in On_Parameters_Enable()
248 if( pTable->Get_Selection_Count() > 0 && Parameters("SELECTION")->asBool() ) in On_Execute()
250 …for(size_t i=0; i<pTable->Get_Selection_Count() && Set_Progress(i, pTable->Get_Selection_Count());… in On_Execute()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_tools/
H A DNewLayerFromSelectedShapes.cpp72 if( pInput->Get_Selection_Count() <= 0 ) in On_Execute()
86 …for(int i=0; i<pInput->Get_Selection_Count() && Set_Progress(i, pInput->Get_Selection_Count()); i+… in On_Execute()
144 if( pInput->Get_Selection_Count() <= 0 ) in On_Execute()
H A DSearchInTable.cpp160 Message_Fmt("\n%s: %d", _TL("selected shapes"), pShapes->Get_Selection_Count()); in On_Execute()
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_gui/
H A Dwksp_shapes_edit.cpp106 if( Get_Shapes()->Get_Selection_Count() > 1 in Edit_Get_Menu()
113 if( Get_Shapes()->Get_Selection_Count() == 1 in Edit_Get_Menu()
150 if( Get_Shapes()->Get_Selection_Count() > 0 ) in Edit_Get_Extent()
353 int Count = Get_Shapes()->Get_Selection_Count(); in Edit_On_Mouse_Up()
358 … Count < Get_Shapes()->Get_Selection_Count() || m_Edit_Index >= Get_Shapes()->Get_Selection_Count() in Edit_On_Mouse_Up()
445 if( Index > Get_Shapes()->Get_Selection_Count() ) in Edit_Set_Index()
447 Index = Get_Shapes()->Get_Selection_Count(); in Edit_Set_Index()
517 for(int i=1; i<Get_Shapes()->Get_Selection_Count(); i++) in _Edit_Merge()
814 if( Get_Shapes()->Get_Selection_Count() > 0 ) in _Edit_Shape_Add()
848 if( Get_Shapes()->Get_Selection_Count() > 0 ) in _Edit_Shape_Del()
[all …]
H A Dactive_info.cpp164 …return( m_pItem && m_pItem->Get_Shapes()->Get_Selection_Count() > 0 ? m_pItem->Get_Shapes() : NULL… in _Get_Shapes()
177 if( pShapes && m_pSelections->GetSelection() < pShapes->Get_Selection_Count() ) in On_Choice()
197 if( pShapes->Get_Selection_Count() > 1 ) in Set_Info()
199 for(int i=0; i<pShapes->Get_Selection_Count(); i++) in Set_Info()
H A Dactive_attributes.cpp147 if( _Get_Table() && m_pSelections->GetSelection() < _Get_Table()->Get_Selection_Count() ) in On_Choice()
200 if( _Get_Table() && _Get_Table()->Get_Selection_Count() > 1 ) in Set_Attributes()
202 for(int i=0; i<_Get_Table()->Get_Selection_Count(); i++) in Set_Attributes()
H A Dactive.cpp336 …tType() == SG_DATAOBJECT_TYPE_Table && ((CSG_Table *)pObject)->Get_Selection_Count() > 0) in Set_Active()
337 …tType() == SG_DATAOBJECT_TYPE_TIN && ((CSG_Shapes *)pObject)->Get_Selection_Count() > 0) in Set_Active()
338 …tType() == SG_DATAOBJECT_TYPE_PointCloud && ((CSG_PointCloud *)pObject)->Get_Selection_Count() > 0) in Set_Active()
339 …pe() == SG_DATAOBJECT_TYPE_Shapes && ((CSG_Shapes *)pObject)->Get_Selection_Count() > 0)) ) in Set_Active()
H A Dview_table_control.cpp360 if( m_pTable->Get_Selection_Count() > 0 ) in _Update_Selection()
392 if( m_pTable->Get_Selection_Count() > 0 ) in On_Selecting()
664 else if( m_pTable->Get_Selection_Count() > 0 ) in On_Sel_Only()
674 event.Enable(m_pData->m_bSelection || m_pTable->Get_Selection_Count() > 0); in On_Sel_Only_UI()
682 if( m_pTable->Get_Selection_Count() > 0 ) in On_Sel_Clear()
692 event.Enable(!m_pData->m_bSelection && m_pTable->Get_Selection_Count() > 0); in On_Sel_Clear_UI()
1190 m_Field_Calc.Set_Enabled("SELECTION", m_pTable->Get_Selection_Count() > 0); in On_Field_Calc()
1256 event.Enable(m_pTable->Get_Selection_Count() > 0); in On_Record_Del_UI()
H A Dview_table_data.cpp333 int nRecords = m_pTable->Get_Selection_Count() in To_Clipboard()
334 ? (int)m_pTable->Get_Selection_Count() : m_pTable->Get_Count(); in To_Clipboard()
338 CSG_Table_Record *pRecord = m_pTable->Get_Selection_Count() in To_Clipboard()
H A Ddlg_table_control.cpp242 if( m_Table.Get_Selection_Count() > 0 ) in _Update_Selection()
543 …return( (m_Table.Get_Selection_Count() ? m_Table.Del_Selection() > 0 : m_Table.Del_Record(GetGridC… in Del_Record()
600 event.Enable(!m_Table.is_Indexed() && m_Table.Get_Selection_Count() > 0); in On_Record_Del_UI()
614 event.Enable(m_Table.Get_Selection_Count() > 0); in On_Record_Clr_UI()
H A Dwksp_base_control.cpp291 if( m_pManager == g_pActive->Get_Active() && Get_Selection_Count() > 1 ) in _Del_Item()
414 int CWKSP_Base_Control::Get_Selection_Count(void) in Get_Selection_Count() function in CWKSP_Base_Control
555 …if( Get_Selection_Count() > 0 && DLG_Open(File_Path, ID_DLG_PARAMETERS_OPEN) && Data.Load(&File_Pa… in _Load_Settings()
692 CSG_Parameters *pParameters = Get_Selection_Count() > 0 ? DLG_Copy_Settings() : NULL; in _Copy_Settings()
875 if( Get_Selection_Count() <= 1 ) in On_Item_RClick()
H A Dwksp_pointcloud.cpp131 DESC_ADD_SIZET(_TL("Selected" ), Get_PointCloud()->Get_Selection_Count()); in Get_Description()
252 …if( Get_PointCloud()->Get_Selection_Count() > 0 && DLG_Message_Confirm(_TL("Delete selected point(… in On_Command()
790 if( Get_PointCloud()->Get_Selection_Count() > 0 ) in Edit_Get_Extent()
853 if( Index > (int)Get_PointCloud()->Get_Selection_Count() ) in Edit_Set_Index()
855 Index = Get_PointCloud()->Get_Selection_Count(); in Edit_Set_Index()
1001 …int Selection = pPoints->Get_Selection_Count() > 0 ? (int)pPoints->Get_Selection_Index(m_Edit_Inde… in _Draw_Points()
H A Dwksp_data_control.h84 virtual int Get_Selection_Count (void);
H A Dwksp_base_control.h80 virtual int Get_Selection_Count (void);
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/table/table_calculus/
H A DTable_Calculator.cpp160 pParameters->Set_Enabled("SELECTION", pTable->Get_Selection_Count() > 0); in On_Parameters_Enable()
234 if( pTable->Get_Selection_Count() > 0 && Parameters("SELECTION")->asBool() ) in On_Execute()
236 …for(size_t i=0; i<pTable->Get_Selection_Count() && Set_Progress(i, pTable->Get_Selection_Count());… in On_Execute()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_gridding/
H A Dkernel_density.cpp192 if( pPoints->Get_Selection_Count() > 0 ) in On_Execute()
194 …for(int iPoint=0; iPoint<(int)pPoints->Get_Selection_Count() && Set_Progress(iPoint, pPoints->Get_… in On_Execute()
H A Dgrid_cell_polygon_coverage.cpp130 …_Enabled("SELECTION", pParameter->asShapes() && pParameter->asShapes()->Get_Selection_Count() > 0); in On_Parameters_Enable()
144 #define GET_NPOLYGONS (bSelection ? pPolygons->Get_Selection_Count() : pPolygons->Get_Count())
162 bool bSelection = pPolygons->Get_Selection_Count() > 0 ? Parameters("SELECTION")->asBool() : false; in On_Execute()
483 if( pPolygons->Get_Selection_Count() <= 0 ) in Set_Category()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/garden/garden_3d_viewer/
H A D3d_viewer_shapes.cpp207 if( m_pShapes->Get_Selection_Count() > 0 ) in Update_Statistics()
211 for(int i=0; i<m_pShapes->Get_Selection_Count(); i++) in Update_Statistics()
326 if( m_pShapes->Get_Selection_Count() > 0 ) in On_Draw()
328 for(int iShape=0; iShape<m_pShapes->Get_Selection_Count(); iShape++) in On_Draw()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grids_tools/
H A Dgrid_collection.cpp646 if( pSelection->Get_Selection_Count() > 0 ) in On_Execute()
648 …for(int i=0; i<pSelection->Get_Selection_Count() && Set_Progress(i, pSelection->Get_Selection_Coun… in On_Execute()
888 if( pSelection->Get_Selection_Count() <= 0 ) in On_Execute()
895 if( pSelection->Get_Selection_Count() >= pSelection->Get_Item_Count() ) in On_Execute()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/shapes/shapes_points/
H A Dremove_duplicates.cpp205 if( m_pPoints->Get_Selection_Count() == 0 ) in On_Execute()
211 Message_Fmt("\n%d %s", m_pPoints->Get_Selection_Count(), _TL("duplicates have been removed.")); in On_Execute()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_tools/
H A DGrid_Fill.cpp294 #define GET_NPOINTS (bSelection ? pPoints->Get_Selection_Count() : pPoints->Get_Count()) in On_Execute()
297 bool bSelection = pPoints->Get_Selection_Count() > 0; in On_Execute()

123