Dear openflipper, Last time, we raised Vol 29, Issue 5. According to your suggestion, we chagned code to :
*int intObjectID = PluginFunctions::getObjectId(strPrameterizationObjectName); PluginFunctions::setDrawMode(ACG::SceneGraph::DrawModes::POINTS_SHADED, 1); emit updatedObject(intObjectID, UPDATE_COLOR );*/
Unfortunately, I found that it did not work. The color did not show up.
Besides, we have a new problem with the code below. Compiling and running the following are fine. The problem is line 1 works fine, but line 2 give no message in the status bar.
Line1: QMessageBox::information(NULL, "Scene Position", string, QMessageBox::Yes, QMessageBox::Yes); Line2: emit showStatusMessage(string, 100);
Thank for your help! THANKS VERY MUCH FOR YOUR GREAT WORK!!
Regards, ------------------------------ *Xianyong Liu Shanghai JiaoTong University* *Office: +86 021 34204586 Mobile: +86 18817559980 E-mail: **xyliu80@gmail.com* xyliu80@gmail.com
*Address: 504 Room, SEIEE buiding 3#, 800 Dongchuan Rd,Min Hang,Shanghai,200240,China*
On 24.07.2012 18:48, 刘先勇 wrote:
Dear openflipper, Last time, we raised Vol 29, Issue 5. According to your suggestion, we chagned code to :
*int intObjectID = PluginFunctions::getObjectId(strPrameterizationObjectName); PluginFunctions::setDrawMode(ACG::SceneGraph::DrawModes::POINTS_SHADED, 1); emit updatedObject(intObjectID, UPDATE_COLOR );*/
Unfortunately, I found that it did not work. The color did not show up.
Hi,
can you try POINTS_COLORED?
Besides, we have a new problem with the code below. Compiling and running the following are fine. The problem is line 1 works fine, but line 2 give no message in the status bar.
Line1: QMessageBox::information(NULL, "Scene Position", string, QMessageBox::Yes, QMessageBox::Yes);
// That's directly via QT
Line2: emit showStatusMessage(string, 100);
Did you include the Statusbar interface in the header ? http://openflipper.org/Daily-Builds/Doc/Developer/statusbarInterfacePage.htm...
You also need to copy the showStatusMessage signals definition in your header! So you need to add a signal: void showStatusMessage ( QString _message, int _timeout = 0 ) to your plugin class header file.
Best, Jan Möbius
Thank for your help! THANKS VERY MUCH FOR YOUR GREAT WORK!!
Regards,
*Xianyong Liu Shanghai JiaoTong University* *Office: +86 021 34204586 Mobile: +86 18817559980 E-mail: **xyliu80@gmail.com* mailto:xyliu80@gmail.com
*Address: 504 Room, SEIEE buiding 3#, 800 Dongchuan Rd,Min Hang,Shanghai,200240,China*
Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
openflipper@lists.rwth-aachen.de