<div class="gmail_quote">On Sat, Sep 1, 2012 at 8:35 AM, kaouther <span dir="ltr">&lt;<a href="mailto:boutara.kaouther@gmail.com" target="_blank">boutara.kaouther@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you for your response,<br>
I saved the coordinates of a set of cell in a file and I want to color them<br>
when I load the program again.<br>
<br>
this a piece of code of my code:<br>
<br>
        triangleFilter = vtkSmartPointer&lt;vtkTriangleFilter&gt;::New();<br>
        triangleFilter-&gt;SetInputConnection(atlas-&gt;GetOutputPort());<br>
        triangleFilter-&gt;Update();<br>
        cellPointIds = vtkSmartPointer&lt;vtkIdList&gt;::New();<br>
<br>
        atlasMapper = vtkSmartPointer&lt;vtkDataSetMapper&gt;::New();<br>
        atlasMapper-&gt;SetInputConnection(atlas-&gt;GetOutputPort());<br>
        atlasActor =  vtkSmartPointer&lt;vtkActor&gt;::New();<br>
        atlasActor-&gt;SetMapper(atlasMapper);<br></blockquote><div> </div><div>That code doesn&#39;t seem to be relevant to this problem at all? Please provide the smallest possible, compilable code that demonstrates your problem: (<a href="http://www.vtk.org/Wiki/VTK/MinimalExample">http://www.vtk.org/Wiki/VTK/MinimalExample</a>).</div>
<div><br></div><div>David</div></div>