Hi Wassim,
I am trying to reproduce the error.
I have started the MainApp in debug mode and set a breakpoint in the exact line 
your build crashes.
My callstack is:
        Qmitk.dll!QmitkSliderNavigator::QmitkSliderNavigator(QWidget * 
parent=0x09c2fd68, const char * name=0x012b07a4, unsigned int fl=0)  Line 32    
C++
        Qmitk.dll!QmitkSliderDialogBar::CreateDialogBar(QWidget * 
parent=0x09c2fc68)  Line 74 + 0x30 bytes      C++
        Qmitk.dll!QmitkDialogBar::CreateControlWidget(QWidget * 
parent=0x09aaebd0)  Line 54 + 0x19 bytes        C++
        Qmitk.dll!QmitkFctMediator::AddDialogBar(QmitkDialogBar * 
dialogBar=0x09c2fba8)  Line 342 + 0x16 bytes  C++
        MainApp.exe!SampleApp::InitializeFunctionality()  Line 79 + 0x1f bytes  
C++
        Qmitk.dll!QmitkMainTemplate::Initialize()  Line 912 + 0x12 bytes        
C++
        MainApp.exe!SampleApp::SampleApp(QWidget * parent=0x00000000, const 
char * name=0x004de1a0, unsigned int fl=1, const char * 
testingParameter=0x00000000)  Line 53 + 0xb bytes   C++
        MainApp.exe!main(int argc=1, char * * argv=0x07924238)  Line 92 + 0x1b 
bytes    C++
        MainApp.exe!__tmainCRTStartup()  Line 582 + 0x19 bytes  C
        MainApp.exe!mainCRTStartup()  Line 399  C
        kernel32.dll!7c817067()         
        [Frames below may be incorrect and/or missing, no symbols loaded for 
kernel32.dll]      
        shell32.dll!7e9477cd()  

I don't see any differences apart from QT version 3.3.8. I am using 3.3.6.
Could you update from repository (so we have the same version) and set a 
breakpoint in QmitkSliderDialogBar::CreateDialogBar line 74 and see what's 
happening?

Has anyone else an idea?


Best Regards,
Ingmar

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 30. September 2008 15:54
An: Wegner Ingmar
Cc: [email protected]
Betreff: Re: AW: AW: AW: AW: AW: [mitk-users] Using MITK to apply interactively 
change on transfer function(Opacity + Color) on Volume Rendering
Wichtigkeit: Hoch


Hi

here the call-stack :

         Qmitk.dll!QmitkSliderNavigator::QmitkSliderNavigator(QWidget *
parent=0x071ff2a8, const char * name=0x0170f994, unsigned int fl=0)  Line
32      
        Qmitk.dll!QmitkSliderDialogBar::CreateDialogBar(QWidget *
parent=0x071ff1a8)  Line 74 + 0x30 bytes        
        Qmitk.dll!QmitkDialogBar::CreateControlWidget(QWidget *
parent=0x07010518)  Line 54 + 0x19 bytes        
        Qmitk.dll!QmitkFctMediator::AddDialogBar(QmitkDialogBar *
dialogBar=0x071ff080)  Line 342 + 0x16 bytes    
        MainApp.exe!SampleApp::InitializeFunctionality()  Line 79 + 0x1f bytes  
        Qmitk.dll!QmitkMainTemplate::Initialize()  Line 912 + 0x12 bytes        
        MainApp.exe!SampleApp::SampleApp(QWidget * parent=0x00000000, const char
* name=0x0050b220, unsigned int fl=1, const char *
testingParameter=0x00000000)  Line 53 + 0xb bytes       
        MainApp.exe!main(int argc=1, char * * argv=0x07004808)  Line 92 + 0x1b
