vtkObject superclass for _all_ VTK-classes?

Vetle Roeim vetler at ifi.uio.no
Fri Apr 28 07:49:24 EDT 2000


on 2000-04-28, John Biddiscombe wrote:

> >as far as I can tell, it is the base class for ALL VTK classes, at least
> >for all classes used in a vis. pipeline.
> 
> The only classes I've noticed recently that aren't derived from vtkObject
> are things like vtkTimeStamp and other small helper classes, and as you
> correctly state, they're not part of the "main" pipeline.
>
> >is this true? if so, what guarantee (if any) do I have that this will
> >continue to be true in the future?
> 
> There's no explicit guarantee, but there is an implicit guarantee!
> since all the modifiedtime/RTTI/Debug/delete handlers are in vtkObject,
> there is almost zero chance (or need?) of the architecture being changed
> from vtkObject upwards.  

thanks.

well.. for now I'll just assume all classes used in the pipeline inherit
from vtkObject, and just postpone dealing with the exceptions, or throw in
a little error message or something.


vr


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list