<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 15, 2016 at 5:55 AM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><br></div></div>Forgive my ignorance, but is this behavior something that is essential to keep? Or was this added just as a convenience, so that instances of the class can be passed to VTK methods that expect an interactor?<br></div></div></div></div></div></blockquote><div><br></div><div>The name of the class is "QVTKRenderWindowInteractor" which is a contract with the user that the class can be used where a vtkRenderWindowInteractor can be used.  The author of QVTKRenderWindowInteractor must have wanted it to appear as if it was subclass of vtkRenderWindowInteractor, but didn't want to use multiple inheritance.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>In short, I'd like to know if I can remove this whole thing, and if so, what the consequences would be.<br></div></div></div></div></div></blockquote><div><br></div><div>Removing it would break some people's apps.  <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>My goal is to have something that feels more like a Qt API for this class.. But since I'm new to VTK, and still haven't quite figured out how the class is to be used in certain situations (see my post about using it with context views for instance), I'd appreciate some guidance.<br></div></div></div></blockquote><div><br></div><div>If you're changing the API to have a different feel, then you're writing a new class, so give your new class a new name.</div><div><br></div><div>Cheers,</div><div> - David</div></div></div></div>