<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi all, Is it possible to extend a mapper in Python VTK? I did a
simple test, extending vtkPolyDataMapper, overriding RenderPiece
with a "1/0" statement and a call to the real RenderPiece, and
replacing in my code the real mapper with this fake mapper. It did
nothing. It still draws what it was drawing before my test without
failing. I did the same in a C++ project and it's working perfectly.
I also tested extending vtkOpenGLPolyDataMapper, just in case. Still
nothing.<br>
<br>
So, is there any restrictions to overriding vtk classes in Python
VTK? Thanks for your time.<br>
<br>
<div class="moz-signature">-- <br>
<table cellpadding="2" cellspacing="2" width="218" border="0"
height="96">
<tbody>
<tr>
<td valign="middle"> <a href="http://imeka.ca/"> <img
alt="Logo Imeka"
src="cid:part1.07020504.06010906@imeka.ca" width="66"
height="67"> </a> </td>
<td valign="top"> Nil Goyette, M.Sc.<br>
<a href="http://imeka.ca/">www.imeka.ca</a><br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>