<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [vtkusers] deriving my own class from vtkActor</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I ran into the same problem, I derived my class from vtkOpenGLActor instead and it worked fine.</FONT>
</P>
<P><FONT SIZE=2>Ron Jerome</FONT>
<BR><FONT SIZE=2>Institute for Chemical Process and </FONT>
<BR><FONT SIZE=2>Environmental Technology</FONT>
<BR><FONT SIZE=2>National Research Council Canada</FONT>
<BR><FONT SIZE=2>613-993-5346</FONT>
</P>
<BR>
<P><FONT SIZE=2>>-----Original Message-----</FONT>
<BR><FONT SIZE=2>>From: Steffen Oeltze [<A HREF="mailto:Steffen.Oeltze@Student.Uni-Magdeburg.DE">mailto:Steffen.Oeltze@Student.Uni-Magdeburg.DE</A>]</FONT>
<BR><FONT SIZE=2>>Sent: Wednesday, October 09, 2002 6:00 AM</FONT>
<BR><FONT SIZE=2>>To: Vtkusers (E-mail)</FONT>
<BR><FONT SIZE=2>>Subject: [vtkusers] deriving my own class from vtkActor</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Dear VTK-users,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>I have tried to derive my own class from vtkActor using the following</FONT>
<BR><FONT SIZE=2>>code:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>class FIB_TRACK : public vtkActor</FONT>
<BR><FONT SIZE=2>>{</FONT>
<BR><FONT SIZE=2>>public:</FONT>
<BR><FONT SIZE=2>> FIB_TRACK(double [3], double [3], bool);</FONT>
<BR><FONT SIZE=2>> ~FIB_TRACK();</FONT>
<BR><FONT SIZE=2>>....</FONT>
<BR><FONT SIZE=2>>}</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>For creating a new object I use:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>FIB_TRACK *newAct = new FIB_TRACK(seedpoint, dims, true);</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Then, I construct the rendering pipeline, add the actor to the</FONT>
<BR><FONT SIZE=2>>renderer and render the window but nothing happens. Is there</FONT>
<BR><FONT SIZE=2>>anyone who can help me ?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Regards,</FONT>
<BR><FONT SIZE=2>>Steffen</FONT>
<BR><FONT SIZE=2>>_______________________________________________</FONT>
<BR><FONT SIZE=2>>This is the private VTK discussion list. </FONT>
<BR><FONT SIZE=2>>Please keep messages on-topic. Check the FAQ at: </FONT>
<BR><FONT SIZE=2>><<A HREF="http://public.kitware.com/cgi-bin/vtkfaq" TARGET="_blank">http://public.kitware.com/cgi-bin/vtkfaq</A>></FONT>
<BR><FONT SIZE=2>>Follow this link to </FONT>
<BR><FONT SIZE=2>>subscribe/unsubscribe:</FONT>
<BR><FONT SIZE=2>><A HREF="http://public.kitware.com/mailman/listinfo/vtkusers" TARGET="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</A></FONT>
<BR><FONT SIZE=2>></FONT>
</P>
</BODY>
</HTML>