std::string getComponent() const;
void setComponents(std::vector<std::string> compos, int selecIndex);
- MEDCALC::MEDPresentationScalarBarRange getScalarBarRange() const;
- void setScalarBarRange(MEDCALC::MEDPresentationScalarBarRange);
+ MEDCALC::MeshModeType getMeshMode() const;
+ void setMeshMode(MEDCALC::MeshModeType mode);
+
+ MEDCALC::ScalarBarRangeType getScalarBarRange() const;
+ void setScalarBarRange(MEDCALC::ScalarBarRangeType);
// double getScalarBarTimestep() const;
// double getScalarBarMinVal() const;
// double getScalarBarMaxVal() const;
- MEDCALC::MEDPresentationColorMap getColorMap() const;
- void setColorMap(MEDCALC::MEDPresentationColorMap);
+ MEDCALC::ColorMapType getColorMap() const;
+ void setColorMap(MEDCALC::ColorMapType);
void setPresName(const std::string& name);
+ int getNbContour() const;
+ void setNbContour(int nbContour);
+
+ int getNbSlices() const;
+ void setNbSlices(int nbSlices);
+
+ MEDCALC::SliceOrientationType getSliceOrientation() const;
+ void setSliceOrientation(MEDCALC::SliceOrientationType orient);
+
void toggleWidget(bool show);
bool isShown() const;
- QComboBox * getComboBoxCompo();
+
+ void toggleCommonFieldWidget(bool show);
signals:
void comboScalarBarRangeIndexChanged(int);
void comboColorMapIndexChanged(int);
void comboCompoIndexChanged(int);
+ void comboOrientIndexChanged(int);
+ void comboMeshIndexChanged(int);
+ void spinBoxValueChanged(int);
private slots:
void onComboScalarBarRangeIndexChanged(int);
void onComboColorMapIndexChanged(int);
void onComboCompoIndexChanged(int);
+ void onComboOrientIndexChanged(int);
+ void onComboMeshIndexChanged(int);
+ void onSpinBoxEditingFinished();
private:
Ui_WidgetPresentationParameters _ui; // instance of the class defined in ui_WidgetPresentationParameters.h