2010-04-21T01:07:50 New news from nightlybuilds: Opticks4.4Dev-Nightly-Solaris #14 (SUCCESS) 2010-04-21T03:44:09 New news from nightlybuilds: Opticks4.4Dev-Nightly-Windows #12 (SUCCESS) 2010-04-21T05:25:16 *** dsulgrov has joined #opticks 2010-04-21T05:32:28 *** goffnea has quit IRC 2010-04-21T05:32:36 *** goffena has joined #opticks 2010-04-21T05:40:44 *** tclarke has joined #opticks 2010-04-21T05:40:44 *** ChanServ sets mode: +o tclarke 2010-04-21T06:15:57 *** kstreith has joined #opticks 2010-04-21T06:15:57 *** ChanServ sets mode: +o kstreith 2010-04-21T06:56:30 *** mconsidi has joined #opticks 2010-04-21T07:02:58 *** yuguess has joined #opticks 2010-04-21T07:11:10 Hello, Sir 2010-04-21T07:11:22 hello 2010-04-21T07:11:59 I am trying to write a small plugin and something make me a little confused 2010-04-21T07:13:27 En, it is about that PlugInArgList and execute 2010-04-21T07:13:54 in order to get a RasterElement, I should write sth like "pInArgList->addArg" 2010-04-21T07:14:06 and then I import the file 2010-04-21T07:14:32 makes sense so far 2010-04-21T07:14:41 finally, I could gain the data by writing sth like "RasterElement* myData= pInArgList->getPlugInArgValue" 2010-04-21T07:14:52 in that execute method 2010-04-21T07:14:54 yes 2010-04-21T07:15:09 I wonder what happen during this process 2010-04-21T07:17:29 the only part you didn't mention which is important is the name of that argument 2010-04-21T07:17:56 if you name it the return value of Executable::DataElementArg() 2010-04-21T07:19:26 then special stuff happens when the plug-in is executed from a menu 2010-04-21T07:20:07 you can read what happens on ExecutableAgent::execute() 2010-04-21T07:20:14 i'll go ahead and post 2010-04-21T07:20:15 * - Executable::DataElementArg() is populated with the first DataElement 2010-04-21T07:20:15 * found in the following search order: 2010-04-21T07:20:15 * -# The element displayed by the primary raster layer in the view of 2010-04-21T07:20:15 * the current workspace window as returned by 2010-04-21T07:20:15 * LayerList::getPrimaryRasterElement(). 2010-04-21T07:20:15 * -# The element displayed by the active layer in the view of the 2010-04-21T07:20:15 * current workspace window as returned by Layer::getDataElement(). 2010-04-21T07:20:16 * -# The first child element of the primary raster layer element in 2010-04-21T07:20:16 * the view of the current workspace window. 2010-04-21T07:23:35 does that answer your question? 2010-04-21T07:23:53 Yeah, I am reading the code 2010-04-21T07:24:10 sometimes, I react a little slowly 2010-04-21T07:25:40 take your time, it's a lot to read and understand 2010-04-21T09:45:50 *** gmartin_cn has joined #opticks 2010-04-21T11:29:45 *** kstreith is now known as opticks|kstreith 2010-04-21T11:52:31 *** gmartin_cn_ has joined #opticks 2010-04-21T11:55:03 *** gmartin_cn has quit IRC 2010-04-21T11:55:03 *** gmartin_cn_ is now known as gmartin_cn 2010-04-21T13:47:27 *** dsulgrov has quit IRC 2010-04-21T14:14:58 *** opticks|kstreith has quit IRC 2010-04-21T14:16:57 *** GitHub16 has joined #opticks 2010-04-21T14:16:57 coan: master Trevor Clarke * b895fa1 (1 files in 1 dirs): Fixed RX implementation. ... - http://bit.ly/bXvQWo 2010-04-21T14:16:57 *** GitHub16 has left #opticks 2010-04-21T14:17:01 *** tclarke has quit IRC 2010-04-21T14:25:50 *** goffena has quit IRC 2010-04-21T18:21:07 *** yuguess has quit IRC 2010-04-21T21:36:19 *** gmartin_cn has quit IRC 2010-04-21T21:36:34 *** gmartin_cn has joined #opticks 2010-04-21T21:38:15 *** gmartin_cn has joined #opticks 2010-04-21T21:42:40 *** gmartin_cn has quit IRC