Re: [mitk-users] Aurora 5DoF support

2018-04-19 Thread Martin Klemm
Hi Alfred,

I checked the NDI protocol and the current implementation and I was able
to get it working. Please see request T24685 for more details [1]. It
was only necessary to adapt the DiscoverWiredTools() method. I added a
more detailed description and a patch file in [1].

Best,

Martin

[1] https://phabricator.mitk.org/T24685

On 17.04.2018 14:47, Alfred Franz wrote:
> Hi Martin,
> 
> I know about the feature of the Aurora system to track two 5 DoF tools
> connected to one port. But as far as I know it was never tested with
> MITK. Maybe you can check what commands from the NDI API are needed to
> make this work? I can offer help to modify the NDI protocol classes in
> MITK.
> 
> Best,
> 
> Alfred
> 
> 
> Am 17.04.2018 um 09:43 schrieb Martin Klemm:
>> Hi MITK-users,
>>
>> I wanted to use our Aurora system together with the MITK workbench. I
>> have the following configuration:
>>
>> - An Aurora Tabletop Field Generator
>> - A 6DoF reference tool connected to port 1
>> - Four 5DoF tools (inside a catheter) connected to port 2 and 3 (two
>> tools on one port)
>>
>> This catheter is not available anymore, however, NDI sells a new version
>> of it [1]. It has a 6DoF tool in its tip and six 5DoF tools inside the
>> catheter. In total it needs four input ports of the Aurora system [2].
>>
>> When I use the MITK workbench [3] it connects well and finds the 6DoF
>> tool without a problem. However, the four 5DoF tools are handled as two
>> 6DoF tools. So my question are:
>>
>> 1. Did anyone ever use such a configuration (two 5DoF tools on one port)?
>>
>> 2. Does anyone knows how much work it would be to implement this? The
>> protocol and its implementation in MITK looks quiet complicated. Maybe
>> you could give me some hints.
>>
>> Thank you for your help
>>
>> Best
>>
>> Martin
>>
>> [1] NDI Aurora tool: Aurora 5/6DOF Shape Tool, Type 1:
>> https://www.ndigital.com/medical/products/tools-and-sensors/
>>
>> [2] Connection of new Aurora Catheter:
>> http://slicer-devel-archive.65872.n3.nabble.com/file/n4030138/P08-10-13_10-15.jpg
>>
>>
>> [3] master branch, Commit 656c1291568b7b67e41a927b633c087f92db6c9a from
>> 30.01.2018
>>
>>
>>
>> --
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681
Fax. +49 781 / 205 - 45 4681
<>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Aurora 5DoF support

2018-04-17 Thread Martin Klemm
Hi MITK-users,

I wanted to use our Aurora system together with the MITK workbench. I
have the following configuration:

- An Aurora Tabletop Field Generator
- A 6DoF reference tool connected to port 1
- Four 5DoF tools (inside a catheter) connected to port 2 and 3 (two
tools on one port)

This catheter is not available anymore, however, NDI sells a new version
of it [1]. It has a 6DoF tool in its tip and six 5DoF tools inside the
catheter. In total it needs four input ports of the Aurora system [2].

When I use the MITK workbench [3] it connects well and finds the 6DoF
tool without a problem. However, the four 5DoF tools are handled as two
6DoF tools. So my question are:

1. Did anyone ever use such a configuration (two 5DoF tools on one port)?

2. Does anyone knows how much work it would be to implement this? The
protocol and its implementation in MITK looks quiet complicated. Maybe
you could give me some hints.

Thank you for your help

Best

Martin

[1] NDI Aurora tool: Aurora 5/6DOF Shape Tool, Type 1:
https://www.ndigital.com/medical/products/tools-and-sensors/

[2] Connection of new Aurora Catheter:
http://slicer-devel-archive.65872.n3.nabble.com/file/n4030138/P08-10-13_10-15.jpg

[3] master branch, Commit 656c1291568b7b67e41a927b633c087f92db6c9a from
30.01.2018

<>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Visual Studio 2017

2018-01-30 Thread Martin Klemm
Hi MITK users,

I was wondering if you already (unofficially?) support Visual Studio
2017 and if you could recommend a branch or tag that I could check out.

Thanks for the information.

Best regards,

Martin
<>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] How to use CUDA in MITK ?

2017-10-13 Thread Martin Klemm
Hi Ehsan,

you might reconsider your project structure. In my project all
functionality is inside modules. The plugins are only used to connect
the GUI with the functionality inside the modules.

Is there a reason why you cannot move your functionality into modules?

Best

Martin

On 12.10.2017 16:07, Ehsan Golkar wrote:
> Dear Martin,
> 
> Yes, I want to add CUDA into a plugin not a module but its seems its not as
> easy as adding CUDA to a module
> I am struggling with this issue for couple  of days
> 
> regards
> 
> On Thu, Oct 12, 2017 at 12:24 PM, Martin Klemm > wrote:
> 
>> Hi Ehsan,
>>
>> ${PROJECT_NAME} simply takes the content of project(MyName). Therefore,
>> cmake replaces ${PROJECT_NAME} with MyName. I never tried to include
>> CUDA into a plugin but only into a module. Do you want to include it
>> into a module or a plugin? [1] might help you with this decision.
>>
>> According to your error output your module should be named ModuleName
>> which is not a very good name for a module. Try to find a fitting name
>> for the module, create a module with this name and adapt the snippet I
>> sent you last time to the new module name.
>>
>>
>> Best
>>
>> Martin
>>
>>
>> [1] http://docs.mitk.org/2016.11/ModularizationPage.html
>>
>> On 12.10.2017 10:18, Ehsan Golkar wrote:
>>> Thanks a lot for your replying Martin,
>>>
>>>
>>> I have one question regarding to you code, from your code I get below
>> error
>>>
>>> nvcc fatal : A single input file is required for a non-link phase when an
>>> outputfile is specified
>>> CMake Error at ModuleName_CUDA_generated_testcuda.cu.o.cmake:206
>> (message):
>>>
>>> So what do you put as  a ${PROJECT_NAME} in MITK_CREATE_MODULE?
>> whatever  I
>>> put here regarding to my plugin project name, I get the above error
>>> I really appreciate your help
>>>
>>> regards
>>>
>>> On Tue, Oct 10, 2017 at 10:21 AM, Martin Klemm <
>> martin.kl...@hs-offenburg.de
>>>> wrote:
>>>
>>>> Hi favour888,
>>>>
>>>> here is an example of one of my modules that uses CUDA. It is probably
>>>> not the nicest way but it works like this:
>>>>
>>>>
>>>> --- CMakeLists.txt of module ---
>>>>
>>>> project(ModuleName)
>>>>
>>>> #define source files
>>>> set(SOURCE_FILES CUDAFILE.cu)
>>>> set(HEADER_FILES CUDAFILE.h)
>>>>
>>>> #create library
>>>> cuda_add_library(ModuleName_CUDA STATIC ${SOURCE_FILES}
>> ${HEADER_FILES})
>>>>
>>>> #mark some variables as advanced to hide them in the gui (these are
>>>> generated by CUDA)
>>>> MARK_AS_ADVANCED(CUDA_BUILD_CUBIN)
>>>> MARK_AS_ADVANCED(CUDA_BUILD_EMULATION)
>>>> MARK_AS_ADVANCED(CUDA_HOST_COMPILER)
>>>> MARK_AS_ADVANCED(CUDA_SDK_ROOT_DIR)
>>>> MARK_AS_ADVANCED(CUDA_VERBOSE_BUILD)
>>>> MARK_AS_ADVANCED(CUDA_SEPARABLE_COMPILATION)
>>>>
>>>> #module
>>>> set(COMPILER_VERSION "VC12")
>>>> MITK_CREATE_MODULE(${PROJECT_NAME}
>>>> DEPENDS MitkCore
>>>> PACKAGE_DEPENDS Qt5|Core
>>>> ADDITIONAL_LIBS ModuleName_CUDA glew
>>>> )
>>>>
>>>> # group in subfolders
>>>> set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "modules")
>>>>
>>>>
>>>> --- CMakeLists.txt of project ---
>>>>
>>>> # Find CUDA package (for module ModuleName[_CUDA])
>>>> set(CUDA_TOOLKIT_ROOT_DIR C:/repo/cuda/7.0 CACHE PATH "Toolkit
>> location")
>>>> find_package(CUDA REQUIRED)
>>>>
>>>>
>>>>
>>>> Best
>>>>
>>>> Martin
>>>>
>>>>
>>>> On 10.10.2017 09:28, favour888 wrote:
>>>>> The MITK (ver: 2014) do not support CUDA feature; however, it should be
>>>>> possible to add "cuda_add_executable" or "cuda_add_library" to the
>>>> source of
>>>>> Cmake file for any cuda  .cu file to be compiled inside MITK.  Anyone
>> can
>>>>> help how to do it?
>>>>> any example ?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent from: http://mitk-users.1123740.n5.nabble.com/

Re: [mitk-users] How to use CUDA in MITK ?

2017-10-12 Thread Martin Klemm
Hi Ehsan,

${PROJECT_NAME} simply takes the content of project(MyName). Therefore,
cmake replaces ${PROJECT_NAME} with MyName. I never tried to include
CUDA into a plugin but only into a module. Do you want to include it
into a module or a plugin? [1] might help you with this decision.

According to your error output your module should be named ModuleName
which is not a very good name for a module. Try to find a fitting name
for the module, create a module with this name and adapt the snippet I
sent you last time to the new module name.


Best

Martin


[1] http://docs.mitk.org/2016.11/ModularizationPage.html

On 12.10.2017 10:18, Ehsan Golkar wrote:
> Thanks a lot for your replying Martin,
> 
> 
> I have one question regarding to you code, from your code I get below error
> 
> nvcc fatal : A single input file is required for a non-link phase when an
> outputfile is specified
> CMake Error at ModuleName_CUDA_generated_testcuda.cu.o.cmake:206 (message):
> 
> So what do you put as  a ${PROJECT_NAME} in MITK_CREATE_MODULE? whatever  I
> put here regarding to my plugin project name, I get the above error
> I really appreciate your help
> 
> regards
> 
> On Tue, Oct 10, 2017 at 10:21 AM, Martin Klemm > wrote:
> 
>> Hi favour888,
>>
>> here is an example of one of my modules that uses CUDA. It is probably
>> not the nicest way but it works like this:
>>
>>
>> --- CMakeLists.txt of module ---
>>
>> project(ModuleName)
>>
>> #define source files
>> set(SOURCE_FILES CUDAFILE.cu)
>> set(HEADER_FILES CUDAFILE.h)
>>
>> #create library
>> cuda_add_library(ModuleName_CUDA STATIC ${SOURCE_FILES} ${HEADER_FILES})
>>
>> #mark some variables as advanced to hide them in the gui (these are
>> generated by CUDA)
>> MARK_AS_ADVANCED(CUDA_BUILD_CUBIN)
>> MARK_AS_ADVANCED(CUDA_BUILD_EMULATION)
>> MARK_AS_ADVANCED(CUDA_HOST_COMPILER)
>> MARK_AS_ADVANCED(CUDA_SDK_ROOT_DIR)
>> MARK_AS_ADVANCED(CUDA_VERBOSE_BUILD)
>> MARK_AS_ADVANCED(CUDA_SEPARABLE_COMPILATION)
>>
>> #module
>> set(COMPILER_VERSION "VC12")
>> MITK_CREATE_MODULE(${PROJECT_NAME}
>> DEPENDS MitkCore
>> PACKAGE_DEPENDS Qt5|Core
>> ADDITIONAL_LIBS ModuleName_CUDA glew
>> )
>>
>> # group in subfolders
>> set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "modules")
>>
>>
>> --- CMakeLists.txt of project ---
>>
>> # Find CUDA package (for module ModuleName[_CUDA])
>> set(CUDA_TOOLKIT_ROOT_DIR C:/repo/cuda/7.0 CACHE PATH "Toolkit location")
>> find_package(CUDA REQUIRED)
>>
>>
>>
>> Best
>>
>> Martin
>>
>>
>> On 10.10.2017 09:28, favour888 wrote:
>>> The MITK (ver: 2014) do not support CUDA feature; however, it should be
>>> possible to add "cuda_add_executable" or "cuda_add_library" to the
>> source of
>>> Cmake file for any cuda  .cu file to be compiled inside MITK.  Anyone can
>>> help how to do it?
>>> any example ?
>>>
>>> Thanks
>>>
>>>
>>>
>>> --
>>> Sent from: http://mitk-users.1123740.n5.nabble.com/
>>>
>>> 
>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> mitk-users mailing list
>>> mitk-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>>
>>
>> --
>>
>>
>> Martin Klemm
>> Hochschule Offenburg
>> Badstraße 24
>> 77652 Offenburg
>> Tel. +49 781 / 205 - 4681
>> Fax. +49 781 / 205 - 45 4681
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>
>>
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681
Fax. +49 781 / 205 - 45 4681
<>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] How to use CUDA in MITK ?

2017-10-10 Thread Martin Klemm
Hi favour888,

here is an example of one of my modules that uses CUDA. It is probably
not the nicest way but it works like this:


--- CMakeLists.txt of module ---

