Hey all!

I’m having issues applying the milk::VectorImageMapper2D. Setting the mapper on 
a node with a vector image crashes with a segfault:

Program received signal SIGSEGV, Segmentation fault.
0x0000000112dd313e in vtkGlyph3D::RequestData(vtkInformation*, 
vtkInformationVector**, vtkInformationVector*) () from 
libvtkFiltersCore-6.1.1.dylib

Full stack trace at end of mail. Usage is pretty straight forward, so i don’t 
think there's much i can do wrong:

if(img)
    if(img->GetPixelType().GetNumberOfComponents() > 1)
        node->SetMapper(1, mitk::VectorImageMapper2D::New());

Im on 2014.10. Any ideas or workarounds?

Cheers,
Thomas

vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, 
vtkInformationVector*)
vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, 
vtkInformationVector*)
vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, 
vtkInformationVector**, vtkInformationVector*)
vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, 
vtkInformationVector**, vtkInformationVector*)
vtkStreamingDemandDrivenPipeline::Update(int)
mitk::VectorImageMapper2D::Paint(mitk::BaseRenderer*)
mitk::GLMapper::MitkRender(mitk::BaseRenderer*, 
mitk::VtkPropRenderer::RenderType)
mitk::VtkPropRenderer::Render(mitk::VtkPropRenderer::RenderType)
vtkRenderer::UpdateGeometry()
vtkOpenGLRenderer::DeviceRender()
vtkRenderer::Render()
vtkRendererCollection::Render()
vtkRenderWindow::DoStereoRender()
vtkRenderWindow::Render()
mitk::RenderingManager::ExecutePendingRequests()
QmitkRenderingManager::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to