Hierarchical Edge Bundle 1.0
|
00001 #pragma once 00002 00248 #include "ui_mainWindow.h" 00249 #include <QMainWindow> 00250 #include <QString> 00251 00252 #include "ReadRTFFile.h" 00253 #include "LoadXMLTree.h" 00254 #include "RootedTree.h" 00255 #include "BallonTree.h" 00256 #include "RadialTree.h" 00257 #include "TreeMap.h" 00258 #include "Light.h" 00259 00265 class MainWindow : public QMainWindow, public Ui::MainWindow 00266 { 00267 Q_OBJECT 00268 00269 public: 00273 MainWindow(QWidget* parent = 0); 00277 ~MainWindow(); 00278 00282 View* view[5]; 00283 00284 private: 00285 Graph* graph; 00286 float beta; 00287 signals: 00293 void setView(View** view); 00294 00295 public slots: 00300 void Mode3D(bool value); 00301 00306 void SetViewToRooted(bool value); 00311 void SetViewToBallon(bool value); 00316 void SetViewToTreeMap(bool value); 00321 void DrawRadialTree(bool value); 00322 00327 void EnableBlending(bool value); 00332 void SetStandardBlending(bool value); 00337 void SetMinMaxBlending(bool value); 00342 void SetStandardMinMaxBlending(bool value); 00347 void SetAverageWeightingBlending(bool value); 00352 void SetSummedAverageBlending(bool value); 00353 00358 void EnableLight(bool value); 00363 void EnableSpotLight(bool value); 00368 void EnableConicLight(bool value); 00373 void EnablePointLight(bool value); 00374 00379 void EnableShadow(bool value); 00384 void SetVertexInShadow(bool value); 00389 void SetHierarchyEdgeInShadow(bool value); 00394 void SetRelationEdgeInShadow(bool value); 00399 void SetGridInShadow(bool value); 00400 00405 void DrawNodes(bool value); 00410 void DrawHierarchyEdges(bool value); 00415 void DrawRelationEdges(bool value); 00420 void DrawGrid(bool value); 00421 00426 void RotateX(int value); 00431 void RotateY(int value); 00436 void RotateZ(int value); 00441 void Scale(int value); 00442 00447 void DrawSliceAndDice(bool value); 00452 void DrawStrips(bool value); 00457 void DrawCushionTexture(bool value); 00458 00463 void SetLightAttenuate(int value); 00468 void SetLightRadius(int value); 00469 00470 void MirrorRelationEdges(bool value); 00471 00476 void SphereColorChanged(const QString value); 00481 void HierarchyColorChanged(const QString value); 00486 void RelationStartColorChanged(const QString value); 00491 void RelationEndColorChanged(const QString value); 00496 void SelectionColorChanged(const QString value); 00501 void RelationAlpha(int value); 00502 00507 void SetBeta(int value); 00511 void BetaChanged(); 00512 private slots: 00516 void openFileDialog(); 00520 void saveFileDialog(); 00524 void aboutDialog(); 00528 void controlDialog(); 00529 };