<div dir="ltr"><div>Hi,<br><br></div><div>Basically, I have multiple actors in my render window, and so far if I rotate one actor all the actors move with it as well.<br><br></div><div>I want to interact with multiple objects independently. For example, 
if I have 5 objects in a render window, I want to only move, rotate and 
interact with the one selected object; whilst the rest of the 4 objects 
stay where it is. 

<p>At the moment, the camera is doing the magic and as I rotate the 
independent object, other objects move at the same time and I don't want
 that to happen. </p>

<p>I also want to store all the objects in memory.</p>

<p>I intend to use C++.</p>

<p>This is my sort of class structure...</p></div><div><pre style class=""><code><span class="">class</span><span class=""> </span><span class="">ScreenObjects</span><span class="">
</span><span class="">{</span><span class="">
   vtkActor </span><span class="">(</span><span class="">LinkedList</span><span class="">);</span><span class=""> </span><span class="">// I intend on using a linkedlist to store all the actors</span><span class="">

   </span><span class="">public</span><span class="">:</span><span class="">
   </span><span class="">ScreenObjects</span><span class="">();</span><span class=""> </span><span class="">// Constructor. Initializes vtkActor to null.</span><span class="">
   </span><span class="">void</span><span class=""> readSTLFile</span><span class="">();</span><span class=""> </span><span class="">// Reads the STL File</span><span class="">
   </span><span class="">bool</span><span class=""> setObject</span><span class="">();</span><span class=""> </span><span class="">// Sets current object, so you can only interact with the selected object</span><span class="">
</span><span class="">}<br><br></span></code></pre><p>I am missing quite a lot of functions and detail in my class, as I 
don't know what else to include that would be of use. I was also 
thinking of joining two objects together, but again, I don't know how to
 incorporate that in my class; any information on that would be 
appreciated.</p>

Would really appreciate it if I could be given ideas.<pre style class=""><br></pre></div></div>