[vtkusers] Questions about Volume rendering using QVTKWidget
Yang
kisszy at gmail.com
Wed Mar 18 11:11:54 EDT 2009
I have solved my problems. Because I set render = NULL in my initial
function, it will not work correctly later.
Best,
Yang
2009/3/18 Yang <kisszy at gmail.com>
> Hi,
>
> I found the bugs lies
>
> render->AddVolume( volume );
>
> when execute here, it points to vtkViewPort.cxx and report error
> vtkFiltering.dll.
>
> Any comments on that?
>
>
>
>
> 2009/3/18 Yang <kisszy at gmail.com>
>
>> When running in debug, the VS2008 points to the function of
>> vtkViewPort.cxx :
>>
>> int vtkViewport::HasViewProp(vtkProp *p)
>> {
>> return (p && this->Props->IsItemPresent(p));
>>
>> }
>>
>>
>>
>> 2009/3/18 Yang <kisszy at gmail.com>
>>
>>> BTW: I use MSVC 2008, qt4.4, and VTK nightly.
>>>
>>> 2009/3/18 Yang <kisszy at gmail.com>
>>>
>>> Hi all,
>>>>
>>>> When I use QVTKWidget to try volume rendering .mha file, it can be
>>>> compiled successfully.
>>>>
>>>> But after loading file, do Volume Rendering has problems as following:
>>>>
>>>> First-chance exception at 0x5d0bca97 (vtkFiltering.dll) in XXXX.exe:
>>>> 0xC0000005: Access violation reading location 0x00000048.
>>>> Unhandled exception at 0x5d0bca97 (vtkFiltering.dll) in XXXXX.exe:
>>>> 0xC0000005: Access violation reading location 0x00000048.
>>>>
>>>> Any comments will be appreciate!
>>>>
>>>> Best,
>>>> Daniel
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090318/bb9d203d/attachment.htm>
More information about the vtkusers
mailing list