Using pqPipelineSource::<a class="el" href="http://www.paraview.org/ParaView3/Doc/Nightly/html/classpqPipelineSource.html#59fca04da90eff75f73e09be28c20584">getRepresentation</a> (<a class="el" href="http://www.paraview.org/ParaView3/Doc/Nightly/html/classpqView.html">pqView</a> *view) to access the pqDataRepresentation for the source in a particular view as follows:<br>
<br>pqDataRepresentation* repr = source->getRepresentation(view);<br>if (repr)<br> {<br> vtkSMPropertyHelper(repr->getProxy(), "Representation").Set(3); <br> /*<br> Where: 0 = Points, 1 = Wireframe, 2 = Surface, 3 = Outline, 4 = Volume, 5 = Surface with edges.<br>
*/<br> repr->getProxy()->UpdateVTKObjects();<br> }<br><br><br><br><div class="gmail_quote">On Tue, Jun 16, 2009 at 6:06 PM, Juan Fernando Duque Lombana <span dir="ltr"><<a href="mailto:jduquelo@eafit.edu.co">jduquelo@eafit.edu.co</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Good day guys,<br>
<br>
This is a fair simple (I think) question but still I haven't found a<br>
way to perform this via c++.<br>
<br>
Inside my code I have access to all my "pqPipelineSource" s, and yet<br>
I haven't found a way to change the pipeline representation (is it<br>
style?) to outline or surface like one can using the GUI.<br>
Does anyone has any idea?<br>
<br>
Thanks in advance!<br>
<br>
<br>
... Juan Fernando Duque Lombana.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>