<div dir="ltr">Why not a "has a" pattern? Ie give the vtkAssembly an optional Camera or Prop or what not ivar. If present, use it to make it act the way you want.<div class="gmail_extra"><br clear="all"><div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br><div class="gmail_quote">On Thu, Mar 3, 2016 at 4:16 AM, Petar Petrov <span dir="ltr"><<a href="mailto:pip010@gmail.com" target="_blank">pip010@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello community,</div><div><br></div><div>quick question about redesign of vtkAssembly:</div><div>A while back someone reported that vtkFollowers added to vtkAssembly loose their main feature, namely facing the camera at all times.</div><div>However, this to be solved a major? redesign is needeed:</div><div>vtkAssembly to inherit from vtkFollower and not vtkProp, so one can pass camera information to vtkAssembly via SetCamera method.</div><div><br></div><div>Any idea why that is not the case? Is it trivial or there is more to it?</div><div><br></div><div>at that point I am faced with 2 options, either fix vtkAssembly or drop its use and replace it with my own reinvent the wheel when it comes to composite 3D objects in vtk.</div><div><br></div><div>Cheers,</div><div>petar</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div></div>