Lines Matching defs:to
61 * UI elements can listen to.
70 * Constructs an selection object, bound to a particular
80 * Returns the layer model the selection is bound to (works in console or GUI mode)
82 * @return the layer model the selection is bound to, which is the same as the desktop
88 * Returns the desktop the selection is bound to
90 * @return the desktop the selection is bound to, or NULL if in console mode
97 * @return layer item the selection is bound to
102 * Add an SPObject to the set of selected objects.
104 * @param obj the SPObject to add
109 * Add an XML node's SPObject to the set of selected objects.
111 * @param the xml node of the item to add
116 * Set the selection to a single specific object.
118 * @param obj the object to select
123 * Set the selection to an XML node's SPObject.
125 * @param repr the xml node of the item to select
132 * It is ok to call this method for an unselected item.
134 * @param item the item to unselect
141 * @param item the item to unselect
148 * It is ok to call this method for an unselected item.
150 * @param repr the xml node of the item to remove
157 * @param objs the objects to select
162 * Adds the specified objects to selection, without deselecting first.
164 * @param objs the objects to select
171 * @param repr a list of xml nodes for the items to select
175 /** Add items from an STL iterator range to the selection.
177 * \param to the end iterator
180 void add(InputIterator from, InputIterator to) {
182 while ( from != to ) {
256 * Returns a list of all 3D boxes in the current selection which are associated to @c
264 /** Returns the number of parents to which the selected objects belong. */
287 * Compute the list of points in the selection that are to be considered for snapping from.
294 * Connects a slot to be notified of selection changes.
299 * @param slot the slot to connect
312 * Connects a slot to be notified of selected object modifications.
318 * @param slot the slot to connect
340 /** Schedules an item modification signal to be sent. */
360 /** returns the SPObject corresponding to an xml node (if any). */
365 mutable std::list<SPObject*> _objs; //to more efficiently remove arbitrary elements
366 mutable std::vector<SPObject*> _objs_vector; // to be returned by list();
367 mutable std::set<SPObject*> _objs_set; //to efficiently test if object is selected