~ubuntu-branches/ubuntu/quantal/rocs/quantal-proposed

« back to all changes in this revision

Viewing changes to src/Plugins/GenerateGraph/generategraphwidget.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-12-30 21:49:11 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20121230214911-vps1076sr24vr5nc
Tags: 4:4.9.5-0ubuntu0.1
New upstream bugfix release (LP: #1094523)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <QWidget>
23
23
#include <KDialog>
24
24
 
25
 
#include <boost/graph/adjacency_list.hpp>
26
 
#include <boost/graph/topology.hpp>
27
 
 
28
25
#define PI_ 3.14159265358979323846
29
26
 
30
27
class QGridLayout;
40
37
{
41
38
    Q_OBJECT
42
39
 
43
 
    typedef boost::adjacency_list < boost::listS, boost::vecS, boost::undirectedS,
44
 
            boost::property<boost::vertex_name_t, std::string> >
45
 
            Graph;
46
 
 
47
 
    typedef boost::rectangle_topology<> topology_type;
48
 
 
49
 
    typedef topology_type::point_type point_type;
50
 
 
51
 
    typedef std::vector<point_type> PositionVec;
52
 
 
53
 
    typedef boost::iterator_property_map < PositionVec::iterator,
54
 
            boost::property_map<Graph, boost::vertex_index_t>::type >
55
 
            PositionMap;
56
 
 
57
40
    enum GraphType {
58
41
        MESH,
59
42
        STAR,