49 #ifndef ACG_PRINCIPALAXISDIALOG_HH 50 #define ACG_PRINCIPALAXISDIALOG_HH 57 #include "ui_QtPrincipalAxisDialogBaseUi.hh" 63 #include <ACG/Scenegraph/PrincipalAxisNode.hh> 69 class PrincipalAxisNode;
88 :
public QDialog, Ui::QtPrincipalAxisDialogBaseUi
97 QWidget* _parent = 0 ):
99 Ui::QtPrincipalAxisDialogBaseUi(),
105 connect( OkButton, SIGNAL( clicked() ),
this, SLOT( slotOkButton() ) );
106 connect( CancelButton, SIGNAL( clicked() ),
this, SLOT( slotCancelButton() ) );
112 void get_parameters();
113 void set_parameters();
115 typedef Vec4f ColorScheme[3];
116 const ColorScheme &getSelectedColorScheme();
117 void setColorScheme(ColorScheme cs);
121 virtual void slotOkButton();
122 virtual void slotCancelButton();
126 PrincipalAxisNode& pnode_;
127 static const ColorScheme color_schemes_[3];
134 #endif // ACG_PRINCIPALAXISDIALOG_HH defined
QtPrincipalAxisDialog(SceneGraph::PrincipalAxisNode &_pnode, QWidget *_parent=0)
Default constructor.
Namespace providing different geometric functions concerning angles.
~QtPrincipalAxisDialog()
Destructor.