#include "OperatorsColor.h" #include "GUIDialog/ColorMapperEditDialog.h" #include "OperatorsInterface/GraphEventOperator.h" #include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h" #include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h" #include "FITK_Interface/FITKInterfaceCFDPost/FITKAbstractCFDPostData.h" #include "FITK_Interface/FITKInterfaceCFDPost/FITKCFDPost3DManager.h" #include "FITK_Interface/FITKInterfaceCFDPost/FITKCFDPostData.h" namespace OperModel { OperatorsColor::OperatorsColor() { } bool OperatorsColor::execGUI() { //int objID = -1; //argValue(objID_String, objID); //if (objID <= 0)return false; //Interface::FITKCFDPost3DManager* dataManager = FITKAPP->getGlobalData()->getPostData()->getPostDataManager(); //if (dataManager == nullptr)return false; //Interface::FITKAbstractCFDPostData* postData = dataManager->getDataByID(objID); //if (postData == nullptr)return false; //GUI::ColorMapperEditDialog* dialog = new GUI::ColorMapperEditDialog(postData, this); //dialog->show(); return false; } bool OperatorsColor::execProfession() { EventOper::GraphEventOperator* graphOper = FITKOPERREPO->getOperatorT("OperGraphPreprocess"); if (graphOper) { graphOper->reRender(); } return false; } }