Lines Matching refs:VanishingPoint
34 /* VanishingPoint is a simple wrapper class to easily extract VP data from perspectives.
35 * A VanishingPoint represents a VP in a certain direction (X, Y, Z) of a single perspective.
40 class VanishingPoint {
42 VanishingPoint() : my_counter(VanishingPoint::global_counter++), _persp(NULL), _axis(Proj::NONE) {}
43 VanishingPoint(Persp3D *persp, Proj::Axis axis) : my_counter(VanishingPoint::global_counter++), _persp(persp), _axis(axis) {}
44 VanishingPoint(const VanishingPoint &other) : my_counter(VanishingPoint::global_counter++), _persp(other._persp), _axis(other._axis) {}
46 inline VanishingPoint &operator=(VanishingPoint const &rhs) {
52 inline bool operator==(VanishingPoint const &rhs) const {
57 inline bool operator<(VanishingPoint const &rhs) const {
118 struct less_ptr : public std::binary_function<VanishingPoint *, VanishingPoint *, bool> {
119 bool operator()(VanishingPoint *vp1, VanishingPoint *vp2) {
126 VPDragger(VPDrag *parent, Geom::Point p, VanishingPoint &vp);
139 std::list<VanishingPoint> vps;
141 void addVP(VanishingPoint &vp, bool update_pos = false);
142 void removeVP(const VanishingPoint &vp);
147 VanishingPoint *findVPWithBox(SPBox3D *box);
148 std::set<VanishingPoint*, less_ptr> VPsOfSelectedBoxes();
170 VPDragger *getDraggerFor (VanishingPoint const &vp);
181 * Also, they should make use of the info in a VanishingPoint structure (regarding boxes
200 void addDragger (VanishingPoint &vp);