project(ModuleName)

#define source files
set(SOURCE_FILES CUDAFILE.cu)
set(HEADER_FILES CUDAFILE.h)

#create library
cuda_add_library(ModuleName_CUDA STATIC ${SOURCE_FILES} ${HEADER_FILES})

#mark some variables as advanced to hide them in the gui (these are
generated by CUDA)
MARK_AS_ADVANCED(CUDA_BUILD_CUBIN)
MARK_AS_ADVANCED(CUDA_BUILD_EMULATION)
MARK_AS_ADVANCED(CUDA_HOST_COMPILER)
MARK_AS_ADVANCED(CUDA_SDK_ROOT_DIR)
MARK_AS_ADVANCED(CUDA_VERBOSE_BUILD)
MARK_AS_ADVANCED(CUDA_SEPARABLE_COMPILATION)

#module
set(COMPILER_VERSION "VC12")
MITK_CREATE_MODULE(${PROJECT_NAME}
DEPENDS MitkCore
PACKAGE_DEPENDS Qt5|Core
ADDITIONAL_LIBS ModuleName_CUDA glew
)

# group in subfolders
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "modules")


--- CMakeLists.txt of project ---

# Find CUDA package (for module ModuleName[_CUDA])
set(CUDA_TOOLKIT_ROOT_DIR C:/repo/cuda/7.0 CACHE PATH "Toolkit location")
find_package(CUDA REQUIRED)



Best

Martin


On 10.10.2017 09:28, favour888 wrote:
> The MITK (ver: 2014) do not support CUDA feature; however, it should be
> possible to add "cuda_add_executable" or "cuda_add_library" to the source of
> Cmake file for any cuda  .cu file to be compiled inside MITK.  Anyone can
> help how to do it?
> any example ? 
> 
> Thanks  
> 
> 
> 
> --
> Sent from: http://mitk-users.1123740.n5.nabble.com/
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681
Fax. +49 781 / 205 - 45 4681
<>--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Better VTK integration with QML/Qt Quick

2016-01-19 Thread Martin Klemm
Hi,

is anyone still working on this? I tried to integrate these changes into
my MITK 15.05.2 build but as Taylor writes in the bug reports it is not
working properly under V.15.05.

Best

Martin



Hello mitk-users (+ a few others) -

I would like to share a work-in-progress solution to bug 18393
; and bug 18394
; on behalf of GE Healthcare:

https://github.com/nocnokneo/MITK/tree/bug-18393-qml-rendering-improvements
https://github.com/nocnokneo/MITK/tree/bug-18394-qml-thread-safety

Most of this work is actually only Qt and VTK related and not specific to
MITK so I'm including a few others who are outside of the MITK community
but have expressed interested these improvements. (Sorry to those of you
who have been waiting patiently for this - I was hoping to get time to
rebase and my changes on a current MITK master, but I haven't had time so
I've decided to just share what I have at the moment.)

Taylor

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Qt 5.4/5.5

2016-01-18 Thread Martin Klemm
Hi,

Did anyone try to compile MITK with Qt 5.4 or 5.5 yet? (under Windows7)

Best

Martin


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] How to get data storage from module, is it possible?

2015-12-15 Thread Martin Klemm
Hi Mikhail,

I opened a feature request some time ago
http://bugs.mitk.org/show_bug.cgi?id=17912 but I don't think that anyone
started working on that so far.

Here is also the link to the answer of Sascha:

http://sourceforge.net/p/mitk/mailman/message/32589486/

Best

Martin



On 15.12.2015 09:16, Pukhlikov Mikhail wrote:
> Hello
>>From plugin I can use services and IDataStorageReference interface but it's 
>>inside other plugin and I doubt I will have access from module there.
> 
> How can I get current data storage from Module? Is it possible?
> Thank you!  
> 
> 
> 
> --
> 
> 
> 
> ___
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681
Fax. +49 781 / 205 - 45 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1t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VH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Invalid layer for renderer: not rendered / Bug 18910

2015-11-17 Thread Martin Klemm
Hi,

did anyone of you receive the vtk error message "Invalid layer for
renderer: not rendered." before? This message appears after I call
renderer->GetOverlayManager() the first time in my mapper. The overlay
manager itself works perfectly. Everything is placed properly and
nothing is missing. The only ugly thing is the vtk pop up error message.

The error message is printed in the vtkRendererCollection.cxx in line 61.

  // Let the user know if they have put a renderer at an unused layer.
  for (this->InitTraversal(rsit); (ren = this->GetNextRenderer(rsit)); )
{
if (ren->GetLayer() < 0 || ren->GetLayer() >= numLayers)
  {
  vtkErrorMacro(<< "Invalid layer for renderer: not rendered.");
  }
}

numLayers is 2 and ren->GetLayer() returns also 2. If I understand it
properly GetOverlayManager creates a second layer to have the normal
renderer plus a foreground renderer. But where does the third renderer
in my case come from? I am using a 2015.05 build under Windows and a
custom QML application (not the workbench).

After I read this note [1]:

In order to integrate an Overlay into an mitk::Mapper, it is advised not
to use the OverlayManager but to manually manage the Overlay.

I implemented the Overlay directly in my mapper which works without the
vtk error message. But I still do not understand why the previous
approach with the OverlayManager produce an error message and why it is
not recommended to use it.

I also had to implement a workaround to remove the overlay from the
renderer because ReleaseGraphicsResources is not called. This bug was
reported here http://bugs.mitk.org/show_bug.cgi?id=18910 . Are there any
news regarding this bug? Do you plan to fix it for the next release?


Thanks in advance.

Best

Martin

[1]
http://docs.mitk.org/nightly/OverlaysPage.html#OverlaysPage_ArchitectureSection

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Precommit hook returning error

2015-08-14 Thread Martin Klemm
Hi everyone,

I just downloaded the pre-commit hook from your webpage
http://www.mitk.org/wiki/File:Pre-commit.sample

To test it I added a whitespace and deleted the eof. Both were detected.
Then I fixed them and tried to commit the changes but received the
following errors from the hook:

d:/Projects/MITK_GH_OIGTL/.git/hooks/pre-commit: line 209: conditional
binary operator expected
d:/Projects/MITK_GH_OIGTL/.git/hooks/pre-commit: line 209: syntax error
near `=~'
d:/Projects/MITK_GH_OIGTL/.git/hooks/pre-commit: line 209: `  [[
${array[0]} =~ $path_regex ]] ||  echo "No valid image path, received :
${array[0]}"'

Does anybody know how to fix this in a proper way? Anyone else
experienced this error? At the moment I fixed it by commenting it out.
Therefore the function check_new_doxygen_image_tag_syntax is not doing
its job properly...

Best

Martin

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Some QML topics

2015-07-22 Thread Martin Klemm
Hi everyone,

I have some questions and comments regarding the QML classes in MITK:

1. There is an old bug 16843 from the beginning of last year
http://bugs.mitk.org/show_bug.cgi?id=16843 which is in progress, are you
currently working on the topics written there?

2. In my qml based application I have two render windows which works
quiet well. Today I wanted to set render specific properties but it did
not work. Then I figured out that both render windows have the same
name. I also explain that in bug 19195
http://bugs.mitk.org/show_bug.cgi?id=19195 I added a workaround for this
problem but maybe somebody has a better idea. It could make sense to
change this together with bug 16843.

3. Some time ago I opened bug 18909 and added a pull request:
http://bugs.mitk.org/show_bug.cgi?id=18909
This could be integrated into MITK in less than half an hour ;)

Best

Martin

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Missing procedure entry points

2015-07-10 Thread Martin Klemm
Hi everyone,

the simple solution to this problem is deleting MitkIGTIO.dll. I still
dont understand how this could happen because I had two clean builds on
two different PCs and both produced the same error...

Have a nice weekend ;)

Best

Martin

On 03.07.2015 08:45, Martin Klemm wrote:
> Hi everyone,
> 
> after switching to MITK 2015.05 I experience the following error message
> while starting my application:
> 
> The procedure entry point
> "?GetStaticNameOfClass@NavigationDataSet@mitk@@SAPEBDXZ" could not be
> located in the dynamic library "MITKIGTBase.dll".
> 
> It occurs before any other component is loaded (at least mbilog is still
> empty in this moment) and if I click ok the application starts as
> normal. Mbilogs shows the following messages:
> 
> Fri Jul 03 08:42:59 2015
> 2101.72 core.mod.core.act WARNING: In `anonymous-namespace'::load_impl
> at
> D:\Projects\MITK_GH_1505\Modules\CppMicroServices\core\src\util\usUtils.cpp:
> 90 : The procedure was not found.
> 2101.72 core.mod.core.act WARNING: In us::AutoLoadModulesFromPath at
> D:\Projects\MITK_GH_1505\Modules\CppMicroServices\core\src\util\usUtils.cpp:176
> :
>  Auto-loading of module
> D:\Projects\MITK_GH_1505_sb\MITK-build\bin\MitkCore\Debug\MitkIGTIO.dll
> failed.
> 
> First I thought that cmake failed in configuring the project properly
> which caused mismatching headers, libs and dlls. But after compiling a
> completely fresh MITK and custom app it still occurred. Then I tested it
> on another machine. I also started from scratch here, I cloned MITK and
> compiled tag 2015.05, I cloned my custom app and compiled the same
> version as in the first machine and the result was NOT the same. I got
> the following message:
> 
> The procedure entry point
> "?FileWriterWithInformation@mitk@mitk@@SAPEBDXZ" could not be located in
> the dynamic library "MITKCore.dll".
> 
> So here it is another procedure entry point that cannot be found. ???
> And, moreover, if I click OK the app does not start as on the first machine.
> 
> I double checked the cmake configurations and git commits. The setups
> are, as far as I can say, equal. What I also find suspicious is that he
> is looking for NavigationDataSet in MITKIGTBase.dll even it is defined
> in MITKIGT.dll.
> 
> Does anyone has a clue where these errors come from or how I could
> proceed? Thanks in advance.
> 
> Here some notes about my system:
> Windows 7 x64
> MITK 2015.05 with Qt5
> Custom App is based on the QuickRender Qml Example project
> 
> Best
> 
> Martin
> 
> -BEGIN PGP PUBLIC KEY BLOCK-
> Version: GnuPG v2.0.22 (MingW32)
> 
> mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
> CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
> vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
> s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
> rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
> ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
> bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
> CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
> Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
> QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
> CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
> LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
> TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
> YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
> pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
> Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
> P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
> nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
> EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
> ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
> 65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
> z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
> XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
> 5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
> ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
> tjzbWAp3EQ==
> =6Xht
> -END PGP PUBLIC KEY BLOCK-
> 
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your

[mitk-users] Missing procedure entry points

2015-07-02 Thread Martin Klemm
Hi everyone,

after switching to MITK 2015.05 I experience the following error message
while starting my application:

The procedure entry point
"?GetStaticNameOfClass@NavigationDataSet@mitk@@SAPEBDXZ" could not be
located in the dynamic library "MITKIGTBase.dll".

It occurs before any other component is loaded (at least mbilog is still
empty in this moment) and if I click ok the application starts as
normal. Mbilogs shows the following messages:

Fri Jul 03 08:42:59 2015
2101.72 core.mod.core.act WARNING: In `anonymous-namespace'::load_impl
at
D:\Projects\MITK_GH_1505\Modules\CppMicroServices\core\src\util\usUtils.cpp:
90 : The procedure was not found.
2101.72 core.mod.core.act WARNING: In us::AutoLoadModulesFromPath at
D:\Projects\MITK_GH_1505\Modules\CppMicroServices\core\src\util\usUtils.cpp:176
:
 Auto-loading of module
D:\Projects\MITK_GH_1505_sb\MITK-build\bin\MitkCore\Debug\MitkIGTIO.dll
failed.

First I thought that cmake failed in configuring the project properly
which caused mismatching headers, libs and dlls. But after compiling a
completely fresh MITK and custom app it still occurred. Then I tested it
on another machine. I also started from scratch here, I cloned MITK and
compiled tag 2015.05, I cloned my custom app and compiled the same
version as in the first machine and the result was NOT the same. I got
the following message:

The procedure entry point
"?FileWriterWithInformation@mitk@mitk@@SAPEBDXZ" could not be located in
the dynamic library "MITKCore.dll".

So here it is another procedure entry point that cannot be found. ???
And, moreover, if I click OK the app does not start as on the first machine.

I double checked the cmake configurations and git commits. The setups
are, as far as I can say, equal. What I also find suspicious is that he
is looking for NavigationDataSet in MITKIGTBase.dll even it is defined
in MITKIGT.dll.

Does anyone has a clue where these errors come from or how I could
proceed? Thanks in advance.

Here some notes about my system:
Windows 7 x64
MITK 2015.05 with Qt5
Custom App is based on the QuickRender Qml Example project

Best

Martin

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG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s94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] mitkNodeDisplacementFilter in MITKUSNavigation

2015-04-08 Thread Martin Klemm
Hello everyone,

I was wondering why the mitkNodeDisplacementFilter and the
mitkNavigationDataPassThroughFilter is in the USNavigation module and
not in the IGT module? If I see it properly both classes have no
dependency from the US module. My point is that you have to compile
OpenCV and MitkUS to get access to these two classes without using any
feature from OpenCV or US. Moreover, it also loads the USPersistence
when starting the application. Would it make sense to move it to IGT?