bytes   
        MainApp.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes  C
        MainApp.exe!mainCRTStartup()  Line 403  C
        kernel32.dll!7c816fd7()         
        [Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   

/*********************************************************/
/*********************************************************/

Thank you in advance
Best Regards

On Tue, 30 Sep 2008 15:26:49 +0200, "Wegner Ingmar"
<[EMAIL PROTECTED]> wrote:
> Hi,
> QT 3.3.8. seems different, but doesn't have to be the cause of the
> segmentation fault.
> 
> Could you compile it with debug information and send the call-stack?
> 
> Did you set all necessary environment variables in XP?
> 
> Regards,
> Ingmar
> 
> 
> Dipl.-Inform. Med. Ingmar Wegner 
> DKFZ
> German Cancer Research Center (Deutsches Krebsforschungszentrum) 
> Member of the Helmholtz Association
> Division Medical and Biological Informatics E130
> Im Neuenheimer Feld 280
> D-69120 Heidelberg
> Phone: 49-(0)6221-42-3543
> Fax: 49-(0)6221-42-2345
> E-Mail: [EMAIL PROTECTED]
> Web: www.dkfz.de
> 
> Confidentiality Note: This message is intended only for the use of the
> named recipient(s) and may obtain confidential and/or privileged
> information. If you are not the intended recipient, please contact the
> sender and delete the message. Any unauthorized use of the information
> contained in this message is prohibited. 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 30. September 2008 08:18
> An: Wegner Ingmar
> Cc: [email protected]
> Betreff: Re: AW: AW: AW: AW: [mitk-users] Using MITK to apply
> interactively change on transfer function(Opacity + Color) on Volume
> Rendering
> Wichtigkeit: Hoch
> 
> 
> Hi
> 
> I am using VTK 5.0.2, ITK 3.8.0 and Qt 3.3.8 
> 
> I use Microsoft Visual Studio 2005 as Compiler.
> 
> I checked the VTK flags and I followed all the instructions to build
> Solution.
> 
> Cmake has not generated errors and build solution succeeded.
> 
> I am using Windows XP SP2 as operation system.
> 
> Waiting for your feedback and help.
> 
> Thank you in adance
> 
> Best Regards.
> 
> 
> On Mon, 29 Sep 2008 16:48:04 +0200, "Wegner Ingmar"
> <[EMAIL PROTECTED]> wrote:
>> To help you I need some more information:
>> You are using VTK 5.0.2?
>> Which ITK version?
>> Which compiler?
>> QT 3.3.6?
>> Did you check the cmake flags for VTK?
>> See http://www.mitk.org/wiki/Build_requirements.
>> Cmake generated the project with no problems?
>> Which operation system?
>> 
>> Best Regards,
>> Ingmar
>> 
>> 
>> Dipl.-Inform. Med. Ingmar Wegner 
>> DKFZ
>> German Cancer Research Center (Deutsches Krebsforschungszentrum) 
>> Member of the Helmholtz Association
>> Division Medical and Biological Informatics E130
>> Im Neuenheimer Feld 280
>> D-69120 Heidelberg
>> Phone: 49-(0)6221-42-3543
>> Fax: 49-(0)6221-42-2345
>> E-Mail: [EMAIL PROTECTED]
>> Web: www.dkfz.de
>> 
>> Confidentiality Note: This message is intended only for the use of the
>> named recipient(s) and may obtain confidential and/or privileged
>> information. If you are not the intended recipient, please contact the
>> sender and delete the message. Any unauthorized use of the information
>> contained in this message is prohibited. 
>> 
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> Gesendet: Montag, 29. September 2008 15:55
>> An: Wegner Ingmar
>> Cc: [email protected]
>> Betreff: Re: AW: AW: AW: [mitk-users] Using MITK to apply interactively
>> change on transfer function(Opacity + Color) on Volume Rendering
>> Wichtigkeit: Hoch
>> 
>> 
>> 
>> Hi
>> 
>> I compiled the the current version of the svn repository.
>> 
>> I have always an exception and prorgamme exit even if I do not pass the
>> image as an argument.
>> 
>> I did not understand the origin of the error...
>> 
>> Thank ou in advance 
>> 
>> Best Regards.
>> 
>> 
>> 
>> On Mon, 29 Sep 2008 15:35:36 +0200, "Wegner Ingmar"
>> <[EMAIL PROTECTED]> wrote:
>>> Dear Wassim,
>>> the documentation finally is up again.
>>> See http://www.mitk.org/wiki/Documentation for current and older
>> versions
>>> of documentation.
>>> 
>>> For the error, please check http://www.mitk.org/wiki/Development if
> you
>>> have configured everything right.
>>> 
>>> Can you start the application without the argument (image)?
>>> 
>>> You can load the image with the typical load button in the upper left
>> or
>>> by menu / file / open. You can even drag&drop the file into the
>> MainApp.
>>> Did you compile the current version of the svn repository or did you
>> adapt
>>> some functionality classes?
>>> 
>>> Best Regards,
>>> Ingmar
>>> 
>>> 
>>> 
>>> Dipl.-Inform. Med. Ingmar Wegner 
>>> DKFZ
>>> German Cancer Research Center (Deutsches Krebsforschungszentrum) 
>>> Member of the Helmholtz Association
>>> Division Medical and Biological Informatics E130
>>> Im Neuenheimer Feld 280
>>> D-69120 Heidelberg
>>> Phone: 49-(0)6221-42-3543
>>> Fax: 49-(0)6221-42-2345
>>> E-Mail: [EMAIL PROTECTED]
>>> Web: www.dkfz.de
>>> 
>>> Confidentiality Note: This message is intended only for the use of the
>>> named recipient(s) and may obtain confidential and/or privileged
>>> information. If you are not the intended recipient, please contact the
>>> sender and delete the message. Any unauthorized use of the information
>>> contained in this message is prohibited. 
>>> 
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>> Gesendet: Montag, 29. September 2008 11:45
>>> An: Wegner Ingmar
>>> Cc: [email protected]
>>> Betreff: Re: AW: AW: [mitk-users] Using MITK to apply interactively
>> change
>>> on transfer function(Opacity + Color) on Volume Rendering
>>> Wichtigkeit: Hoch
>>> 
>>> 
>>> Dear
>>> 
>>> Thank you for your Help.
>>>  
>>> I tried to execute  MainApp.exe passing   Pic3D.pic.gz  as parameter
>> but
>>> I
>>> have always an exception and prorgamme  exit.
>>> 
>>> I tried to debug it ==> the problem was  in the procedure SampleApp:
>>> InitializeFunctionality ()  when it added dialog bars.
>>> 
>>> How to solve this problem.
>>> 
>>> Thank you in advance
>>> 
>>> Regards. 
>>> 
>>> 
>>> On Fri, 26 Sep 2008 16:00:15 +0200, "Wegner Ingmar"
>>> <[EMAIL PROTECTED]> wrote:
>>>> Hi Wassim,
>>>> sorry, the link for the documentation and tutorial is currently
>> broken.
>>>> There you could see, how to activate and start the functionalities.
>>>> 
>>>> For so long, use cmake to create your makefile or projectfile. There
>>> you
>>>> can activate QmitkVolumeVisualisation. After compiling the mitk
> source
>>>> code, you can start the MainApp in the build directory
>>>> <binary-files-directory>/mitk/bin/MainApp under gcc and
>>>> <binary-files-directory>/mitk/bin/release/debug/MainApp.exe on Win32
>>>> systems.
>>>> 
>>>> In the applcation, load an Image such as
>>>> <source-files-directory>/mitk/Testing/Data/Pic3D.pic.gz
>>>> Then click the icon for VolumeVisualization (stay with the mouse over
>>> the
>>>> icon to get the name / the icon shows three cubes (green, red,
>> orange).
>>>> Then check the checkbox volume rendering in the control-section of
> the
>>>> functionality (on the right).
>>>> It takes a second to create a default lookup-table for opacity and
>>> color.
>>>> 
>>>> In the lower right, you see the volume-renderes image. You can
>>> deactivate
>>>> the slices by clicking the green - red icon in the upper-middle; then
>>> you
>>>> see the whole volume-rendered image.
>>>> 
>>>> In the control section, you see a histogram-widget (scalar opacity;
>>> blue)
>>>> and a line, which you can adapt by mouse-clicking. Add new points by
>>>> shift-left-mouse-click. There you get your desired lookup-table for
>>>> opacity, color (section below) and even gradient.
>>>> 
>>>> 
>>>> Best Regards and welcome to the MITK community,
>>>> Ingmar
>>>> 
>>>> 
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>> Gesendet: Freitag, 26. September 2008 13:43
>>>> An: Wegner Ingmar
>>>> Cc: [email protected]
>>>> Betreff: Re: AW: [mitk-users] Using MITK to apply interactively
> change
>>> on
>>>> transfer function(Opacity + Color) on Volume Rendering
>>>> Wichtigkeit: Hoch
>>>> 
>>>> 
>>>> Hi
>>>> 
>>>> I have great difficulties with the use of MITk especially
>>>> QmitkVolumeVisualization. 
>>>> 
>>>> I'am starting With MITK so please help me.
>>>> 
>>>> I'll let the migration of QmitkVolumeVisualization control to Qt4 for
>>>> later. I downgrade momentarily to Qt3  
>>>> 
>>>> I need to understand how I can use it !!!! Should I integer it in a
> Qt
>>>> widget?
>>>> 
>>>> What are the steps  To display a Volume and apply interactively
> change
>>> on
>>>> transfer function with this component ?
>>>> 
>>>> I have not found documentaion that explains how to integrate or use
>>> this
>>>> component ... :-(
>>>> 
>>>> Can you give me a piece of code? I would be very grateful ...
>>>> 
>>>> Waiting for your feedback and help.
>>>> 
>>>> Regards.
>>>>  
>>>> 
>>>> On Thu, 25 Sep 2008 18:20:23 +0200, "Wegner Ingmar"
>>>> <[EMAIL PROTECTED]> wrote:
>>>>> Hi Wassim,
>>>>> 
>>>>> we are currently in a "pre-QT4-phase", meaning that we will soon (~2
>>>>> month?) start to implement in QT4 only. 
>>>>> We have several classes already written in QT4 ( see QT4 folders in
>>>> mitk
>>>>> source tree) but it will need more time.
>>>>> 
>>>>>> How you can  I proceed to port this functionality to Qt4?
>>>>>> Do you have an example (even written in Qt3) that uses this
>>>>> functionality?
>>>>> 
>>>>> See the functionality
> mitk\QFunctionalities\QmitkVolumeVisualization.
>>>> It
>>>>> is written for QT3.x.
>>>>> An example of how QT4 funcktionalities will be written in future can
>>> be
>>>>> seen in mitk\Q4Applications\Tutorial 
>>>>> 
>>>>>>I did not understand how I can use "Volume Visualization Controls" 
>>>>>>independently of Version of Qt. Can you explain ne please ????
>>>>> 
>>>>> In general MITK is GUI-independent. Sources, filters and mappers
> etc.
>>>> on
>>>>> top of ITK and VTK. Classes are marked with mitk-prefix.
>>>>> Then we have a lot of classes written for QT3 (Qmitk-prefix), some
>> for
>>>> QT4
>>>>> (will be extended) and even a few on Fltk to create an application.
>>>>> In future WXWidgets will be added from external developers of the
>> MITK
>>>>> community (!very nice!, thanks), as I have heard. 
>>>>> 
>>>>> Best Regards,
>>>>> Ingmar
>>>>> 
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>>> Gesendet: Donnerstag, 25. September 2008 15:11
>>>>> An: Wegner Ingmar
>>>>> Cc: [email protected]
>>>>> Betreff: Re: [mitk-users] Using MITK to apply interactively change
> on
>>>>> transfer function(Opacity + Color) on Volume Rendering
>>>>> Wichtigkeit: Hoch
>>>>> 
>>>>> 
>>>>> Hi
>>>>> 
>>>>> Thank you very very much for your help.
>>>>> 
>>>>> I can't downgrade to Qt3.6 because I have a project in which I am
>>> using
>>>>> Qt4.
>>>>> 
>>>>> How you can  I proceed to port this functionality to Qt4?
>>>>> 
>>>>> Do you have an example (even written in Qt3) that uses this
>>>>> functionality?
>>>>> 
>>>>> I did not understand how I can use "Volume Visualization Controls" 
>>>>> independently of Version of Qt. Can you explain ne please ????
>>>>> 
>>>>> Waiting for your feedback and help.
>>>>> 
>>>>> Regards.
>>>>> 
>>>>> On Wed, 24 Sep 2008 17:58:16 +0200, "Wegner Ingmar"
>>>>> <[EMAIL PROTECTED]> wrote:
>>>>>> Hi Wassim,
>>>>>> if you would downgrade to Qt3.6 you could use the
>> VolumeVisualization
>>>>>> functionality, which does exactly what you have described. 
>>>>>> You can also use the QT/Win free library mentioned at
>>>>>> http://www.mitk.org/wiki/Build_requirements
>>>>>> 
>>>>>> As far as I know, the functionality is not yet ported to QT4. But
> if
>>>>> you
>>>>>> want to port it you are more than welcome to do so and to provide
>> the
>>>>> code
>>>>>> for the others. If you know QT4.0 it should not be too much work. 
>>>>>> 
>>>>>> Best regards,
>>>>>> Ingmar
>>>>>> 
>>>>>> 
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>>>>>> Gesendet: Mittwoch, 24. September 2008 14:36
>>>>>> An: [email protected]
>>>>>> Betreff: [mitk-users] Using MITK to apply interactively change on
>>>>> transfer
>>>>>> function(Opacity + Color) on Volume Rendering
>>>>>> Wichtigkeit: Hoch
>>>>>> 
>>>>>> 
>>>>>> Dear
>>>>>> 
>>>>>> I'am using VTK 5.0.2 and Qt 4.3.1  for Volume Rendering.
>>>>>> 
>>>>>> I want to  use MITK to apply interactively change on transfer
>>>>>> function(Opacity + Color).
>>>>>> 
>>>>>> VTK doesn't offers methode to do this kind of interaction on Volume
>>>>>> Rendering.
>>>>>> 
>>>>>> What I want is interact with the volume (to disappear/ display
> parts
>>>> of
>>>>>> volume: bones, vessels ...) by varying the functions of transfer.
>>>>>> 
>>>>>> Is it possible using MITK  + VTK 5.0.2 and Qt 4.3.1 ?
>>>>>> 
>>>>>> If it is yes so :
>>>>>> 
>>>>>>       1) How can i use MITK to do this ? 
>>>>>> 
>>>>>>       2) Is there an example that I can follow because I'm starting
>>>>> with
>>>>>> MITK (I did not find in the tutorial of MITK  an example like what
>>> I'm
>>>>>> looking for).
>>>>>> 
>>>>>> I have already compiled MITK using Qt 4 as GUI + VTK 5.0.2 and ITK
>>>>> 3.8.0
>>>>> .
>>>>>>  
>>>>>>  
>>>>>> Waiting for your feedback and help.
>>>>>> 
>>>>>> I'am on a trouble so please Help.
>>>>>> 
>>>>>> Regards.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>
>>>>>
>>>>
>>>
>>
> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great
>>>>>> prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>> the
>>>>>> world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> mitk-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>>>> 
>>>>> 
>>>>>
>>>>
>>>
>>
> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>> great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
> the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> mitk-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to