[vtkusers] simple question

David Doria daviddoria+vtk at gmail.com
Mon Jun 28 20:25:06 EDT 2010


On Mon, Jun 28, 2010 at 7:39 PM, Haider Syed <hsyed88 at yahoo.com> wrote:

> I was just wondering if someone could briefly explain the concept behind
> abstract and virtual classes in VTK.  I'm quite new to OOP and am having
> trouble understanding these two terms....
>
> Thanks,
> Bob
>
>
>
These tutorials are excellent:

http://www.cplusplus.com/doc/tutorial/inheritance/
<http://www.cplusplus.com/doc/tutorial/inheritance/>
http://www.cplusplus.com/doc/tutorial/polymorphism/

<http://www.cplusplus.com/doc/tutorial/polymorphism/>There is some
additional magic to properly use inheritance in VTK, but if you are not
writing classes you won't need to worry about it. The above tutorials should
get you to understand what is going on to use VTK classes (why you can't
instantiate abstract classes, etc).

Good luck,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100628/35f0dbc8/attachment.htm>


More information about the vtkusers mailing list