[vtkusers] deriving my own class from vtkActor
Jerome, Ron
Ron.Jerome at nrc.ca
Wed Oct 9 09:29:16 EDT 2002
I ran into the same problem, I derived my class from vtkOpenGLActor instead
and it worked fine.
Ron Jerome
Institute for Chemical Process and
Environmental Technology
National Research Council Canada
613-993-5346
>-----Original Message-----
>From: Steffen Oeltze [mailto:Steffen.Oeltze at Student.Uni-Magdeburg.DE]
>Sent: Wednesday, October 09, 2002 6:00 AM
>To: Vtkusers (E-mail)
>Subject: [vtkusers] deriving my own class from vtkActor
>
>
>Dear VTK-users,
>
>I have tried to derive my own class from vtkActor using the following
>code:
>
>class FIB_TRACK : public vtkActor
>{
>public:
> FIB_TRACK(double [3], double [3], bool);
> ~FIB_TRACK();
>....
>}
>
>For creating a new object I use:
>
>FIB_TRACK *newAct = new FIB_TRACK(seedpoint, dims, true);
>
>Then, I construct the rendering pipeline, add the actor to the
>renderer and render the window but nothing happens. Is there
>anyone who can help me ?
>
>Regards,
>Steffen
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to
>subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021009/8182002d/attachment.htm>
More information about the vtkusers
mailing list