model_server/driver_aset/src/driver.cxx
// Return true if v_node is currently selected.
Return true if v_node is currently selected.
Return true if v_node is currently selected .
int driver::is_selected(viewTreePtr v_node, OperPoint** pt)
{
    Initialize(driver::is_selected);
    if(v_node)
    {
	Obj* el;
	ForEach(el, sel_list.oper_pts)
	{
	    if(el && ((OperPoint*)el)->view_node == v_node)
	    {
		if(pt)
		    *pt = (OperPoint*)el;
		return 1;
	    }
	}
    }
    return 0;
}
int driver :: is_selected ( viewTreePtr v_node , OperPoint * * pt ) { Initialize ( driver :: is_selected ) ; if ( v_node ) { Obj * el ; ForEach ( el , sel_list . oper_pts ) { if ( el && ( ( OperPoint * ) el ) -> view_node == v_node ) { if ( pt ) * pt = ( OperPoint * ) el ; return 1 ; } } } return 0 ; }
Return true if v_node is currently selected.
Return true if v_node is currently selected .