<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Mon, Sep 27, 2010 at 9:30 PM, czbebe <span dir="ltr"><<a href="mailto:oka@bpe.es.osaka-u.ac.jp">oka@bpe.es.osaka-u.ac.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Dear David,<br>
<br>
class MouseInteractorStyle<br>
------<br>
vtkSmartPointer<vtkUnstructuredGrid> Data;<br>
//vtkSmartPointer<vtkPolyData> Data;<br>
<br>
main<br>
vtkSmartPointer<vtkUnstructuredGrid> ug =<br>
vtkSmartPointer<vtkUnstructuredGrid>::New();<br>
------<br>
style1->Data = ug;<br>
<br>
is all right. I can do it.<br>
If next cell is selected, previous cell highlight disappeared.<br>
I want to left it highlighted and also pick next time, want<br>
to erase it.<br>
Is it possible?<br>
<br>
Best regards,<br>
<br>
Oka<br><br></blockquote><div><br></div><div>Sure, use a vtkAppendFilter to append the output of the selection filter to the existing highlighted cells rather than replace them: </div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/AppendFilter">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/AppendFilter</a><br clear="all">
<br></div><div class="gmail_quote"><div>David </div></div>