<div class="gmail_quote">On Sat, Sep 1, 2012 at 8:35 AM, kaouther <span dir="ltr"><<a href="mailto:boutara.kaouther@gmail.com" target="_blank">boutara.kaouther@gmail.com</a>></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<vtkTriangleFilter>::New();<br>
triangleFilter->SetInputConnection(atlas->GetOutputPort());<br>
triangleFilter->Update();<br>
cellPointIds = vtkSmartPointer<vtkIdList>::New();<br>
<br>
atlasMapper = vtkSmartPointer<vtkDataSetMapper>::New();<br>
atlasMapper->SetInputConnection(atlas->GetOutputPort());<br>
atlasActor = vtkSmartPointer<vtkActor>::New();<br>
atlasActor->SetMapper(atlasMapper);<br></blockquote><div> </div><div>That code doesn'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>