60 std::vector<QAction *> _colorMapActions;
61 std::vector<QAction *> _opacityMapActions;
62 std::vector<QAction *> _histogramActions;
64 bool _showOpacityBasedOnParam =
false;
65 std::string _showOpacityBasedOnParamTag;
66 int _showOpacityBasedOnParamValue;
67 bool _showColormapBasedOnParam =
false;
68 std::string _showColormapBasedOnParamTag;
69 bool _showColormapBasedOnParamValue;
75 PTFEditor(
const std::string &tag,
const std::set<Element> elements = {
Default},
const std::string &label =
"Transfer Function");
PTFMapWidget< TFOpacityWidget > PTFOpacityWidget
PTFMapWidget< TFHistogramWidget > PTFHistogramWidget
PTFMapWidget< TFIsoValueWidget > PTFIsoValueWidget
PTFMapWidget< TFColorWidget > PTFColorWidget
PTFEditor * ShowOpacityBasedOnParam(const std::string &tag, int value)
PTFEditor * ShowColormapBasedOnParam(const std::string &tag, int value)
void updateGUI() const override
PTFEditor(const std::string &tag, const std::set< Element > elements={Default}, const std::string &label="Transfer Function")