[vtkusers] Link Error During Subclassing

Daniel C Go godach at juno.com
Sun May 25 02:20:04 EDT 2003


Hello,

For some reason unclear to me, it seems I have fixed the problem by
adding this line
virtual const char *GetClassName() const {return "vtkPickCommand";}; 
to my subclass. I should have mentioned that I am using wxWindows as well
(with Mathieu Malaterre's wxVTKRenderWindowInteractor)...

BTW, in Cone6.cxx in the tutorial, the callback->Delete() should either
be called after the deletion of the caller object, or should not be
called at all, as implied in the user's guide (p.31). That seems to
eliminate an error when closing the program on Windows (VC++ 6).

Thanks!

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030525/2a1d7e31/attachment.htm>


More information about the vtkusers mailing list