Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #30440 [CEA 30439] new salome doesn't clean paraview view in FIELDS
[modules/med.git]
/
src
/
MEDCalc
/
gui
/
MEDWidgetHelper.hxx
diff --git
a/src/MEDCalc/gui/MEDWidgetHelper.hxx
b/src/MEDCalc/gui/MEDWidgetHelper.hxx
index b2b93d9ee374a59af78c165bc2586009b44af4c0..5d64823b4fecd926b42bf0c6749b123c82381167 100644
(file)
--- a/
src/MEDCalc/gui/MEDWidgetHelper.hxx
+++ b/
src/MEDCalc/gui/MEDWidgetHelper.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2016 CEA/DEN, EDF R&D
+// Copyright (C) 2016
-2022
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-20,6
+20,7
@@
#ifndef SRC_MEDCALC_GUI_MEDWIDGETHELPER_HXX_
#define SRC_MEDCALC_GUI_MEDWIDGETHELPER_HXX_
#ifndef SRC_MEDCALC_GUI_MEDWIDGETHELPER_HXX_
#define SRC_MEDCALC_GUI_MEDWIDGETHELPER_HXX_
+#include <Python.h>
#include "WidgetPresentationParameters.hxx"
#include "PresentationEvent.hxx"
#include "WidgetPresentationParameters.hxx"
#include "PresentationEvent.hxx"
@@
-60,6
+61,11
@@
protected slots:
void onComponentChanged(int idx);
void onColorMapChanged(int idx);
void onScalarBarRangeChanged(int idx);
void onComponentChanged(int idx);
void onColorMapChanged(int idx);
void onScalarBarRangeChanged(int idx);
+ void onScalarBarVisibilityChanged(int idx);
+ void onUseCustomRangeChanged(int idx);
+ void onCustomRangeValueChanged(double min, double max);
+ void onHideDataOutsideCustomRangeChanged(int idx);
+
protected:
///! GUI needs to talk directly to the pres manager to activate a view, get some params, etc ...:
protected:
///! GUI needs to talk directly to the pres manager to activate a view, get some params, etc ...:
@@
-74,6
+80,9
@@
protected:
int _selectedCompo; // Selected field component
int _nbCompos; // Total number of available components
std::vector<std::string> _allCompos; // All available components
int _selectedCompo; // Selected field component
int _nbCompos; // Total number of available components
std::vector<std::string> _allCompos; // All available components
+ bool _scalarBarVisibility;
+ double _scalarBarRangeArray[2];
+ bool _hideDataOutsideCustomRange;
// Color map
MEDCALC::ColorMapType _colorMap;
// Color map
MEDCALC::ColorMapType _colorMap;