Best

Martin


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Saving/Loading scenes with objects that have the same layer property

2015-04-01 Thread Martin Klemm
Hi Stefan,

with auto-layering you mean the adjustment of the layer property in void
QmitkDataStorageTreeModel::AdjustLayerProperty(), right? In contrast to
Ingmar's way of handling layers I am not really using them because I do
not need the 2D render windows. And I also do not set the "fixedLayer".
I think in my application the auto-layering is not working because my
app is not based on the workbench but on the quick render qml example
(QmitkDataStorageTreeModel is not used). Wouldn't it make more sense to
move this functionality somewhere else? Somewhere where it is
independent of QT?

Thanks for your support.

Best

Martin

On 31.03.2015 17:42, Kislinskiy, Stefan wrote:
> Hi Martin,
> 
> I agree with you, this is definitely a bug and we'll try to fix it for the 
> upcoming release. I guess the reason why this isn't fixed already is that it 
> is a quite exotic use case to override the auto-layering of MITK (with the 
> fixedLayer property). :)
> 
> Cheers,
> Stefan
> 
> -Original Message-
> From: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] 
> Sent: Freitag, 27. März 2015 12:39
> To: mitk-users@lists.sourceforge.net
> Subject: [mitk-users] Saving/Loading scenes with objects that have the same 
> layer property
> 
> Hi,
> 
> my problem is similar to the one described in this bug
> http://bugs.mitk.org/show_bug.cgi?id=18168
> 
> I have several objects in the scene that I want to save and load. I do not 
> have a 2D window which is why I do not use the layer property.
> Therefore, it is always set to 0 or 1. Saving the scene works without a 
> problem but the loading does not.
> 
> I figured out that the reading process itself works but afterwards the read 
> nodes together with its layer property are stored in a map. Then, the nodes 
> are read according to their layer property. So if there are two nodes with 
> the same layer property just the first one is read. My workaround is to set 
> the layer property to a unique value. But this is an essential bug from my 
> point of view. How is it possible that nobody fixed this so far. Is there 
> another way to solve this problem?
> 
> Thanks.
> 
> Regards
> 
> Martin
> 
> 
> --
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored by Intel and developed in partnership with Slashdot Media, is your 
> hub for all things parallel software development, from weekly thought 
> leadership blogs to news, videos, case studies, tutorials and more. Take a 
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonS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fvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Dive into the World of Parallel Programming The Go Parallel Website, spon

Re: [mitk-users] Serialization of a surface node

2015-03-30 Thread Martin Klemm
Sorry,

I accidentally deleted the history of this thread...

Hello everyone,

I just wanted to ask if geometries can already be serialized separately
from the surfaces when saving the scene.

Best

Martin





Hi again,

we'll have a look at the vrml reader/writer. I guess there is no
particular reason we didn't integrate it so far when its already there.
Regarding the IO refactoring, I forwarded the mail to our guy who is
responsible for the project, he should write something about that soon.
Regarding scene serialization you are absolutely right. We should always
store the geometry in this case separately.

Best,
Stefan

Von: Ingmar Wegner [iwegner@...]
Gesendet: Mittwoch, 6. August 2014 16:38
An: Kislinskiy, Stefan
Cc: Mitk Users
Betreff: Aw: AW: [mitk-users] Serialization of a surface node

Hi Stefan,
was there a reason to not connect the vrml reader / writer from VTK to MITK?
AFAIK this file format could also store additional data such as a
transformation.
We have added vrml IO to our mitk workbench as we have several other
projects using vrml files and are satisfied so far even though that we
use our own vrml reader and only use vtkVRMLExporter as writer.

Speaking of which: is there a schedule when to integrate the micro
service based IO refactoring?

For us at least a short term solution would be usefull such as the
solution I mentioned before:
In case the project is saved as one mitk project file that also contains
all properties
not merging the geometry into the surface file would be good. In this
case a serialized and deserialized dataStorage would be equal!
And it should also be quite straight forward for point sets and such, right?

Bug Squashing almost over!
Best,
Ingmar

Gesendet: Mittwoch, 06. August 2014 um 10:28 Uhr
Von: "Kislinskiy, Stefan" 
An: Wegner , "Mitk Users" 
Betreff: AW: [mitk-users] Serialization of a surface node
Hi Ingmar,

We already discussed this issue several times as it is quite annoying
indeed. Unfortunately, as far as we know, there is no surface format
currently supported by MITK which preserves transformations (neither
STL, nor OBJ, VTK or VTP is able to). This would be the most elegant and
simpe solution to have such a format for surfaces. However, other data
types like point sets are affected as well. Recently we had a platform
project to enable options for file writers but it isn't merged yet. A
short-term solution would be a check-box during file saving asking for
applying the current transformation/geometry. A better mid-term solution
would be able to save the geometry as well. We didn't agree on a
solution yet, as the idea to save the geometry in a seperate but
optional file wasn't liked so much. For MITK project files it could be
the same concept as for the property files for data nodes but for saving
data nodes as external data types an accompanying geometry file might be
easy to lose during copying or further processing by other tools. We
will put more effort in this issue in the near future during bug
squashing and are open for great ideas. :)

Best,
Stefan

Von: Wegner [iwegner@...]
Gesendet: Donnerstag, 17. Juli 2014 23:44
An: Mitk Users
Betreff: [mitk-users] Serialization of a surface node

Hi all,
as there are discussions on serialization currently going on I also
wanted to add one thing:

I am using an .mitk project file quite often to recover the state of my
plugin. Sometimes for debugging, sometimes as interface between two
plugins. Let me explain the latter: one plugin A creates a certain setup
of data nodes in the DataStorage and the next plugin B consumes this
data and processes the data. So I should be able to store the project
after processing plugin A into an .mitk file and close and open the
Workbench and load the project again to continue with plugin B.

But: when I save a surface node the geometry of the surface is applied
to every vertex in the surface and this is stored to file. When I load
the surface it is displayed at the same location as before but the node
is different. The geometry equals identity and the vertices are modified
obviously. The thing is, that plugin B uses the geometry of the surface
and if this one is not set or not as expected, the result is incorrect.

So would there be a way to differ between saving an .mitk project (and
then to also save geometry data as well and not to change vertices) AND
saving a regular .stl (...) file by incorporating the geometry into
vertices as that file format doesn't contain a container for this
information? That would assure that a saved DataStorage with a surface
node equals a loaded one.

I would also contribute those changes once they are agreed upon.

Best Regards!
Ingmar


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for 

Re: [mitk-users] Serialization of a surface node

2015-03-30 Thread Martin Klemm
Hello everyone,

I just wanted to ask if geometries can already be serialized separately
from the surfaces when saving the scene.

Best

Martin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] mitk::DataNode::InternalClone missing

2015-03-30 Thread Martin Klemm
Hi Andreas,

you are right, what I am doing at the moment is cloning the data and
then the property list and set it in a new node. But for convenience
reasons it would be nice to just call dataNode->Clone(). It is also
confusing that there is a Clone() method available but not implemented.

I have the use case where I want to contain the node in its current
state while continue working with a clone of itself (e.g. for
auto-saving mechanism, first create a clone, then save the clone while
the original data can be worked on). So the clone should be exactly like
the original.

Best,

Martin

On 30.03.2015 09:17, Fetzer, Andreas wrote:
> Hi Martin,
> 
> I am not entirely sure, but as far as I remember, the DataNode has no
> internal clone method, since it is only a container of the data. The clone
> method should always be implemented by the data itself.
> The only reason I can think of, why a node should be cloned, is that you
> want to get another node with exactly the same properties. However this
> could be done by cloning the PropertyList of a node.
> Are there any other requirements for you, so that you need the clone
> method for a data node?
> 
> Best,
> Andreas
> 
> Am 20/03/15 14:26 schrieb "Martin Klemm" unter
> :
> 
>> Hello everyone,
>>
>> I was just wondering why data nodes have no InternalClone method? Was it
>> never needed so far? If there is no reason that speaks against it I
>> would give it a try to implement it.
>>
>> Best
>>
>> Martin
>>
>> --
>> 
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Saving/Loading scenes with objects that have the same layer property

2015-03-27 Thread Martin Klemm
Hi,

my problem is similar to the one described in this bug
http://bugs.mitk.org/show_bug.cgi?id=18168

I have several objects in the scene that I want to save and load. I do
not have a 2D window which is why I do not use the layer property.
Therefore, it is always set to 0 or 1. Saving the scene works without a
problem but the loading does not.

I figured out that the reading process itself works but afterwards the
read nodes together with its layer property are stored in a map. Then,
the nodes are read according to their layer property. So if there are
two nodes with the same layer property just the first one is read. My
workaround is to set the layer property to a unique value. But this is
an essential bug from my point of view. How is it possible that nobody
fixed this so far. Is there another way to solve this problem?

Thanks.

Regards

Martin


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] ReleaseGraphicsResources(mitk::BaseRenderer *renderer) is not called

2015-03-27 Thread Martin Klemm
Hi Christoph,

thank you. The workaround is doing its job.

Best

Martin

On 17.03.2015 16:28, Christoph Kolb wrote:
> Hi Martin,
> 
> indeed, ReleaseGraphicsResources is never called when a DataNode is 
> deleted. I did not consider that.
> I will try to fix that and update the documentation.
> 
> Maybe in the meantime your problem can also be fixed by defining the 
> overlay and also keep the overlaymanager as a member of the mapper.
> Then in the destructor of the mapper you can just call:
> this->m_CurrentOverlayManager->RemoveOverlay(this->m_Overlay.GetPointer());
> And the overlay should be gone.
> 
> Regards
> Christoph
> 
> On 03/13/2015 06:46 PM, Martin Klemm wrote:
>> Hi everybody,
>>
>> I tried to implement on overlay showing the name of an object. I found
>> the presentation of Christoph (
>> http://mitk.org/images/d/d1/BugSquashingSeminars%24Overlays_in_MITK.pdf
>> ) about overlays. I implemented it as in line 9. The overlay is shown.
>> The problem appears when I delete the node because the overlay stays
>> even I added the code to ReleaseGraphicsResources.
>>
>> By checking the documentation I figured out that the syntax changed and
>> I used an old version. Instead of vtkRenderWindow you have to pass the
>> baseRenderer directly. But even with this change it is not called. I
>> also checked the method of the parent class and it is also not called.
>> In my understanding this method has to be called automatically before
>> the mapper is destroyed, right? In my case it is not called. So the
>> mapper is destroyed and the overlay stays forever. Do I have to call it
>> manually before deleting it? If yes how do I do that?
>>
>> I also found this bug http://bugs.mitk.org/show_bug.cgi?id=13121
>> Is there any connection? It looks like that MITK expects the call of
>> ReleaseGraphicsResources but does not receive it.
>>
>> Thanks for your help and have a nice weekend.
>>
>> Best
>>
>> Martin
> 
> 
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> ___
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBF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Vgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, vid

[mitk-users] mitk::DataNode::InternalClone missing

2015-03-20 Thread Martin Klemm
Hello everyone,

I was just wondering why data nodes have no InternalClone method? Was it
never needed so far? If there is no reason that speaks against it I
would give it a try to implement it.

Best

Martin

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] ReleaseGraphicsResources(mitk::BaseRenderer *renderer) is not called

2015-03-13 Thread Martin Klemm
Hi everybody,

I tried to implement on overlay showing the name of an object. I found
the presentation of Christoph (
http://mitk.org/images/d/d1/BugSquashingSeminars%24Overlays_in_MITK.pdf
) about overlays. I implemented it as in line 9. The overlay is shown.
The problem appears when I delete the node because the overlay stays
even I added the code to ReleaseGraphicsResources.

By checking the documentation I figured out that the syntax changed and
I used an old version. Instead of vtkRenderWindow you have to pass the
baseRenderer directly. But even with this change it is not called. I
also checked the method of the parent class and it is also not called.
In my understanding this method has to be called automatically before
the mapper is destroyed, right? In my case it is not called. So the
mapper is destroyed and the overlay stays forever. Do I have to call it
manually before deleting it? If yes how do I do that?

I also found this bug http://bugs.mitk.org/show_bug.cgi?id=13121
Is there any connection? It looks like that MITK expects the call of
ReleaseGraphicsResources but does not receive it.

Thanks for your help and have a nice weekend.

Best

Martin
-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk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-END PGP PUBLIC KEY BLOCK-

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Changing the pixel size of mitk::Surface points in the mitk::SurfaceMapper

2015-03-11 Thread Martin Klemm
Hi,

we have a point cloud stored in a mitk::Surface and want to visualize
it. At the moment these points are displayed as one single pixel. This
is not visible enough in our application so we want to have them
visualized with at least 9 pixel (diameter of 3 pixel). vtkProperty
already has a method to set this size (SetPointSize()). However, so far
it is not used for mitk::Surfaces. Is there any reason against making
this method available in the same way as the wirefram line width, e.g.:

  // Wireframe line width
  {
 float lineWidth = 1;
 node->GetFloatProperty("material.wireframeLineWidth",
lineWidth, renderer);
 property->SetLineWidth( lineWidth );
  }

  // Point size (diameter in screen unit)
  {
 float pointDiameter = 1.0;
 node->GetFloatProperty("material.pointDiameter", pointDiameter,
renderer);
 property->SetPointSize(pointDiameter);
  }

