vtkObject superclass for _all_ VTK-classes?
Ken Martin
ken.martin at kitware.com
Fri Apr 28 09:31:19 EDT 2000
vtkTimeStamp and vtkIndent are not subclasses of vtkObject because they are
ivars of vtkObject. I belive all other objects will be subclasses. The only
reason they wouldn't be is if they are an ivar of vtkObject which leads to
an infinite loop of some sort. Any class which can be instantiated from a
wrapped language (Tcl/Java/Python) must be a subclass of vtkObject so you
are safe to assume future objects will be subclasses as well.
- Ken
> >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?
--------------------------------------------------------------------
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