Hi!
Hm, the problem could also be, that I inserted the code on the wrong
positions... especially at the DoImageProcessing part, I'm not that sure. There
is a comment in the function saying "actually do something here...". This
should be the correct place to insert, right? Or was it meant as replacing the
function ...?
Could someone help me, please :)
Best Regards,
Martin
________________________________
Von: Martin Tatzber <[email protected]>
An: Martin Tatzber <[email protected]>;
"[email protected]" <[email protected]>
Gesendet: 15:51 Montag, 11.Februar 2013
Betreff: Re: [mitk-users] Tutorial Step 9
Hi!
It's me again^^ I think I figured the problem out, and I think now that it's a
bug of either the MITK or the code provided in Tutorial Step 9.
I made a new project with a new plugin, and that's what I experienced now:
When generating the project via the MITKPluginGenerator, it worked fine. When
closing the app window, an error appeared:
169.32 core.io.loggingadapter ERROR: ERROR: In ..\..\VTK-src\Rendering\vtkOpenGL
Texture.cxx, line 58
vtkOpenGLTexture (10605AF0): PBO should have been deleted in
ReleaseGraphicsResources()
When I started the project, opened and closed the subwindow of the plugin, and
then closed the app window, the same error appeared even three times.
Besides of that, there seems to be no problem so far.
Then I made the changes described in the Tutorial Step 9. I could now toggle
point interaction via the "+" button in the plugin window and mark some points.
I also could close the project and reopen it again. But as soon as I marked one
point, then a second point, and then selected the first point in the list in
the plugin window, there is an error:
44.66 ext.ui.pntListView ERROR: Point set has multiple selected points. This
view is not designed for more than one selected point.
I just made a left click when selecting the other point, so from my point of
view, I WAS selecting just one point.
After doing this and closing the project, it won't reopen, showing the "Fenster
funktioniert nicht mehr" as described before.
Best Regards,
Martin
________________________________
Von: Martin Tatzber <[email protected]>
An: "[email protected]" <[email protected]>
Gesendet: 10:36 Montag, 11.Februar 2013
Betreff: Re: [mitk-users] Tutorial Step 9
Hi!
Hm still have the problem... I undid the changes in the source, again built it
with CMake, opened startVS_debug.bat and built the ALL_BUILD. So it now should
be the original, created by the MITKPluginGenerator.
I started it with debugging, and now a window appears saying
"Unhandled exception at 0x772f15de in myProjectApp.exe: 0xC0000005: Access
violation reading location 0xcdcdcddd."
It's pointing at Mutex_WIN32.h at
inline void MutexImp1::unlockImp1()
{
LeaveCriticalSection(&_cs); //<-------
}
After closing Visual Studio, starting startVS_debug.bat and debugging again, it
is pointing here at berryObject.cpp, with the same error message appearing:
void Object::Register() const
{
Poco::Mutex::ScopedLock lock(m_ReferenceCountLock);
m_ReferenceCount++;
} //<-------
Any idea what could be the mistake?
Best Regards,
Martin
________________________________
Von: Martin Tatzber <[email protected]>
An: "[email protected]" <[email protected]>
Gesendet: 14:37 Freitag, 8.Februar 2013
Betreff: [mitk-users] Tutorial Step 9
Hi!
I'm still struggling with the plugin thing.
I have now created my own project with my own plugin. I tried to work through
these steps: [1]
It worked once. I was able to load the Pic3D.nrrd and mark some points via the
plugin. There was no region grower though, but beside of that, it worked really
fine. Then I closed the application and opened it again. The Blueberry
Application window showed up, but stayed white. Then a window showed up saying
"myProjectApp.exe funktioniert nicht mehr" (I defined myProjectApp as
project-app-name)
I also have a question, which could make the problem clearer: What are the
steps, if I have a plugin and want to write my own code into it? Here is what I
did right now:
I inserted the code pieces described in [1] into the
myProject\Plugins\org.company.myplugin\src\internal\MyFirstMITKPlugin.cpp and
the MyFirstMITKPlugin.h (I have one folder "myProject" with the source files
and one folder "myProject-bin" with the binaries). Then I opened CMake and
configured and generated everything again. After this, I startet the
StartVS_debug.bat, built the ALL_BUILD and launched the project, with
myProjectApp set as StartUp Project.
I had the same problem yesterday and somehow managed to get it work again. But
again, I closed it and wanted it to open again, and the same behaviour occured.
[1] http://docs.mitk.org/nightly-qt4/Step09Page.html
Best Regards,
Martin
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users