[Insight-users] need help with VTKImageExport - more information

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Jul 12 22:04:01 EDT 2005


A print on the object right before the update could have told you that
you were note setting the callbackUserData.

volumeData->SetCallbackUserData( thisBridge->GetCallbackUserData() );

You can omit some of the other callbacks if you like, but not this. 

BTW, youa re taking too much trouble. There is a filter that does this
for you: InsightApplications/Auxillary/vtk/itkImageToVTKImageFilter you
have to copy the filter to your source folder, if you want to use it.

HTH
kk
On Wed, 2005-07-13 at 11:16 +1000, Richard Beare wrote:
> Hi,
> In my previous message I forgot to include the debugger trace produced
> by the crash and that I'm using analyze format images:
> 
> (gdb) where
> #0  0x0000002a97526c14 in
> itk::VTKImageExportBase::PipelineModifiedCallbackFunction () from
> /home/richardb/local/lib/InsightToolkit/libITKBasicFilters.so
> #1  0x0000002a95ea80b4 in vtkImageImport::InvokeUpdateInformationCallbacks ()
>    from /home/richardb/local/lib/vtk/libvtkImaging.so
> #2  0x0000002a95ea7b31 in vtkImageImport::UpdateInformation ()
>    from /home/richardb/local/lib/vtk/libvtkImaging.so
> #3  0x0000002a963e75cf in vtkDataObject::UpdateInformation ()
>    from /home/richardb/local/lib/vtk/libvtkCommon.so
> #4  0x0000002a963e7554 in vtkDataObject::Update ()
>    from /home/richardb/local/lib/vtk/libvtkCommon.so
> #5  0x0000002a964b7f80 in vtkSource::Update ()
>    from /home/richardb/local/lib/vtk/libvtkCommon.so
> #6  0x0000000000435cc7 in volrendVtkApp::importVolume (this=0x57edc0, filename=
>         {static npos = 18446744073709551615, _M_dataplus =
> {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No
> data fields>}, <No data fields>}, _M_p = 0x67a7e8
> "/home/richardb/tmp/010007181.img"}})
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list