In this way it can be set in the properties of the surface node. If you
want I can file a bug and send a pull request.

Best

Martin


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Touch interaction

2015-01-30 Thread Martin Klemm
Hi Christian,

I also checked this page but then I read this comment in the documentation:

https://qt-project.org/doc/qt-4.7/qml-gesturearea.html

Cite: "Warning: GestureArea is an experimental element whose development
has been discontinued. PinchArea is available in QtQuick 1.1 and handles
two finger gesture input."

I checked PinchArea in my QML App. It is useful but it is not helping
you with the gesture recognition. You still have to write your own
recognition code.

At the moment I am stuck because of the way the DisplayInteractor works
(see my other mail: Pointless DisplayInteractor in VTK 3D render window ).

Best

Martin

On 29.01.2015 10:54, Weber, Christian(1) wrote:
> Hi Martin,
> 
> I like this approach. I'd voted also for the second option, which you chose,  
> that QmitkRenderWindow et al,  emit Gestures, this allows to use already 
> existing GestureManagers for different frameworks. Also the 6 steps of event 
> processing look really good!
> 
> 
> I don't know much about QML so I googled a bit and found this:
> http://blog.qt.digia.com/blog/2010/10/05/getting-in-touch-with-qt-quick-gestures-and-qml/
> Can't we use this for basic gesture recognition ?
> 
> 
> Best,
> Christian
> 
> 
> -Original Message-
> From: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] 
> Sent: Mittwoch, 28. Januar 2015 19:36
> To: Clarkson, Matt
> Cc: MITK
> Subject: Re: [mitk-users] Touch interaction
> 
> Hi Christian, Hi Matt, Hi all the others that are interested in this topic,
> 
> after some days of researching ways to implement touch interaction I found a 
> way. One thing that I recognized was that we do not want to bother with touch 
> events, what we really want are detected gestures. In one way or another the 
> touch events have to be converted into a gesture.
> There are two possible places to do this:
> 
> 1. directly in the DisplayInteractor
> 2. in the QmitkRenderWindow respectively in the QmlMitkRenderWindowItem
> 
> I decided to go with the second option. Qt already implements a 
> GestureManager which has several GestureRecognizers to recognize the most 
> common gestures. In the QmitkRenderWindow this manager can be accessed 
> directly. So before converting the QT event into a mitk event the gesture 
> manager will check the event for a possible gesture. If a gesture is detected 
> a gesture event is emitted (after it is converted into a mitk gesture event). 
> If no gesture is detected the incoming event is emitted. Subsequently the 
> DisplayInteractor can react to these gesture events.
> 
> But (!) this way just works for "standard" Qt applications and not for QML 
> applications because they work slightly different. In the 
> QmlMitkRenderWindowItem there is no gesture manager available, which is why I 
> implemented my own one. This gesture manager is completely qt independent and 
> could therefor work in all possible mitk applications (together with the 
> DisplayInteractor).
> 
> So the way I imagine it is the following:
> 
> 0. User touches the screen
> 1. QtTouchEvents are emitted
> 2. In the QmitkRenderWindow, the QmlMitkRenderWindowItem or any other 
> RenderWindowItem the incoming touch events have to be converted into a 
> mitkTouchEvent 3. This touch event is passed to the gesture manager 4. The 
> gesture manager tries to recognize a gesture 5. If a gesture is detected a 
> mitkGestureEvent is passed to the render window, if not the touch event is 
> handled 6. The Display Interactor handles the gesture event as defined in the 
> state machine.
> 
> So far I was not able to test it in the Workbench application because I am 
> working with Qml. But it should not be a big difference. Moreover this is 
> still a work in progress.
> 
> What do you think about this approach?
> 
> Best
> 
> Martin
> 
> 
> On 27.01.2015 22:09, Clarkson, Matt wrote:
>> Hi Martin,
>>
>> How's it going?  If you had a design doc I could look at, then Im 
>> interested. Maybe we can contribute?
>>
>> M
>>
>>
>> On 27 Jan 2015, at 16:24, Weber, Christian(1)  
>> wrote:
>>
>>> Hi Martin,
>>>
>>> I  your approach  sounds good, we designed the Interaction having the 
>>> application to a touch screen in mind, but so far haven't implemented 
>>> anything in this area. 
>>> I also think that is good to integrate it directly into the 
>>> DisplayInteractor to handle such  events, just to be sure, you will need to 
>>> map and create to some "mitkTouchInteraction" Events that derive from 
>>> InteractionEvent  such that the Interaction Framework remains GUI Framework 
>>> indep

[mitk-users] Pointless DisplayInteractor in VTK 3D render window

2015-01-30 Thread Martin Klemm
Hi all,

I am currently working on implementing touch interactions in my QML
application. After I recognize gestures I send them to the display
interactor to process them. I adapted the display interactor to work for
GestureEvents. The events arrived but nothing was moving in the render
window. I though that my parameters are wrong. So I wanted to check the
parameters when a mouse event it handled.

The result were approximately the same values I already had before... So
I dug deeper... I made a test in an
void QmlMitkRenderWindowItem::mousePressEvent(QMouseEvent* me)
which is the equivalent to
void QmitkRenderWindow::mousePressEvent(QMouseEvent *me)

In there the incoming mouse event is converted into a mitk::mouseEvent
and then passed to the dispatcher to be handled. The dispatcher sends it
to display interactor to react. And at the end of the method the mouse
event is passed to the vtk widget/quick item:
QVTKWidget::mousePressEvent(me);
respectively
QVTKQuickItem::mousePressEvent(me);

So I was wondering why you have to pass the mouse event to vtk if the
display interactor is supposed to handle the event. I deactivated all
calls of this sort and then no interaction was working anymore!!!

That means that we have a display interactor for this render window but
in fact it has no influence on the interaction. Do I miss something or
is it really like this? Is this a known issue?

I thought that I could send my gesture events to the display interactor
to adapt the scene. But knowing about this, I think that I have to
convert my touch events into mouse events and then send them to the
QVTKQuickItem, since it is not supporting TouchEvents.

Does anyone has a better idea?

I forgot to mention above that this just happens in the 3D scene. In the
2D scenes the DisplayInteractor is working as expected, even when the
events are not passed to the qvtkwidget/quickitem.

Best

Martin

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Touch interaction

2015-01-28 Thread Martin Klemm
Hi Christian, Hi Matt, Hi all the others that are interested in this topic,

after some days of researching ways to implement touch interaction I
found a way. One thing that I recognized was that we do not want to
bother with touch events, what we really want are detected gestures. In
one way or another the touch events have to be converted into a gesture.
There are two possible places to do this:

1. directly in the DisplayInteractor
2. in the QmitkRenderWindow respectively in the QmlMitkRenderWindowItem

I decided to go with the second option. Qt already implements a
GestureManager which has several GestureRecognizers to recognize the
most common gestures. In the QmitkRenderWindow this manager can be
accessed directly. So before converting the QT event into a mitk event
the gesture manager will check the event for a possible gesture. If a
gesture is detected a gesture event is emitted (after it is converted
into a mitk gesture event). If no gesture is detected the incoming event
is emitted. Subsequently the DisplayInteractor can react to these
gesture events.

But (!) this way just works for "standard" Qt applications and not for
QML applications because they work slightly different. In the
QmlMitkRenderWindowItem there is no gesture manager available, which is
why I implemented my own one. This gesture manager is completely qt
independent and could therefor work in all possible mitk applications
(together with the DisplayInteractor).

So the way I imagine it is the following:

0. User touches the screen
1. QtTouchEvents are emitted
2. In the QmitkRenderWindow, the QmlMitkRenderWindowItem or any other
RenderWindowItem the incoming touch events have to be converted into a
mitkTouchEvent
3. This touch event is passed to the gesture manager
4. The gesture manager tries to recognize a gesture
5. If a gesture is detected a mitkGestureEvent is passed to the render
window, if not the touch event is handled
6. The Display Interactor handles the gesture event as defined in the
state machine.

So far I was not able to test it in the Workbench application because I
am working with Qml. But it should not be a big difference. Moreover
this is still a work in progress.

What do you think about this approach?

Best

Martin


On 27.01.2015 22:09, Clarkson, Matt wrote:
> Hi Martin,
> 
> How’s it going?  If you had a design doc I could look at, then Im interested. 
> Maybe we can contribute?
> 
> M
> 
> 
> On 27 Jan 2015, at 16:24, Weber, Christian(1)  
> wrote:
> 
>> Hi Martin,
>>
>> I  your approach  sounds good, we designed the Interaction having the 
>> application to a touch screen in mind, but so far haven't implemented 
>> anything in this area. 
>> I also think that is good to integrate it directly into the 
>> DisplayInteractor to handle such  events,
>> just to be sure, you will need to map and create to some 
>> "mitkTouchInteraction" Events that derive from InteractionEvent  such that 
>> the Interaction Framework remains GUI Framework independent.
>>
>>
>> I'll be happy to assist if there are any more question, or look over any 
>> designs.
>>
>> Best
>> Christian
>>
>> -Original Message-
>> From: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] 
>> Sent: Donnerstag, 22. Januar 2015 18:01
>> To: mitk-users@lists.sourceforge.net
>> Subject: [mitk-users] Touch interaction
>>
>> Hi,
>>
>> I am currently trying to implement the interaction with a touch screen.
>> Did anyone work on this before?
>>
>> Our software is based on the QuickRender (QML) example and we use a touch 
>> screen instead of a mouse to interact with it. I am already able to receive 
>> the touch interactions from QML. These interactions I could send to the 
>> DisplayInteractor to process them. I would extend the DisplayInteractor in 
>> such way that additionally to the MouseEvents it could also process 
>> TouchEvents like Pinch, Zoom or Scroll.
>>
>> Is anyone interested in such an implementation, knows a better way or has 
>> experience to share?
>>
>> Best
>>
>> Martin
>>
>> --
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>

[mitk-users] Touch interaction

2015-01-22 Thread Martin Klemm
Hi,

I am currently trying to implement the interaction with a touch screen.
Did anyone work on this before?

Our software is based on the QuickRender (QML) example and we use a
touch screen instead of a mouse to interact with it. I am already able
to receive the touch interactions from QML. These interactions I could
send to the DisplayInteractor to process them. I would extend the
DisplayInteractor in such way that additionally to the MouseEvents it
could also process TouchEvents like Pinch, Zoom or Scroll.

Is anyone interested in such an implementation, knows a better way or
has experience to share?

Best

Martin

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] auto-save feature

2014-12-04 Thread Martin Klemm

Hi list,

I am also interested in the auto-save feature. Did someone of you 
already start working on it?


Best

Martin

On 10/17/2014 08:16 PM, Miklos Espak wrote:



On 17 October 2014 15:49, Rostislav Khlebnikov 
> wrote:


Hi Miklos,

I understand that saving corrupted data to disk is not the best
approach. On the other hand, auto-save is likely a crash recovery
mechanism, so from my point of view this would be the way to go as
it doesn't eat up the memory or slow down the interaction.
Honestly, this is quite hard to say which is a better approach
without profiling the application on real data and looking on how
annoying are the potential freezes during interaction. But as you
say, it would be possible to implement different approaches to
this problem so every MITK user could choose one which they like
the best.

I'm just afraid that if auto-saving hinders interaction, the end
users would either complain about it a lot or, given an option,
would completely turn off this feature and I feel this would be
very sad - it's better to have some corrupted save than none at
all. I'm thinking here about MS-word autosave and that oftentimes
the restored file is not exactly perfect, but at least some of my
work is saved. On the other hand, I would be very very annoyed if
MSWord would hang even for couple of seconds during auto-save. But
again, this is a personal preference and we could consult the
end-users regarding that (or, perhaps, force something on them and
gather feedback as it is usually more effective :)).


No, the application should not hang during auto-save. It should happen 
invisibly in the background. I do not know about MS Word now, but I 
remember that about 10 years ago OpenOffice stopped for the time of 
autosave, and with big documents and slow computers it could take a 
few seconds. It was pretty annoying.



I would say that once we have these different approaches to
saving, it would be nice for people to test it on their data in a
real setting. Because it will depend on the data and the workflow.
For me, the images are relatively big (~600^3), but they are never
modified, but I work a lot with large surface-like data and many
small data objects, such as planar figures. For you - it's mostly
image data. Perhaps, the behavior should be completely different
for people working with DTI data, etc.

My two cents regarding the locking mechanisms for other data
types. I think it would be really great, but I would also say -
don't do that. Even for me with only 5-6 different BaseData
subclasses, supporting this would be a big pain - adding code for
obtaining some kind of lock before accessing the data in all the
places seems like a lot of work and error-prone work at that. And
if each data access is automatically surrounded by, say, mutex
access - my gut feeling is that this would be detrimental to the
performance of the whole application.



The way how it is implemented for images is completely transparent, 
you do not need to add any lines of code. Maybe there is a solution 
that does not need modification of client code.


Performance can be an issue, but I do not think it would be 
significant. Of course, we cannot tell it until we test it.


My point is that you cannot exclude the possibility of an eventual 
crash if you do not lock, you can only reduce the chance of a crash. 
The cloning is faster than saving to disk, but this just means that 
there is less chance that is data is modified during that. It can 
potentially happen that a point is removed from a pointset while it is 
being cloned by the auto save process.


So, it seems that we agree in what we want to achieve, just you are 
more concerned about the performance and I am more concerned about the 
safety. Hopefully, we can find a solution that is fast, does not block 
the GUI and is safe at the same time. The only way to check this is if 
we try a couple of options and test them.


The next MITK release has been feature freezed a week ago, so in 
principle we can start the work on the current master.


all the best,
Miklos



All best,
  Rostislav.



On 17/10/2014 15:21, Miklos Espak wrote:

Hi Rostislav,

I have not realised that this locking mechanism is only for
images. I work only with images at the moment but we would need
the autosave to work for other data as well, for other projects.

What regards the images, I do not really like the shallow clone
approach. I do not think it is good to save an image while it is
being modified, even if the size of the image does not change and
it does not lead to a crash. Luckily, the locking mechanism would
prevent this. The autosave thread would put a read lock on the
image, i.e. no one could make any modification on the image while
it is be

Re: [mitk-users] Neglected icon attribute in the extension point of the QmitkDataManagerView

2014-12-01 Thread Martin Klemm
Hi

I merged the patch into the master and closed the bug last week. The 
changes (without the additions of Sascha) are already included in the 
MITK 2014.10 release.

Best

Martin

On 12/01/2014 12:40 AM, Sascha Zelzer wrote:
> I just shortly looked at the patch. It indeed relies on a qrc location.
> This will only work if the contributing plug-in is loaded (otherwise,
> the Qt resources would not be accessible). The final fix should rely on
> the CTK resource system to retrieve the icon (as specified in the
> CACHED_RESOURCE_FILES variable) and create a QIcon instance from an
> in-memory representation of the icon similar to the code creating the
> MITK Workbench toolbar and menu entries showing the view icons.
>
> Best,
> Sascha
>
> On 11/09/2014 10:27 PM, Rostislav Khlebnikov wrote:
>> Hm, setting it to the "qrc" location (i.e. ":/icons/icon.png") seems to
>> work.
>>
>> All best,
>>  Rostislav.
>>
>> On 09/11/2014 20:41, Rostislav Khlebnikov wrote:
>>> Hi guys,
>>>
>>> am I missing something? I applied the patch attached to the bug, but the
>>> icon is still missing.
>>>
>>> I added my icon to the CACHED_RESOURCE_FILES in files.cmake for my
>>> plugin. The location is, say, "resources/icon.png" and in plugin.xml I have
>>> >> icon="resources/icon.png" class="MyAction" />
>>>
>>> Any ideas on why this might not work?
>>>
>>> Thanks,
>>>   Rostislav.
>>>
>>> On 10/07/2014 10:43, Martin Klemm wrote:
>>>> Hi Sascha,
>>>>
>>>> thanks for the answer and sorry for not writing you for so long. I
>>>> opened a bug report http://bugs.mitk.org/show_bug.cgi?id=17907 and
>>>> attached the patch file. Is there something else I have to do now? Or
>>>> will you do the rest?
>>>>
>>>> Best regards,
>>>>
>>>> Martin
>>>>
>>>>
>>>>
>>>> On 28.05.2014 18:09, Sascha Zelzer wrote:
>>>>> Hi Martin,
>>>>>
>>>>> I think it just hasn't been done yet. I also don't see a reason for not
>>>>> doing it. Would you be up for contributing a patch to enable icons in
>>>>> the context menu?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Sascha
>>>>>
>>>>> On 05/06/2014 10:37 AM, Martin Klemm wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I was successful in adding a new context menu action to the data manager
>>>>>> menu:
>>>>>>
>>>>>>
>>>>>>>>>>> icon="resources/grouping_icon.png" class="GroupAction" />
>>>>>>
>>>>>>
>>>>>> The action is shown and works as expected, however, the icon is missing.
>>>>>> In QmitkDataManagerView::CreateQtPartControl(QWidget* parent) the
>>>>>> context menu extension service is opened to read the descriptor name,
>>>>>> label, class and icon attribute but is not using the icon to create the
>>>>>> action:
>>>>>>
>>>>>> ...
>>>>>> if((*cmActionsIt)->GetAttribute("nodeDescriptorName",
>>>>>> cmNodeDescriptorName)
>>>>>>&& (*cmActionsIt)->GetAttribute("label", cmLabel)
>>>>>>&& (*cmActionsIt)->GetAttribute("class", cmClass))
>>>>>>  {
>>>>>>(*cmActionsIt)->GetAttribute("icon", cmIcon);
>>>>>>// create context menu entry here
>>>>>>tmpDescriptor =
>>>>>> QmitkNodeDescriptorManager::GetInstance()->GetDescriptor(QString::fromStdString(cmNodeDescriptorName));
>>>>>>
>>>>>>
>>>>>>contextMenuAction = new QAction( 
>>>>>> QString::fromStdString(cmLabel),
>>>>>> parent);
>>>>>> ...
>>>>>>
>>>>>> Is there a reason why the icon is not used?
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Martin
>>>>>>
>>>>>> --
>>>>>>
>>&g

Re: [mitk-users] Autoload Services DLL Problem

2014-09-25 Thread Martin Klemm
Hi Rostislav,

I didn't use the PACKAGE target because it just produced a zip file with
msvcp120.dll and msvcr120.dll in it (also when I start it with
startVS_release.bat). I was wondering why this happens. I build MITK
with VC12 and Qt5.

Autoload modules are put into MyAppBuild/bin/MitkCore/Release. I also
tried it with keeping the folder structure but it also did not work. So
the question is what is the premise to make the autoload service loading
at startup?

Best regards

Martin

On 25.09.2014 12:09, Khlebnikov, Rostislav wrote:
> Hi,
> 
> why don't you use the PACKAGE target? (This is what it is there for). Just 
> don't forget to use startVS_release.bat before building it. Also according to 
> documentation it works for release builds only, but this shouldn't be an 
> issue I guess. 
> 
> IIRC the autoload modules are put into some subfolder, where I would assume 
> they are being searched for by mitk at startup - that's probably why you 
> can't start your app by simply copying the dlls next to your executable. 
> 
> Rostislav. 
> 
>> On 25 Sep 2014, at 10:58, "Martin Klemm"  
>> wrote:
>>
>> Hello,
>>
>> I tried to create a zip file for a colleague so that he can test the
>> current version of my application. I copied all necessary DLLs into one
>> folder (my application dlls, mitk dlls and autoload mitk dlls). Then I
>> tried to start the application but it fails with the error message:
>>
>> Assertion failed: m_service, file
>> D:\Projects\MITK\Core\Code\Common\mitkCoreServices.h, line 135
>>
>> I also saw that the services that normally start (e.g. persistence) do
>> not start this time while my own ones do.
>>
>> What am I missing to copy?
>>
>> This is a normal mbilog output while starting the application:
>>
>> 0.61 core.con.coreAct: In us::AutoLoadModulesFromPath at
>> D:\Projects\MITK\Core\C
>> ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
>> D:\Projects\
>> MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkIOExt.dll
>> 0.70 core.con.coreAct: In us::AutoLoadModulesFromPath at
>> D:\Projects\MITK\Core\C
>> ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
>> D:\Projects\
>> MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkIpPicSupportIO.dll
>> 0.74 core.con.coreAct: In us::AutoLoadModulesFromPath at
>> D:\Projects\MITK\Core\C
>> ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
>> D:\Projects\
>> MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkPersistence.dll
>> 0.77 core.mod.persistence.act DBG: PersistenceActivator::Load
>> 0.78 core.con.coreAct: In us::AutoLoadModulesFromPath at
>> D:\Projects\MITK\Core\C
>> ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
>> D:\Projects\
>> MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkVtkShaders.dll
>>
>> And all this is missing when I start the application directly.
>>
>> Thanks for your help.
>>
>> Best regards
>>
>> Martin
>>
>> -- 
>>
>>
>> Martin Klemm
>> Hochschule Offenburg
>> Badstraße 24
>> 77652 Offenburg
>> Tel. +49 781 / 205 - 4681
>>
>> -BEGIN PGP PUBLIC KEY BLOCK-
>> Version: GnuPG v2.0.22 (MingW32)
>>
>> mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
>> CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
>> vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
>> s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
>> rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
>> ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
>> bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
>> CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
>> Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
>> QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
>> CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
>> LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
>> TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
>> YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
>> pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
>> Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
>> P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
>> nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
>> EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
>> ASUEGAECAA8F

[mitk-users] Autoload Services DLL Problem

2014-09-25 Thread Martin Klemm
Hello,

I tried to create a zip file for a colleague so that he can test the
current version of my application. I copied all necessary DLLs into one
folder (my application dlls, mitk dlls and autoload mitk dlls). Then I
tried to start the application but it fails with the error message:

Assertion failed: m_service, file
D:\Projects\MITK\Core\Code\Common\mitkCoreServices.h, line 135

I also saw that the services that normally start (e.g. persistence) do
not start this time while my own ones do.

What am I missing to copy?

This is a normal mbilog output while starting the application:

0.61 core.con.coreAct: In us::AutoLoadModulesFromPath at
D:\Projects\MITK\Core\C
ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
D:\Projects\
MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkIOExt.dll
0.70 core.con.coreAct: In us::AutoLoadModulesFromPath at
D:\Projects\MITK\Core\C
ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
D:\Projects\
MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkIpPicSupportIO.dll
0.74 core.con.coreAct: In us::AutoLoadModulesFromPath at
D:\Projects\MITK\Core\C
ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
D:\Projects\
MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkPersistence.dll
0.77 core.mod.persistence.act DBG: PersistenceActivator::Load
0.78 core.con.coreAct: In us::AutoLoadModulesFromPath at
D:\Projects\MITK\Core\C
ppMicroServices\core\src\util\usUtils.cpp:160 : Auto-loading module
D:\Projects\
MITK_superQt5\MITK-build\bin\MitkCore\Debug\MitkVtkShaders.dll

And all this is missing when I start the application directly.

Thanks for your help.

Best regards

Martin

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Picking in QuickRender Example

2014-08-26 Thread Martin Klemm
Hi,

while comparing the QmlMitkRenderWindowItem with the QmitkRenderWindow I
realized a small but significant difference:

mitk::Point2D QmlMitkRenderWindowItem::GetMousePosition(QMouseEvent* me)
const
{

  mitk::Point2D point;
  point[0] = me->x();
  point[1] = me->y();
  //the following line was missing in the QmlMitkRenderWindowItem
  m_Renderer->GetDisplayGeometry()->ULDisplayToDisplay(point, point);
  return point;
}

The missing line caused that the y coordinate was flipped.
ULDisplayToDisplay is basically flipping the y coordinate, so that 0,0
is not in the top left corner but in the bottom left corner. Now the
picking worked perfectly fine. But now the display coordinate has to be
flipped in my QML file. It works like this but I am wondering if there
is a better way to solve this. If not I would create a new bug and
attach the patch..

Best regards,

Martin

On 21.08.2014 16:48, Martin Klemm wrote:
> Hello everyone,
> 
> I implemented a picking functionality for the QuickRender example and my
> normal Workbench application. In both the same code is handling the
> picking. While it works in the workbench it produces completely wrong
> picks in the QuickRender example.
> 
> The code of my Interactor looks basically like this:
> 
> mitk::InteractionPositionEvent* positionEvent =
>   dynamic_cast(interactionEvent);
>if (positionEvent != NULL)
>{
>   mitk::Point2D pos2D = positionEvent->GetPointerPositionOnScreen();
>   mitk::Point3D pos3D = positionEvent->GetPositionInWorld();
>   mitk::DataNode::Pointer pickedNode =
> positionEvent->GetSender()->PickObject(pos2D, pos3D);
>   if ( pickedNode.IsNotNull() )
>   {
>  MITK_DEBUG("Interactor") << "Picked node: " <<
> pickedNode->GetName();
>  //send message
>  m_NodePickedMessage.Send(pickedNode);
>   }
>}
> 
> Does anyone knows where this error could come from? Is it possible that
> the QmlMitkRenderWindowItem is not doing the same as the QmitkRenderWindow?
> 
> Best regards
> 
> Martin
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLI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ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Picking in QuickRender Example

2014-08-21 Thread Martin Klemm
Hello everyone,

I implemented a picking functionality for the QuickRender example and my
normal Workbench application. In both the same code is handling the
picking. While it works in the workbench it produces completely wrong
picks in the QuickRender example.

The code of my Interactor looks basically like this:

mitk::InteractionPositionEvent* positionEvent =
  dynamic_cast(interactionEvent);
   if (positionEvent != NULL)
   {
  mitk::Point2D pos2D = positionEvent->GetPointerPositionOnScreen();
  mitk::Point3D pos3D = positionEvent->GetPositionInWorld();
  mitk::DataNode::Pointer pickedNode =
positionEvent->GetSender()->PickObject(pos2D, pos3D);
  if ( pickedNode.IsNotNull() )
  {
 MITK_DEBUG("Interactor") << "Picked node: " <<
pickedNode->GetName();
 //send message
 m_NodePickedMessage.Send(pickedNode);
  }
   }

Does anyone knows where this error could come from? Is it possible that
the QmlMitkRenderWindowItem is not doing the same as the QmitkRenderWindow?

Best regards

Martin

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] AUTOLOAD_WITH Feature and Folder Hierarchy

