[vtkusers] Tutorial Step1: NotImplementedError
david.gobbi at gmail.com
Thu Jul 30 12:13:20 EDT 2015
The concrete implementation for vtkPolyDataMapper is
vtkOpenGLPolyDataMapper. The NotImplementedError probably means that the
vtkRenderingOpenGLPython.so module is not loading, because it is the module
that contains vtkOpenGLPolyDataMapper.
I cannot be sure why this module is not loading on your system, but you can
try loading it manually from python:
>>> from vtkRenderingOpenGLPython import *
>>> mapper = vtkOpenGLPolyDataMapper()
>>> print mapper.GetClassName()
>>> from vtkRenderingCore import *
>>> mapper2 = vtkPolyDataMapper()
>>> print mapper2.GetClassName()
On Thu, Jul 30, 2015 at 3:58 AM, Darya Yelshyna <darya.yelshyna at gmail.com>
> Hello everyone,
> I am sorry for inconvenience, but I can't execute the tutorial steps
> contained in the Examples folder. I pretend to use python for development
> of a 3D Slicer module. When I run the Cone.py, I get the following error:
> Generic Warning: In
> line 28
> Error: no override found for 'vtkPolyDataMapper'.
> Traceback (most recent call last):
> File "/home/darya/Documents/LiClipse
> Workspace/VTKtutorials/src/Step1.py", line 14, in <module>
> coneMapper = vtk.vtkPolyDataMapper()
> NotImplementedError: no concrete implementation exists for this class
> vtkDebugLeaks has detected LEAKS!
> Class "vtkPolyDataMapper" has 1 instance still around.
> I could not find a solution for this, the only information I found was
> concerning C++ programming.
> Thank you in advance.
> Darya Yelshyna
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers