[vtkusers] crash on setinput
David Brayford
dbrayford at gmail.com
Thu Aug 18 11:01:36 EDT 2011
I am getting the following crash "Unhandled exception at 0x00000000 in
RegTest.exe: 0xC0000005: Access violation." when the SetInput function
is executed. However, the vtkImageData is not null (see code below). I
don't know how to overcome this error and any advice would be greatly
appreciated.
if( !m_DataRepository->GetVtkDRR() )
{
return;
}
vtkSmartPointer<vtkTexture> imageTexture=vtkTexture::New();
imageTexture->SetInput( m_DataRepository->GetVtkDRR() );
David
More information about the vtkusers
mailing list