<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Mon, Jun 28, 2010 at 7:39 PM, Haider Syed <span dir="ltr"><<a href="mailto:hsyed88@yahoo.com">hsyed88@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">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....<br>
<br>Thanks,<br>Bob<br></td></tr></tbody></table><br><br></blockquote><div><br></div><div>These tutorials are excellent:</div><div> </div><a href="http://www.cplusplus.com/doc/tutorial/inheritance/">http://www.cplusplus.com/doc/tutorial/inheritance/</a></div>
<div class="gmail_quote"><a href="http://www.cplusplus.com/doc/tutorial/inheritance/"></a><a href="http://www.cplusplus.com/doc/tutorial/polymorphism/">http://www.cplusplus.com/doc/tutorial/polymorphism/</a></div><div class="gmail_quote">
<br></div><div class="gmail_quote"><a href="http://www.cplusplus.com/doc/tutorial/polymorphism/"></a>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).</div>
<div class="gmail_quote"><br clear="all">Good luck,<br><br>David<br><div><br></div></div>