You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#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<Interface::FITKCFDPostData>()->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<EventOper::GraphEventOperator>("OperGraphPreprocess");
|
|
|
|
|
if (graphOper) {
|
|
|
|
|
graphOper->reRender();
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|