persp3d.h revision 2a9dd6d81e787a3daa8f1e85feba6e8c0ccdab67
#ifndef __PERSP3D_H__
#define __PERSP3D_H__
/*
* Implementation of 3D perspectives as SPObjects
*
* Authors:
* Maximilian Albert <Anhalter42@gmx.de>
*
* Copyright (C) 2007 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#define SP_TYPE_PERSP3D (persp3d_get_type ())
#include <set>
#include <vector>
#include <map>
#include "sp-item.h"
#include "transf_mat_3x4.h"
#include "document.h"
#include "inkscape.h"
// Also write the list of boxes into the xml repr and vice versa link boxes to their persp3d?
// for debugging only
int my_counter;
};
struct Persp3DClass {
};
/* Standard GType function */
GType persp3d_get_type (void);
// FIXME: Make more of these inline!
}
}
NR::Point persp3d_get_PL_dir_from_pt (Persp3D *persp, NR::Point const &pt, Proj::Axis axis); // convenience wrapper around the following two
void persp3d_rotate_VP (Persp3D *persp, Proj::Axis axis, double angle, bool alt_pressed); // angle is in degrees
void persp3d_print_all_selected();
#endif /* __PERSP3D_H__ */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :