1 #ifndef vvStructSelector_h
2 #define vvStructSelector_h
3 #include "ui_vvStructSelector.h"
5 class vvStructSelector : public QDialog, private Ui::vvStructSelector
11 typedef std::vector<std::pair<int, std::string> > StructureType;
12 ///Sets the different structures and displays them
13 void SetStructures(StructureType structures);
14 ///Returns the indexes of selected ROIs
15 std::vector<int> getSelectedItems();
16 ///Enables the propagation checkbox
17 void EnablePropagationCheckBox() {this->propagateCheckBox->setEnabled(true);
18 this->propagateCheckBox->setChecked(true);}
19 ///Returns true if contours should be propagated over the sequence using the vf
20 bool PropagationEnabled() {return this->propagateCheckBox->isChecked();}
23 StructureType mStructures;