2014-08-21 Thread Martin Klemm
Hi Sascha,

thanks for the fast answer.

I have several modules that load a service that provides a certain
functionality. I could have realized this with a singleton pattern but I
preferred the way described here
http://docs.mitk.org/nightly-qt4/MicroServices_EmulateSingleton.html
using a service to emulate a singleton.

Because I already need the functionality when the modules are
initialized I thought it is useful to use the autoload feature to make
sure that the service is available. And so far it was working... But it
looks like I used this feature in a way it is not supposed to. So I will
give my setup some additional thought.

Best regards,

Martin

On 21.08.2014 12:13, Sascha Zelzer wrote:
> Hi Martin,
> 
> I am not sure that I fully understood your set-up.
> 
> The auto-load mechanism is meant to load DLLs which register stuff into
> a running application (usually services). These DLLs typically are not
> linked to from other DLLs. If this would be the case, auto-loading
> wouldn't be needed because the linker dependencies would trigger loading
> of the DLL anyway. Therefore, such DLLs do not export any symbols and
> don't need to be in the search path of the dynamic linker. Depending on
> your use case, it may mean that you have to split / refactor your library.
> 
> A typically use case for MITK is the registration of object factories
> which extend the IO and mapper functionality of the application. Because
> these extensions should be available from the beginning "AUTOLOAD_WITH
> MitkCore" is used to ensure the earliest possible load time. However,
> such DLLs do not expose further API / functionality.
> 
> Hope this helps,
> 
> Sascha
> 
> On 08/21/2014 11:50 AM, Martin Klemm wrote:
>> Hello everyone,
>>
>> I was porting my project from MITK2013.12 with QT4 to MITK2014.03 with
>> Qt5. After I adapted and compiled everything it looked good until I
>> started the application. Then I received the error message that the DLL
>> file of one of my modules is missing, even it is compiling properly.
>> While checking this DLL I figured out that the DLL is not in
>> build/bin/Debug like all the other dlls but in build/MitkCore/Debug.
>> This has to do with the following line in my MITK_CREATE_MODULE:
>> AUTOLOAD_WITH MitkCore
>>
>> Since I have a second microservice which depends on the first one I
>> added to its MITK_CREATE_MODULE Macro: AUTOLOAD_WITH
>> NAME_OF_FIRST_MICROSERVICE. In this case the DLL is saved in
>> build/MitkCore/NAME_OF_FIRST_MICROSERVICE/Debug.
>>
>> I could adapt the cmake scripts in order to include these paths but is
>> it really meant to be like this? What is the reason behind this behavior?
>>
>> Best regards,
>>
>> Martin
>>
>>
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUB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P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] AUTOLOAD_WITH Feature and Folder Hierarchy

2014-08-21 Thread Martin Klemm
Hello everyone,

I was porting my project from MITK2013.12 with QT4 to MITK2014.03 with
Qt5. After I adapted and compiled everything it looked good until I
started the application. Then I received the error message that the DLL
file of one of my modules is missing, even it is compiling properly.
While checking this DLL I figured out that the DLL is not in
build/bin/Debug like all the other dlls but in build/MitkCore/Debug.
This has to do with the following line in my MITK_CREATE_MODULE:
AUTOLOAD_WITH MitkCore

Since I have a second microservice which depends on the first one I
added to its MITK_CREATE_MODULE Macro: AUTOLOAD_WITH
NAME_OF_FIRST_MICROSERVICE. In this case the DLL is saved in
build/MitkCore/NAME_OF_FIRST_MICROSERVICE/Debug.

I could adapt the cmake scripts in order to include these paths but is
it really meant to be like this? What is the reason behind this behavior?

Best regards,

Martin


-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] QuickRender Example App under Win7 VS2013 and Qt5.3.1

2014-08-06 Thread Martin Klemm
Hi,

I found a preliminary solution to my problem. I was misleaded by
Qt5Quick.dll. The DLL that was necessary is qtquick2plugind.dll. The
solution to my problem was to copy PATH_TO_YOUR_QT/qml/QtQuick.2 into
SUPERBUILD_PATH\MITK-build\bin\Debug.

Best regards

Martin

On 05.08.2014 15:35, Martin Klemm wrote:
> Hello everyone,
> 
> I am currently trying to run the QuickRender example under Windows 7
> with Visual Studio 2013 and Qt 5.3.1. I checked out the latest MITK
> commit yesterday ( c825b90 ) which did not compile directly with this
> configuration. I had to change several things until it worked:
> 
> 1. Change the Geometry2DDataMapper2D class to PlaneGeometryDataMapper2D
> 
> 2. Then I had problems to compile the QxtWeb module but since no other
> module is really using it I just excluded it from the build. (remove it
> in CMakeExternals/QxtCMakeLists.txt)
> 
> 3. Configure CMake as described in the ReadMe of the QuickRender example
> => Build superbuild => Open MITK_BUILD project. In
> MitkQuickRender->Properties->Linker/Input->Additional Dependencies it is
> written "Qt5::Widgets.lib" which is not a valid name and therefor cannot
> be found. So far I could not locate its origin but changing it to
> PATH_TO_YOUR_QT/libs/Qt5Widgetsd.lib worked ( Maybe it comes from
> QxtCmakeLists.txt because there this syntax is used).
> 
> 4. Copy PATH_TO_YOUR_QT/plugins/platforms into
> SUPERBUILD_PATH\MITK-build\bin\Debug. I tried to add the platforms path
> to the PATH but the QuickRender example did not find it. (Is there a
> proper way to do that?)
> 
> 5. In MITK_BUILD/bin there is a bat file called
> MitkQuickRender_debug.bat which I adapted by adding PATH_TO_YOUR_QT\bin
> to the PATH variable and adding debug\MitkQuickRender.exe
> NRRD/Pic3D.nrrd to the line below.
> 
> => Now the QuickRender example should be able to start. But it just runs
> until the point where it tries to open the QML file:
> 
> QQuickView view;
> view.setSource(QUrl("qrc:///MITK/Examples/QuickRender/QuickRender.qml"));
> 
> After this call I get the following error:
> ...
> qrc:///MITK/Examples/QuickRender/QuickRender.qml:1:1: module "QtQuick"
> is not installed
> 
> Do you know how to "install" it in such way that this works? Adding the
> path to Qt5Quick.dll to the PATH variable did not help, neither copying
> this dll directly into the MITK_BUILD/bin/Debug folder.
> 
> Best regards,
> 
> Martin
> 
> 
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 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/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] QuickRender Example App under Win7 VS2013 and Qt5.3.1

2014-08-05 Thread Martin Klemm
Hello everyone,

I am currently trying to run the QuickRender example under Windows 7
with Visual Studio 2013 and Qt 5.3.1. I checked out the latest MITK
commit yesterday ( c825b90 ) which did not compile directly with this
configuration. I had to change several things until it worked:

1. Change the Geometry2DDataMapper2D class to PlaneGeometryDataMapper2D

2. Then I had problems to compile the QxtWeb module but since no other
module is really using it I just excluded it from the build. (remove it
in CMakeExternals/QxtCMakeLists.txt)

3. Configure CMake as described in the ReadMe of the QuickRender example
=> Build superbuild => Open MITK_BUILD project. In
MitkQuickRender->Properties->Linker/Input->Additional Dependencies it is
written "Qt5::Widgets.lib" which is not a valid name and therefor cannot
be found. So far I could not locate its origin but changing it to
PATH_TO_YOUR_QT/libs/Qt5Widgetsd.lib worked ( Maybe it comes from
QxtCmakeLists.txt because there this syntax is used).

4. Copy PATH_TO_YOUR_QT/plugins/platforms into
SUPERBUILD_PATH\MITK-build\bin\Debug. I tried to add the platforms path
to the PATH but the QuickRender example did not find it. (Is there a
proper way to do that?)

5. In MITK_BUILD/bin there is a bat file called
MitkQuickRender_debug.bat which I adapted by adding PATH_TO_YOUR_QT\bin
to the PATH variable and adding debug\MitkQuickRender.exe
NRRD/Pic3D.nrrd to the line below.

=> Now the QuickRender example should be able to start. But it just runs
until the point where it tries to open the QML file:

QQuickView view;
view.setSource(QUrl("qrc:///MITK/Examples/QuickRender/QuickRender.qml"));

After this call I get the following error:
...
qrc:///MITK/Examples/QuickRender/QuickRender.qml:1:1: module "QtQuick"
is not installed

Do you know how to "install" it in such way that this works? Adding the
path to Qt5Quick.dll to the PATH variable did not help, neither copying
this dll directly into the MITK_BUILD/bin/Debug folder.

Best regards,

Martin



-- 


Martin Klemm

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmg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TCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] accessing mitkDataStorage implementation from within a module

2014-07-10 Thread Martin Klemm
Hi Sascha,

I am still interested in such an approach. I opened a ticket
http://bugs.mitk.org/show_bug.cgi?id=17912

Thank you very much.

Best regards,

Martin

On 08.07.2014 19:12, Sascha Zelzer wrote:
> Hi Martin,
> 
> currently, the way you describe is the only approach. The plug-in
> service architecture predates the one for modules.
> 
> If you are still interested, could you please add a Bugzilla ticket
> (feature request) and I would start thinking about a migration of the
> service from the plug-in to the MITK Core module.
> 
> Thanks,
> 
> Sascha
> 
> On 06/17/2014 10:46 AM, Martin Klemm wrote:
>> Hello everyone,
>>
>> I was wondering if there is a way to access the mitkDataStorage
>> implementation from within a module. I have a class inside a module
>> which needs the current data storage implementation. So far I
>> implemented this class inside my plugin and used a function to set a
>> reference to the current datastorage (which I can access from within the
>> plugin). My question is if there is a way that this module class can
>> access the datastorage directly without the plugin.
>>
>> I found the mitkDataStorageService class but this is implemented inside
>> a plugin and therefore cannot be accessed by a module.
>>
>> Thanks for your help.
>>
>> Best regards
>>
>> Martin
>>
>>
>>
>> --
>>
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Neglected icon attribute in the extension point of the QmitkDataManagerView

2014-07-10 Thread Martin Klemm
Hi Sascha,

thanks for the answer and sorry for not writing you for so long. I
opened a bug report http://bugs.mitk.org/show_bug.cgi?id=17907 and
attached the patch file. Is there something else I have to do now? Or
will you do the rest?

Best regards,

Martin



On 28.05.2014 18:09, Sascha Zelzer wrote:
> Hi Martin,
> 
> I think it just hasn't been done yet. I also don't see a reason for not
> doing it. Would you be up for contributing a patch to enable icons in
> the context menu?
> 
> Thanks,
> 
> Sascha
> 
> On 05/06/2014 10:37 AM, Martin Klemm wrote:
>> Hello,
>>
>> I was successful in adding a new context menu action to the data manager
>> menu:
>>
>>
>>> icon="resources/grouping_icon.png" class="GroupAction" />
>>
>>
>> The action is shown and works as expected, however, the icon is missing.
>> In QmitkDataManagerView::CreateQtPartControl(QWidget* parent) the
>> context menu extension service is opened to read the descriptor name,
>> label, class and icon attribute but is not using the icon to create the
>> action:
>>
>> ...
>> if((*cmActionsIt)->GetAttribute("nodeDescriptorName",
>> cmNodeDescriptorName)
>>&& (*cmActionsIt)->GetAttribute("label", cmLabel)
>>&& (*cmActionsIt)->GetAttribute("class", cmClass))
>>  {
>>(*cmActionsIt)->GetAttribute("icon", cmIcon);
>>// create context menu entry here
>>tmpDescriptor =
>> QmitkNodeDescriptorManager::GetInstance()->GetDescriptor(QString::fromStdString(cmNodeDescriptorName));
>>
>>
>>contextMenuAction = new QAction( QString::fromStdString(cmLabel),
>> parent);
>> ...
>>
>> Is there a reason why the icon is not used?
>>
>> Best regards,
>>
>> Martin
>>
>> --
>>
>> Is your legacy SCM system holding you back? Join Perforce May 7 to
>> find out:
>> • 3 signs your SCM is hindering your productivity
>> • Requirements for releasing software faster
>> • Expert tips and advice for migrating your SCM now
>> http://p.sf.net/sfu/perforce
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEG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qCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] accessing mitkDataStorage implementation from within a module

2014-06-17 Thread Martin Klemm
Hello everyone,

I was wondering if there is a way to access the mitkDataStorage
implementation from within a module. I have a class inside a module
which needs the current data storage implementation. So far I
implemented this class inside my plugin and used a function to set a
reference to the current datastorage (which I can access from within the
plugin). My question is if there is a way that this module class can
access the datastorage directly without the plugin.

I found the mitkDataStorageService class but this is implemented inside
a plugin and therefore cannot be accessed by a module.

Thanks for your help.

