One way to do it would be ato make the constructor protected, so that only derived classes can actually create the object. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://public.kitware.com/pipermail/vtkusers/attachments/20061003/156fdb10/attachment.html