Searched refs:Box3D (Results 1 - 16 of 16) sorted by relevance

/inkscape/src/
H A Daxis-manip.h52 namespace Box3D { namespace
77 inline int axis_to_int(Box3D::Axis axis) {
79 case Box3D::X:
81 case Box3D::Y:
83 case Box3D::Z:
85 case Box3D::NONE:
93 inline Proj::Axis toProj(Box3D::Axis axis) {
95 case Box3D::X:
97 case Box3D::Y:
99 case Box3D
135 namespace Box3D { namespace
[all...]
H A Dperspective-line.h19 namespace Box3D { namespace
21 class PerspectiveLine : public Box3D::Line {
37 } // namespace Box3D
H A Daxis-manip.cpp22 namespace Box3D { namespace
35 char * string_from_axes (Box3D::Axis axis) {
37 if (axis & Box3D::X) g_string_append_printf (pstring, "X");
38 if (axis & Box3D::Y) g_string_append_printf (pstring, "Y");
39 if (axis & Box3D::Z) g_string_append_printf (pstring, "Z");
43 } // namespace Box3D
H A Dbox3d-side.cpp32 this->dir1 = Box3D::NONE;
33 this->dir2 = Box3D::NONE;
34 this->front_or_rear = Box3D::FRONT;
87 if (!Box3D::is_face_id(desc)) {
91 g_return_if_fail (Box3D::is_face_id (desc));
93 Box3D::Axis plane = (Box3D::Axis) (desc & 0x7);
94 plane = (Box3D::is_plane(plane) ? plane : Box3D::orth_plane_or_axis(plane));
95 this->dir1 = Box3D
[all...]
H A Dbox3d-side.h30 Box3D::Axis dir1;
31 Box3D::Axis dir2;
32 Box3D::FrontOrRear front_or_rear;
H A Dbox3d.cpp49 this->swapped = Box3D::NONE;
300 return Proj::Pt3 ((id & Box3D::X) ? c7[Proj::X] : c0[Proj::X],
301 (id & Box3D::Y) ? c7[Proj::Y] : c0[Proj::Y],
302 (id & Box3D::Z) ? c7[Proj::Z] : c0[Proj::Z],
308 return Proj::Pt3 ((id & Box3D::X) ? box->orig_corner7[Proj::X] : box->orig_corner0[Proj::X],
309 (id & Box3D::Y) ? box->orig_corner7[Proj::Y] : box->orig_corner0[Proj::Y],
310 (id & Box3D::Z) ? box->orig_corner7[Proj::Z] : box->orig_corner0[Proj::Z],
384 Box3D::Line pl1(A, B);
385 Box3D::Line pl2(A, D);
386 Box3D
[all...]
H A Dbox3d.h45 Box3D::Axis swapped; // to indicate which coordinates are swapped during dragging
73 void box3d_set_corner (SPBox3D *box, unsigned int id, Geom::Point const &new_pos, Box3D::Axis movement, bool constrained);
74 void box3d_set_center (SPBox3D *box, Geom::Point const &new_pos, Geom::Point const &old_pos, Box3D::Axis movement, bool constrained);
79 int box3d_pt_lies_in_PL_sector (SPBox3D const *box, Geom::Point const &pt, int id1, int id2, Box3D::Axis axis);
80 int box3d_VP_lies_in_PL_sector (SPBox3D const *box, Proj::Axis vpdir, int id1, int id2, Box3D::Axis axis);
H A Dperspective-line.cpp15 namespace Box3D { namespace
30 } // namespace Box3D
H A Dline-geometry.h18 #include "axis-manip.h" // FIXME: This is only for Box3D::epsilon; move that to a better location
24 namespace Box3D { namespace
88 } // namespace Box3D
H A Dvanishing-point.cpp41 namespace Box3D { namespace
711 Box3D::PerspectiveLine pl (corner1, axis, persp);
714 pl = Box3D::PerspectiveLine (corner2, axis, persp);
717 pl = Box3D::PerspectiveLine (corner3, axis, persp);
720 pl = Box3D::PerspectiveLine (corner4, axis, persp);
789 } // namespace Box3D
H A Dvanishing-point.h27 namespace Box3D { namespace
217 } // namespace Box3D
H A Dline-geometry.cpp24 namespace Box3D { namespace
223 } // namespace Box3D
H A Dpersp3d.cpp289 Box3D::PerspectiveLine pl(pt, axis, persp);
/inkscape/src/ui/tools/
H A Dbox3d-tool.h31 namespace Box3D { namespace
51 Box3D::VPDrag * _vpdrag;
H A Dbox3d-tool.cpp148 this->_vpdrag = new Box3D::VPDrag(this->desktop->getDocument());
286 Box3D::PerspectiveLine pline (this->drag_ptB, Proj::Z, document->getCurrentPersp3D());
402 Box3D::create_canvas_point(persp3d_get_VP(document()->getCurrentPersp3D(), Proj::W).affine(),
517 guint desc = Box3D::int_to_face(i);
519 Box3D::Axis plane = (Box3D::Axis) (desc & 0x7);
520 plane = (Box3D::is_plane(plane) ? plane : Box3D::orth_plane_or_axis(plane));
521 side->dir1 = Box3D::extract_first_axis_direction(plane);
522 side->dir2 = Box3D
[all...]
/inkscape/src/ui/
H A Dobject-edit.cpp477 /* Box3D (= the new 3D box structure) */
509 Box3D::Axis movement;
511 movement = Box3D::XY;
513 movement = Box3D::Z;
691 box3d_set_center(box, s * i2dt, origin * i2dt, !(state & GDK_SHIFT_MASK) ? Box3D::XY : Box3D::Z,

Completed in 1085 milliseconds