<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unicode">
<META content="MSHTML 5.00.3813.800" name=GENERATOR></HEAD>
<BODY>
<P><FONT face=Arial size=2>Hi,</FONT></P>
<P><FONT face=Arial size=2>How does one derive a custom Actor from
vtkActor?</FONT></P>
<P><FONT face=Arial size=2>At present i'm following the code provided in
vtkOpenGLActor. The changes i've made was only to the name, so the
vtkOpenGLActor becomes vtkMyActor. I'm using it locally within my application
and so removed the library export macro. Everything compiles fine and the
instantiated vtkMyActor registers the correct mapper and such like. However, it
can't be rendered. When added to the renderer (i.e.
renderer->AddActor(vtkMyActor*)), an error occurs. The error
reads:</FONT></P>
<P><FONT face=Arial size=2>ERROR: In .\vtkAlgorithm.cxx, line 510</FONT></P>
<P><FONT face=Arial size=2>vtkOpenGLPolyDataMapper (02A90740):
FillOutputPortInformation is not implemented.</FONT></P>
<P><FONT face=Arial size=2>Am i missing something? Any help or ideas wil be most
appreciated.</FONT></P>
<P><FONT face=Arial size=2>Thanks in advance,</FONT></P>
<P><FONT face=Arial size=2>Theo.</FONT></P>
<P> </P></BODY></HTML>