[vtkusers] vtkPolyDataMapper::New() returns null for the VTK nightly build

Dan Lipsa dan.r.lipsa at gmail.com
Wed Nov 21 10:25:20 EST 2012


Hi all,
I downloaded the VTK git nightly build today and build it and linked it
with my program without problems.

I am using my own interactor style derived from
vtkInteractorStyleTrackballCamera.
The creation of vtkInteractorStyle fails because vtkPolyDataMapper::New();
returns null.

Does anyone have any suggestions about how to fix this?

Thank you very much,
Dan

What follows is the call stack when the segmentation fault occured.

0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle
(this=0x246ff10) at
/home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64
(gdb) bt
#0  0x00007ffff2323b99 in vtkInteractorStyle::vtkInteractorStyle
(this=0x246ff10) at
/home/dlipsa/external/VTK/Rendering/Core/vtkInteractorStyle.cxx:64
#1  0x00007ffff260614a in
vtkInteractorStyleTrackballCamera::vtkInteractorStyleTrackballCamera
(this=0x246ff10) at
/home/dlipsa/external/VTK/Interaction/Style/vtkInteractorStyleTrackballCamera.cxx:28
#2  0x00000000004ea5c7 in FoamvisInteractorStyle::FoamvisInteractorStyle
(this=0x246ff10) at FoamvisInteractorStyle.cpp:16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/00b16c7e/attachment.htm>


More information about the vtkusers mailing list