<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">My instinct would be to iterate over the list and dynamic_cast&lt;vtkCubeAxesActor*&gt; each entry until one returned non-NULL.</div>
<div class="im"><br></div></blockquote><div><br></div><div>What Ken said would probably work. You could also use GetClassName and do a string comparison, like this:</div><a href="http://www.vtk.org/Wiki/VTK/Examples/DetermineActorType">http://www.vtk.org/Wiki/VTK/Examples/DetermineActorType</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">You&#39;ve got to be careful though - in this case I would have expected the first actor to be a &quot;vtkActor&quot;, but it is really a vtkOpenGLActor.</div><div class="gmail_quote">
<br clear="all">Thanks,<br><br>David</div>