[vtk-developers] VTK Modular: vtkTextMapper::New returns null

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 27 14:45:36 EDT 2012


I'm trying to track down some VTK Wiki examples failures.  This line:
  vtkSmartPointer<vtkSliderRepresentation2D> sliderRep =
    vtkSmartPointer<vtkSliderRepresentation2D>::New();
crashes.
gdb shows that in vtkSliderRepresentation2D.cxx
this->LabelMapper = vtkTextMapper::New();
returns 0.

Seems that the factory can't find a proper text mapper. However, the
VTK build itself passes tests that use vtkSliderRepresentation2D.

Bill



More information about the vtk-developers mailing list