Best regards

Martin



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Implementing a new event

2014-05-20 Thread Martin Klemm
Hi users,

I am currently working on the user interaction in my application. For
that reason I implemented my own Interactor which is basically like
mitk::DisplayInteractor.

Now I want to react on events that are not mouse events. I want to send
my own custom events. I followed this guide to create my own event.
http://docs.mitk.org/2013.12/ImplementNewEventsPage.html

At the end it is written that mitk::EventConfig and mitk::EventFactory
have to be adapted. But that implies building my own custom mitk. Do I
see that correctly? If yes, do you think it would be possible to change
these classes in such way that they are expendable or that they can be
overwritten?

If I do not adapt these classes I get warnings like

"Event couldn't be constructed. Please check your StateMachine patterns
and config files\n for the following event class, which is not valid: "

which comes from the event factory and

EventConfig: Unknown Event-Type in config. Entry skipped:

which comes from the event config.


-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLm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ACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Missing OnSelectionChanged event in Qmitkabstractview

2014-05-06 Thread Martin Klemm
Hello,

I am currently working on a data node picking functionality for my
plugin. My plugin uses the OnSelectionChanged method provided by
Qmitkabstractview. When I click on a node inside the data manager view
this method is called, as expected. But when I try to pick a node inside
the renderer it is not called. My picker sets the picked node selected
in two ways:

1. Setting the selection of the data manager view
mitk::DataNodeSelection::Pointer selection(new
mitk::DataNodeSelection(pickedNode));
 this->SetDataManagerSelection(selection);

2. Setting the selected attribute of the node
pickedNode->SetSelected(true);

But still, there is no call of OnSelectionChanged. Then I checked how
this method is called:
q->OnSelectionChanged(sourcepart,
this->DataNodeSelectionToQList(_DataNodeSelection));
inside QmitkAbstractView::BlueBerrySelectionChanged(...)

The same here, it is also not called. Diving deeper...

BlueBerrySelectionChanged is the callback function for the selection
listener:
  // REGISTER FOR WORKBENCH SELECTION EVENTS
  d->m_BlueBerrySelectionListener = berry::ISelectionListener::Pointer(
new
berry::NullSelectionChangedAdapter(d.data(),
&QmitkAbstractViewPrivate::BlueBerrySelectionChanged));
this->GetSite()->GetWorkbenchWindow()->GetSelectionService()->AddPostSelectionListener(d->m_BlueBerrySelectionListener);

It seems that no selection event is entering the selection service. So I
thought that I could add one by using FireNodesSelected(...). But that
did not work neither. Now I am wondering about how to proceed. Is it the
right way to try to implement my own selection provider in order to call
BlueBerrySelectionChanged()? Do I overlook something?

Thank you very much for your help.

Best regards,

Martin

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Neglected icon attribute in the extension point of the QmitkDataManagerView

2014-05-06 Thread Martin Klemm
Hello,

I was successful in adding a new context menu action to the data manager
menu:

  
  
  

The action is shown and works as expected, however, the icon is missing.
In QmitkDataManagerView::CreateQtPartControl(QWidget* parent) the
context menu extension service is opened to read the descriptor name,
label, class and icon attribute but is not using the icon to create the
action:

...
if((*cmActionsIt)->GetAttribute("nodeDescriptorName", cmNodeDescriptorName)
  && (*cmActionsIt)->GetAttribute("label", cmLabel)
  && (*cmActionsIt)->GetAttribute("class", cmClass))
{
  (*cmActionsIt)->GetAttribute("icon", cmIcon);
  // create context menu entry here
  tmpDescriptor =
QmitkNodeDescriptorManager::GetInstance()->GetDescriptor(QString::fromStdString(cmNodeDescriptorName));

  contextMenuAction = new QAction( QString::fromStdString(cmLabel),
parent);
...

Is there a reason why the icon is not used?

Best regards,

Martin

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Select node in DataManager

2014-04-04 Thread Martin Klemm
Hi to everyone

My question could be seen as a continuation of the following question
from the last year:

http://sourceforge.net/p/mitk/mailman/message/30744255/

I created a plugin that enables the user to pick a rendered object. This
object which is stored in the data storage shall be selected.

So far I can set the "selected" property of the data node. But I am not
able to set it selected inside the DataManagerView. By searching in the
mailing list archives I figured out that SetDataManagerSelection seems
to be the right function for this purpose. But how do I use it?
SetDataManagerSelection wants an ISelection pointer but I just have a
mitk::DataNode pointer.

Thank you very much.

Best regards

Martin


-- 


Martin Klemm

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ
EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ
ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo
65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl
z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil
XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH
5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU
ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR
tjzbWAp3EQ==
=6Xht
-END PGP PUBLIC KEY BLOCK-

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Expanding Bounding Boxes

2014-03-20 Thread Martin Klemm
Hi,

thank you. It does what it is supposed to do plus something else that
looks like a bug (see image: http://imgur.com/j8AqHSn ). I am rendering
a pointer (yellow part) and a blue line. This line is stippled. The
problem is that now with the below modifications it shows the frame of
the render window also stippled. I also removed the modifications and
tried the manual way in the GUI. The frame is just stippled when the
crosshair is hidden.

This is the code I use in ApplyAllProperties of my line mapper:
bool isStippled = false;
   int stipplePattern;
   node->GetBoolProperty("stippled", isStippled);
   if ( isStippled )
   {
  stipplePattern = 0xff00;
   }
   else
   {
  stipplePattern = 0x;
   }
   _actor->GetProperty()->SetLineStipplePattern(stipplePattern);

Best regards,

Martin



On 19.03.2014 14:12, Kislinskiy, Stefan wrote:
> In all render windows you have an overlay menu in the top right where you can 
> globally disable the crosshair. If you want to do it programmatically, see 
> mitk::ILinkedRenderWindowPart::EnableSlicingPlanes(). In a plugin (view), the 
> code could look like the following:
> 
> mitk::ILinkedRenderWindowPart* linkedRenderWindowPart = 
> dynamic_cast(this->GetRenderWindowPart());
> if (linkedRenderWindowPart != NULL)
>   linkedRenderWindowPart->EnableSlicingPlanes(false);
> 
> Best,
> Stefan
> 
> -Ursprüngliche Nachricht-
> Von: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] 
> Gesendet: Mittwoch, 19. März 2014 14:05
> An: Kislinskiy, Stefan; mitk-users@lists.sourceforge.net
> Betreff: Re: AW: [mitk-users] Expanding Bounding Boxes
> 
> Sorry. What I meant was to hide the widget planes of a plugin. So the three 
> rectangles inside the 3D render window that define the 2D slices in the other 
> three windows.
> 
> Best regards,
> 
> Martin
> 
> On 19.03.2014 10:47, Kislinskiy, Stefan wrote:
>> Hi,
>>
>> what do you mean by "hiding the bounding box"? If you want to hide all 
>> objects inside your bounding box you have to manually hide each of these 
>> objects via mitk::DataNode::SetVisibility() or by setting their "visible" 
>> property to false.
>>
>> Best,
>> Stefan
>> 
>> Von: Martin Klemm [martin.kl...@hs-offenburg.de]
>> Gesendet: Mittwoch, 19. März 2014 09:11
>> An: Kislinskiy, Stefan; mitk-users@lists.sourceforge.net
>> Betreff: Re: [mitk-users] Expanding Bounding Boxes
>>
>> Hi,
>>
>> thank you very much. That solved this problem. Is there also a way to 
>> hide the bounding box?
>>
>> Best Regards,
>>
>> Martin
>>
>> On 18.03.2014 19:10, Kislinskiy, Stefan wrote:
>>> Hi,
>>>
>>> you can retrieve Geometry3D instances from your TimeGeometry instances, 
>>> e.g., by calling GetGeometryForTimestep().
>>>
>>> Best,
>>> Stefan
>>> 
>>> Von: Martin Klemm [martin.kl...@hs-offenburg.de]
>>> Gesendet: Dienstag, 18. März 2014 15:37
>>> An: mitk-users@lists.sourceforge.net
>>> Betreff: [mitk-users] Expanding Bounding Boxes
>>>
>>> Hello,
>>>
>>> is there a way to set minimum values for the bounding box? What I 
>>> want to do is the following:
>>>
>>> mitk::DataStorage::Pointer ds = _objContainer->GetDataStorage();
>>>
>>> // get all nodes that have not set "includeInBoundingBox" to false 
>>> and compute bounding box
>>>if (ds.IsNull())
>>>   return;
>>>mitk::NodePredicateNot::Pointer pred = mitk::NodePredicateNot::New(
>>>   mitk::NodePredicateProperty::New("includeInBoundingBox",
>>> mitk::BoolProperty::New(false)));
>>>mitk::DataStorage::SetOfObjects::ConstPointer rs = ds->GetSubset(pred);
>>>mitk::TimeGeometry::Pointer bounds =
>>>   ds->ComputeBoundingGeometry3D(rs, "visible");
>>>
>>>if (bounds.IsNull())
>>>   return;
>>>
>>> bounds->SetExtentInMM(0, 100);
>>> bounds->SetExtentInMM(1, 100);
>>> bounds->SetExtentInMM(2, 100);
>>>
>>> The problem is that the last call (SetExtentInMM) does not exist for 
>>> TimeGeometry, however, it exists for Geometry3D. Does anyone knows a 
>>> way to solve this?
>>>
>>> Thank you very much.
>>>
>>> Best regards
>>>
>>>

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] Expanding Bounding Boxes

2014-03-19 Thread Martin Klemm
Sorry. What I meant was to hide the widget planes of a plugin. So the
three rectangles inside the 3D render window that define the 2D slices
in the other three windows.

Best regards,

Martin

On 19.03.2014 10:47, Kislinskiy, Stefan wrote:
> Hi,
> 
> what do you mean by "hiding the bounding box"? If you want to hide all 
> objects inside your bounding box you have to manually hide each of these 
> objects via mitk::DataNode::SetVisibility() or by setting their "visible" 
> property to false.
> 
> Best,
> Stefan
> ____
> Von: Martin Klemm [martin.kl...@hs-offenburg.de]
> Gesendet: Mittwoch, 19. März 2014 09:11
> An: Kislinskiy, Stefan; mitk-users@lists.sourceforge.net
> Betreff: Re: [mitk-users] Expanding Bounding Boxes
> 
> Hi,
> 
> thank you very much. That solved this problem. Is there also a way to
> hide the bounding box?
> 
> Best Regards,
> 
> Martin
> 
> On 18.03.2014 19:10, Kislinskiy, Stefan wrote:
>> Hi,
>>
>> you can retrieve Geometry3D instances from your TimeGeometry instances, 
>> e.g., by calling GetGeometryForTimestep().
>>
>> Best,
>> Stefan
>> 
>> Von: Martin Klemm [martin.kl...@hs-offenburg.de]
>> Gesendet: Dienstag, 18. März 2014 15:37
>> An: mitk-users@lists.sourceforge.net
>> Betreff: [mitk-users] Expanding Bounding Boxes
>>
>> Hello,
>>
>> is there a way to set minimum values for the bounding box? What I want
>> to do is the following:
>>
>> mitk::DataStorage::Pointer ds = _objContainer->GetDataStorage();
>>
>> // get all nodes that have not set "includeInBoundingBox" to false and
>> compute bounding box
>>if (ds.IsNull())
>>   return;
>>mitk::NodePredicateNot::Pointer pred = mitk::NodePredicateNot::New(
>>   mitk::NodePredicateProperty::New("includeInBoundingBox",
>> mitk::BoolProperty::New(false)));
>>mitk::DataStorage::SetOfObjects::ConstPointer rs = ds->GetSubset(pred);
>>mitk::TimeGeometry::Pointer bounds =
>>   ds->ComputeBoundingGeometry3D(rs, "visible");
>>
>>if (bounds.IsNull())
>>   return;
>>
>> bounds->SetExtentInMM(0, 100);
>> bounds->SetExtentInMM(1, 100);
>> bounds->SetExtentInMM(2, 100);
>>
>> The problem is that the last call (SetExtentInMM) does not exist for
>> TimeGeometry, however, it exists for Geometry3D. Does anyone knows a way
>> to solve this?
>>
>> Thank you very much.
>>
>> Best regards
>>
>>
>> Martin
>>
>>
>>
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>
> 
> --
> 
> 
> Martin Klemm
> Hochschule Offenburg
> Badstraße 24
> 77652 Offenburg
> Tel. +49 781 / 205 - 4681
> 
> -BEGIN PGP PUBLIC KEY BLOCK-
> Version: GnuPG v2.0.22 (MingW32)
> 
> mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
> CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
> vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
> s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
> rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
> ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
> bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
> CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
> Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
> QXHbaBh4D13S38j75h0UJoV7ccKkP4SiObzzBpaIP0LKrgddTDBMUaLNpkIkPTol
> CyYtLF9Lyrs262TABgQfU/u2K8USVZmUrMh2nR1YDI6BDhyUnXn7ZQ6gasY8F8gv
> LvKghox52Wsw9cui8ATwIZoKV46X7FrhMX+G6nmJ11Cu1/i1bVUbN8bzlrjoWGnQ
> TFi4M1H7z1/CSUmkCrNuHtTg1YBnP1TI0aBSBgUsJB+SbGm4B0QTZTnYA42DVPZD
> YlhtoigOoUhhCgdeKXEcuQENBFLmUekBCADURioNxPq/foCkuXnSf4VbxvF0DDZ7
> pO18dW55AzVvlSKWrahx71xgnP52xKn0EEuuqTZYfY3RzHimeGXqOCbEWkk6eFkt
> Sg/fMH4utD6KV+ewGb1mlRUEZgiwxbQyb+dlM1j9GmTNlr5/8VcMS5lNqCqgu59P
> P59ThEGwufSeLMBf4eCidltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt
> nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGSc

