2
* Perspective line for 3D perspectives
5
* Maximilian Albert <Anhalter42@gmx.de>
7
* Copyright (C) 2007 authors
9
* Released under GNU GPL, read the file 'COPYING' for more information
12
#ifndef SEEN_PERSPECTIVE_LINE_H
13
#define SEEN_PERSPECTIVE_LINE_H
15
#include "line-geometry.h"
22
class PerspectiveLine : public Box3D::Line {
25
* Create a perspective line starting at 'pt' and pointing in the direction of the
26
* vanishing point corresponding to 'axis'. If the VP has style VP_FINITE then the
27
* PL runs through it; otherwise it has the direction specified by the v_dir vector
30
PerspectiveLine (Geom::Point const &pt, Proj::Axis const axis, Persp3D *persp);
33
Proj::Axis vp_dir; // direction of the associated VP
41
#endif /* !SEEN_PERSPECTIVE_LINE_H */
46
c-file-style:"stroustrup"
47
c-file-offsets:((innamespace . 0)(inline-open . 0))
52
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :