<div class="gmail_quote">On Mon, Feb 8, 2010 at 1:16 PM, Banksie <span dir="ltr"><<a href="mailto:banks@wai.com">banks@wai.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hello again David,<br>
<br>
Thanks for the examples. One question though. I found that I could transform<br>
the data using vtkTransform to vtkTransformPolyDataFilter, then push this to<br>
a vtkMapper and finally to the vtkActor. However, if I'm applying subsequent<br>
flips out of the symmetry, this would lead me to having up to 8 actors on<br>
the screen to cover all aspects of a quarter symmetry model. Is this right?<br>
It seems a little clunky.<br>
<br>
I tried creating a series of vtkTransformPolyDataFilters and adding them to<br>
one vtkMapper, hoping this would do the job, but that didn't seem to work.<br>
<br>
Any thoughts?<br>
<br>
I'm looking for the ability for the user to flip out their data based on the<br>
symmetrical conditions of their model. I can go the multi vtkActor route,<br>
but as mentioned before I think I may be overlooking a simpler way<br>
<br>
Thanks<br>
Robbie<br>
<div class="im"><br></div></blockquote><div><br></div>Robbie,</div><div class="gmail_quote"><br></div><div class="gmail_quote">You can use vtkAppendPolyData (<a href="http://www.vtk.org/Wiki/VTK/Examples/CombinePolydata">http://www.vtk.org/Wiki/VTK/Examples/CombinePolydata</a>) to combine the data sets, then use only one mapper and one actor.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Give it a try and let us know if it works out.</div><div class="gmail_quote"><br clear="all">Thanks,<br><br><div>David</div></div>