274 } |
274 } |
275 this->update(); |
275 this->update(); |
276 } |
276 } |
277 |
277 |
278 /** |
278 /** |
|
279 * @returns the ids of the currently selected objects |
|
280 */ |
|
281 const QSet<ldraw::id_t> Canvas::selectedObjects() const |
|
282 { |
|
283 return this->selection; |
|
284 } |
|
285 |
|
286 /** |
279 * @brief Paints a circle at where @c worldPoint is located on the screen. |
287 * @brief Paints a circle at where @c worldPoint is located on the screen. |
280 * @param painter Painter to use to render |
288 * @param painter Painter to use to render |
281 * @param worldPoint Point to render |
289 * @param worldPoint Point to render |
282 */ |
290 */ |
283 void Canvas::drawWorldPoint(QPainter* painter, const glm::vec3& worldPoint) const |
291 void Canvas::drawWorldPoint(QPainter* painter, const glm::vec3& worldPoint) const |