Lines Matching defs:box
104 /* with Shift; if there is more than one box linked to this VP
124 /* if a box in the VP is unselected, move it to the
238 // TODO: Update box's paths and svg representation
246 _("3D box: Move vanishing point"));
264 SPBox3D *box = dynamic_cast<SPBox3D *>(item);
265 if (box && this->hasBox(box)) {
266 sel_boxes.push_back(box);
329 this->knot->tip = g_strdup_printf (ngettext("<b>Finite</b> vanishing point shared by <b>%d</b> box",
330 "<b>Finite</b> vanishing point shared by <b>%d</b> boxes; drag with <b>Shift</b> to separate selected box(es)",
336 this->knot->tip = g_strdup_printf (ngettext("<b>Infinite</b> vanishing point shared by <b>%d</b> box",
337 "<b>Infinite</b> vanishing point shared by <b>%d</b> boxes; drag with <b>Shift</b> to separate selected box(es)",
344 char *desc2 = g_strdup_printf (ngettext("shared by <b>%d</b> box; drag with <b>Shift</b> to separate selected box(es)",
345 "shared by <b>%d</b> boxes; drag with <b>Shift</b> to separate selected box(es)",
385 VPDragger::findVPWithBox (SPBox3D *box) {
387 if ((*vp).hasBox(box)) {
403 SPBox3D *box = dynamic_cast<SPBox3D *>(item);
404 if (box) {
405 vp = this->findVPWithBox(box);
581 SPBox3D *box = dynamic_cast<SPBox3D *>(item);
582 if (box) {
585 vp.set(box3d_get_perspective(box), Proj::axes[i]);
613 SPBox3D *box = dynamic_cast<SPBox3D *>(item);
614 if (box) {
615 this->drawLinesForFace (box, Proj::X);
616 this->drawLinesForFace (box, Proj::Y);
617 this->drawLinesForFace (box, Proj::Z);
633 // Currently we only show handles if a single box is selected
670 void VPDrag::drawLinesForFace(const SPBox3D *box, Proj::Axis axis) //, guint corner1, guint corner2, guint corner3, guint corner4)
689 box3d_corners_for_PLs (box, axis, corner1, corner2, corner3, corner4);
691 g_return_if_fail (box3d_get_perspective(box));
692 Proj::Pt2 vp = persp3d_get_VP (box3d_get_perspective(box), axis);
709 Persp3D *persp = box3d_get_perspective(box);