8 #ifndef MODULE_FEEDBACK_MANAGER_H_
9 #define MODULE_FEEDBACK_MANAGER_H_
11 #include <util/coTypes.h>
15 #include <cover/ui/Owner.h>
35 #include <osg/MatrixTransform>
58 bool compare(
const char *name);
60 bool comparePlugin(
const char *pluginName);
67 virtual void preFrame();
70 virtual void update3DTex(std::string, cp3dplane *,
const char *cmName);
72 std::string ModuleName(
const char *)
const;
79 void setHideFromGui(
bool);
82 void setCaseFromGui(
const char *casename);
85 void setNameFromGui(
const char *casename);
88 virtual void hideGeometry(
bool);
91 void setMatrix(
float *row0,
float *row1,
float *row2,
float *row3);
94 void addNodeToCase(osg::Node *node);
100 virtual void triggerHide(
bool state);
111 void registerObjAtUi(std::string name);
114 void updateMenuNames();
120 std::string getMenuName()
const;
122 ui::Menu *menu_ =
nullptr;
123 ui::Button *hideCheckbox_ =
nullptr;
124 ui::Button *syncCheckbox_ =
nullptr;
125 ui::Action *newButton_ =
nullptr;
126 ui::Action *deleteButton_ =
nullptr;
127 ui::Button *executeCheckbox_ =
nullptr;
138 osg::Node *findMyNode();
139 std::vector<osg::Geode *> findMyGeode();
151 std::string moduleName_;
155 ui::Menu *coviseMenu_ =
nullptr;
156 ui::Menu *parentMenu_ =
nullptr;
157 ui::Menu *caseMenu_ =
nullptr;
158 std::string caseName_;
160 std::string visItemName_;
161 std::string visMenuName_;
162 void sendHideMsg(
bool);
163 std::vector<osg::Geode *> findRecMyGeode(osg::Node *node);
164 osg::ref_ptr<osg::Node> myNode_;
165 osg::ref_ptr<osg::Group> myNodesParent_;
base class for data received from visualization systems (e.g. COVISE or Vistle)
Definition: RenderObject.h:146
abstract feedback class for interacting with parameters of visualization modules (e.g. COVISE or Vistle)
Definition: coInteractor.h:36
std::string attrPartName_
Definition: ModuleFeedbackManager.h:144
osg::ref_ptr< osg::MatrixTransform > geometryCaseDCS_
Definition: ModuleFeedbackManager.h:147
std::string initialObjectName_
Definition: ModuleFeedbackManager.h:146
std::string attrObjectName_
Definition: ModuleFeedbackManager.h:143
bool inExecute_
Definition: ModuleFeedbackManager.h:130
std::string containerObjectName_
Definition: ModuleFeedbackManager.h:142
opencover::coInteractor * getInteractor()
Definition: ModuleFeedbackManager.h:102
std::string ModuleName()
Definition: ModuleFeedbackManager.h:73
Definition: ModuleFeedbackManager.h:43
virtual void preExecCB(opencover::coInteractor *)
Definition: ModuleFeedbackManager.h:135
std::string menuName_
Definition: ModuleFeedbackManager.h:131
std::string geomObjectName_
Definition: ModuleFeedbackManager.h:141