COIN-OR::LEMON - Graph Library

Changeset 160:14a76109b561 in glemon-0.x for nbtab.h


Ignore:
Timestamp:
10/12/06 13:39:29 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2982
Message:

Node antigravity and edge elasticity based graph layout redesigner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nbtab.h

    r157 r160  
    88#include "mapstorage.h"
    99#include "map_win.h"
     10#include "design_win.h"
    1011#include "graph_displayer_canvas.h"
    1112#include <libgnomecanvasmm.h>
     
    7879  bool mapwinexists;
    7980
     81  ///Indicates whether the \ref DesignWin is opened or not. See \ref designwin.
     82  bool designwinexists;
     83
    8084  ///Address of the only \ref MapWin that the \ref NoteBookTab can open.
    8185
     
    8690  MapWin * mapwin;
    8791   
     92  ///Address of the only \ref DesignWin that the \ref NoteBookTab can open.
     93
     94  ///Only one of this window can be opened at the same time (\ref designwinexists),
     95  ///because there is no need for more, one per tab is enough.
     96  ///There won't be benefit of more than one, but it would be
     97  ///more complicated to synchronize them.
     98  DesignWin * designwin;
     99
    88100public:
    89101  ///Callback for 'FileNew' action.
     
    152164  void createMapWin(std::string);
    153165
     166  ///Pops up and registrates the \ref DesignWin of \ref NoteBookTab.
     167 
     168  ///See also
     169  ///\ref mapwin.
     170  void createDesignWin(std::string);
     171
    154172  ///Closes and deregistrates the \ref MapWin of \ref NoteBookTab.
    155173 
     
    158176  void closeMapWin();
    159177
     178  bool closeDesignWin(GdkEventAny *);
     179
    160180  ///Sets node representation settings
    161181  void setView(bool, bool, double, double);
     
    163183  ///Gets node representation settings
    164184  void getView(bool &, bool &, double&, double&);
     185
     186  void reDesignGraph();
     187
     188  void attraction_ch(double);
     189
     190  void propulsation_ch(double);
     191
     192  void iteration_ch(int);
    165193};
    166194
Note: See TracChangeset for help on using the changeset viewer.