<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks again with this,<br>
<br>
I got around to trying out vtkGlyph3DMapper, in my opinion this is
the best way to perform this task and the interaction is much more
fluid.<br>
<br>
Although if you want to represent cubes of different sizes at the
same, it looks like you need to make as many vtkPoint arrays,
vtkGlyph3DMapper's and vtkActors as there are cube sizes, but this
is no problem.<br>
<br>
Cheers<br>
Alex<br>
<br>
On 2/7/2012 7:07 PM, David Doria wrote:
<blockquote
cite="mid:CABDpjTknm_c0dGPWRKRXzVspEev2x8jVRzuDPbkNW1gvvHo+ug@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Tue, Feb 7, 2012 at 12:01 PM, Alex
Southern <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mrapsouthern@gmail.com">mrapsouthern@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 bgcolor="#FFFFFF" text="#000000"> I made the changes
using the vtkAppendPolyData approach, see code below.<br>
<br>
This did improve the interaction alot, but it was still a
little slugish. Is this because I implemented badly?<br>
<br>
Thanks<br>
Alex<br>
</div>
</blockquote>
<div><br>
</div>
It looks fine. I'd try one of the glyph methods that was
suggested to compare the speed. Here is an example of David
DeMarle's suggestion:</div>
<div class="gmail_quote">
<br>
</div>
<div class="gmail_quote"><a moz-do-not-send="true"
href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph3D">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph3D</a></div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">
And Bryn's suggestion:</div>
<div class="gmail_quote"><a moz-do-not-send="true"
href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Glyph3DMapper">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Glyph3DMapper</a></div>
<div class="gmail_quote">
<br>
<div>David </div>
</div>
</blockquote>
<br>
</body>
</html>