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://www.vtk.org/pipermail/vtkusers/attachments/20061003/156fdb10/attachment.htm>