Re: [mitk-users] Expanding Bounding Boxes

2014-03-19 Thread Martin Klemm
Hi,

thank you very much. That solved this problem. Is there also a way to
hide the bounding box?

Best Regards,

Martin

On 18.03.2014 19:10, Kislinskiy, Stefan wrote:
> Hi,
> 
> you can retrieve Geometry3D instances from your TimeGeometry instances, e.g., 
> by calling GetGeometryForTimestep().
> 
> Best,
> Stefan
> ____
> Von: Martin Klemm [martin.kl...@hs-offenburg.de]
> Gesendet: Dienstag, 18. März 2014 15:37
> An: mitk-users@lists.sourceforge.net
> Betreff: [mitk-users] Expanding Bounding Boxes
> 
> Hello,
> 
> is there a way to set minimum values for the bounding box? What I want
> to do is the following:
> 
> mitk::DataStorage::Pointer ds = _objContainer->GetDataStorage();
> 
> // get all nodes that have not set "includeInBoundingBox" to false and
> compute bounding box
>if (ds.IsNull())
>   return;
>mitk::NodePredicateNot::Pointer pred = mitk::NodePredicateNot::New(
>   mitk::NodePredicateProperty::New("includeInBoundingBox",
> mitk::BoolProperty::New(false)));
>mitk::DataStorage::SetOfObjects::ConstPointer rs = ds->GetSubset(pred);
>mitk::TimeGeometry::Pointer bounds =
>   ds->ComputeBoundingGeometry3D(rs, "visible");
> 
>if (bounds.IsNull())
>   return;
> 
> bounds->SetExtentInMM(0, 100);
> bounds->SetExtentInMM(1, 100);
> bounds->SetExtentInMM(2, 100);
> 
> The problem is that the last call (SetExtentInMM) does not exist for
> TimeGeometry, however, it exists for Geometry3D. Does anyone knows a way
> to solve this?
> 
> Thank you very much.
> 
> Best regards
> 
> 
> Martin
> 
> 
> 
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.22 (MingW32)

mQENBFLmUekBCACp46Wgg+gXLpnQYlGjRS0jBVWmL+9boonSl+Imp//bJ2I9XYxE
CJJvjQM9a2W8OZoFDY4gGieDqk2JigGWoEPoXrMJh7RjaRppmWkM5EufXmLiO0Yw
vsjo22PFZPCVs6TohgboQleV8Dy1BxEUjpzaesy1x+2sE/fNKm8hAYzaLsSlwy6Y
s/g9/o8PRmm5miqakUPV3o2jy4VimGliD7FNlns6P2ePwu2mLL5iR+mqF6oUwRA2
rDjtKQZSJgyaHfdi3YcOlQXnnmT0JKcguoE1B7Xs8tYRXU2vEw2ObuF+FeksH2iM
ChqNWMSmgVQNiQEYtEfz+mq4iviYuzlaBxirABEBAAG0K01hcnRpbiBLbGVtbSA8
bWFydGluLmtsZW1tQGhzLW9mZmVuYnVyZy5kZT6JAT8EEwECACkFAlLmUekCGyMF
CQlmAYAHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRC2Jqc/SGZiKevQB/96
Fjw+45qnyJng7mN5e4IUVKPz5VqLD1rnEWBd0bL5uiL3OcXk7lyaeFD1Sx3TlvDL
QXHbaBh4D13S38j75h0UJoV7ccKkP4S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
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Expanding Bounding Boxes

2014-03-18 Thread Martin Klemm
Hello,

is there a way to set minimum values for the bounding box? What I want
to do is the following:

mitk::DataStorage::Pointer ds = _objContainer->GetDataStorage();

// get all nodes that have not set "includeInBoundingBox" to false and
compute bounding box
   if (ds.IsNull())
  return;
   mitk::NodePredicateNot::Pointer pred = mitk::NodePredicateNot::New(
  mitk::NodePredicateProperty::New("includeInBoundingBox",
mitk::BoolProperty::New(false)));
   mitk::DataStorage::SetOfObjects::ConstPointer rs = ds->GetSubset(pred);
   mitk::TimeGeometry::Pointer bounds =
  ds->ComputeBoundingGeometry3D(rs, "visible");

   if (bounds.IsNull())
  return;

bounds->SetExtentInMM(0, 100);
bounds->SetExtentInMM(1, 100);
bounds->SetExtentInMM(2, 100);

The problem is that the last call (SetExtentInMM) does not exist for
TimeGeometry, however, it exists for Geometry3D. Does anyone knows a way
to solve this?

Thank you very much.

Best regards


Martin



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] ctkPluginException: Failed to install plugin

2013-10-04 Thread Martin Klemm
You were right. DependencyWalker showed that there is one library 
missing. After correcting the PATH variable it worked.

Thank you very much.

Best regards,

Martin

On 04.10.2013 10:45, Kislinskiy, Stefan wrote:
> Hm, it seems that it still cannot find a dynamic library. It might be another 
> library that you linked to your module. Please check that everything you 
> linked to your module can be found in the specified paths. BTW, 
> DependencyWalker is a good tool to check the dependencies of your module.
>
> Best,
> Stefan
> ____
> Von: Martin Klemm [mkl...@stud.hs-offenburg.de]
> Gesendet: Freitag, 4. Oktober 2013 08:31
> An: mitk-users@lists.sourceforge.net
> Betreff: Re: [mitk-users] ctkPluginException: Failed to install plugin
>
> Hi Stefan,
>
> I forgot to say that we use MITK in an external project. However, we
> kept the way to start Visual Studio with a bat file.
>
> I double checked the paths. They seem to be correct and the files are
> actually in the right folders. To be more specific, our plugin, called
> liborg_xxx_tracking_pipeline.dll, is located in
> D:/xxx/bin060/bin/plugins/Debug/. But I still receive the error message:
>
> 2.12 blueberry.osgi.intPltfm ERROR: ctkPluginException: Failed to
> install plugin
> ...
> Caused by: ctkPluginException: The plugin
> "D:/xxx/bin060/bin/plugins/Debug/liborg_xxx_tracking_pipeline.dll" could
> not be loaded: Cannot load library
> D:/xxx/bin060/bin/plugins/Debug/liborg_xxx_tracking_pipeline.dll: Das
> angegebene Modul wurde nicht gefunden.
> ...
>
> Moreover, mbilog prints the new PATH in which it is written:
> D:/xxx/bin060/bin/plugins/debug; which is the appropriate folder.
>
> For me it looks like that the paths are set correct but that the error
> is coming from somewhere else. What do you think?
>
> Best regards,
>
> Martin
>
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>

-- 


Martin Klemm
Hochschule Offenburg
Badstraße 24
77652 Offenburg
Tel. +49 781 / 205 - 4681

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


Re: [mitk-users] ctkPluginException: Failed to install plugin

2013-10-03 Thread Martin Klemm
Hi Stefan,

I forgot to say that we use MITK in an external project. However, we 
kept the way to start Visual Studio with a bat file.

I double checked the paths. They seem to be correct and the files are 
actually in the right folders. To be more specific, our plugin, called 
liborg_xxx_tracking_pipeline.dll, is located in 
D:/xxx/bin060/bin/plugins/Debug/. But I still receive the error message:

2.12 blueberry.osgi.intPltfm ERROR: ctkPluginException: Failed to 
install plugin
...
Caused by: ctkPluginException: The plugin 
"D:/xxx/bin060/bin/plugins/Debug/liborg_xxx_tracking_pipeline.dll" could 
not be loaded: Cannot load library 
D:/xxx/bin060/bin/plugins/Debug/liborg_xxx_tracking_pipeline.dll: Das 
angegebene Modul wurde nicht gefunden.
...

Moreover, mbilog prints the new PATH in which it is written: 
D:/xxx/bin060/bin/plugins/debug; which is the appropriate folder.

For me it looks like that the paths are set correct but that the error 
is coming from somewhere else. What do you think?

Best regards,

Martin


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] ctkPluginException: Failed to install plugin

2013-10-02 Thread Martin Klemm
Hi at all,

When I start our application I get the following error in mbilog (see 
after the message). This application has two plug-ins and for both 
plug-ins I receive the same error. We have exactly the same applications 
running on two other computers of my colleagues and they are running 
without any problem.

One of my colleagues encountered the same problem but after starting 
from scratch it did not occur anymore. My try to do the same was not 
successful.

In the error message it says that the module cannot be found. But I 
checked it the plugin is there. The compilation in Visual Studio also 
works without a problem. When I start the application in VS in debug 
mode I can read in the output window:

'xxxApp.exe': Loaded 
'D:\Projects\xxx\bin\bin\plugins\Debug\liborg_xxx_SetupScreen.dll', 
Symbols loaded.

and some lines later:

'xxxApp.exe': Unloaded 
'D:\Projects\xxx\bin\bin\plugins\Debug\liborg_xxx_SetupScreen.dll'

Is that a normal behaviour? There are also some suspicious exceptions:

First-chance exception at 0x07fefc90940d in xxxApp.exe: Microsoft 
C++ exception: ctkPluginException at memory location 0x0022a0a0..
First-chance exception at 0x07fefc90940d in xxxApp.exe: Microsoft 
C++ exception: [rethrow] at memory location 0x..


I am using the following versions:

MITK 2013.06.0
QT 4.8.4
doxygen 1.80
graphviz 2.22
VS2010

Does anyone knows a solution to that? Thanks for you help ;)

best regards

Martin

## mbilog error##

0.66 blueberry.osgi.intPltfm ERROR: ctkPluginException: Failed to 
install plugin

 at 07FEEAD381DB: ctkBackTracePrivate::trace + 0x4b in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD37C8C: ctkBackTrace::ctkBackTrace + 0xfc in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD8ED55: ctkException::ctkException + 0x55 in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD901FC: ctkRuntimeException::ctkRuntimeException + 
0x3c in
C:\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.d
ll
 at 07FEEB7AC3C2: ctkPluginException::ctkPluginException + 
0x42 in C:
\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFr
amework.dll
 at 07FEEB82380D: `ctkPlugins::install'::`1'::catch$0 + 0x8d 
in C:\Pr
ograms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFrame
work.dll
 at 602E0E40: __unDNameEx + 0xc4c0
 at 602D18FC: __FrameUnwindFilter + 0x51c
 at 774F0C51: RtlRestoreContext + 0x2e2
 at 07FEEB7DAB22: ctkPlugins::install + 0x3d2 in 
C:\Programs\MITK\win
64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramework.dll
 at 07FEEB7A94E1: ctkPluginContext::installPlugin + 0x71 in 
C:\Progra
ms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramework
.dll
 at 07FEEAF45B27: berry::InternalPlatform::Initialize + 
0x1787 in C:\
Programs\MITK\win64-vc10sp1\2013.06.0\MITK-build\bin\plugins\debug\liborg_bluebe
rry_osgi.dll
 at 07FEEAEF31D6: berry::Starter::Run + 0x116 in 
C:\Programs\MITK\win
64-vc10sp1\2013.06.0\MITK-build\bin\plugins\debug\liborg_blueberry_osgi.dll
 at 00013FA414E9: main + 0x2d9 in D:\Projects\xxx\bin\bin\Debug\
xxxApp.exe
 at 00013FA434EC: __tmainCRTStartup + 0x19c in D:\Projects\xxx\b
in\bin\Debug\xxxApp.exe
 at 00013FA4333E: mainCRTStartup + 0xe in D:\Projects\xxx\bin\bi
n\Debug\xxxApp.exe
 at 7739652D: BaseThreadInitThunk + 0xd
 at 774CC541: RtlUserThreadStart + 0x21
Caused by: ctkPluginException: The plugin "D:/Projects/xxx/bin/bin/plugins/
Debug/liborg_xxx_SetupScreen.dll" could not be loaded: Cannot load library
D:/Projects/xxx/bin/bin/plugins/Debug/liborg_xxx_SetupScreen.dll: Das
angegebene Modul wurde nicht gefunden.
 at 07FEEAD381DB: ctkBackTracePrivate::trace + 0x4b in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD37C8C: ctkBackTrace::ctkBackTrace + 0xfc in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD8EC90: ctkException::ctkException + 0x50 in 
C:\Programs\MI
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
 at 07FEEAD90182: ctkRuntimeException::ctkRuntimeException + 
0x32 in
C:\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.d
ll
 at 07FEEB7AC338: ctkPluginException::ctkPluginException + 
0x38 in C:
\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFr
amework.dll
 at 07FEEB7E2B7F: ctkPluginStorageSQL::insertArchive + 0x56f 
in C:\Pr
ograms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug