[Paraview] How to change a pipeline representation to Outline, surface, etc...
Juan Fernando Duque Lombana
jduquelo at eafit.edu.co
Wed Jun 17 10:09:45 EDT 2009
Thank you Utkarsh! This was EXACTLY what I was looking for!
:D
On Wed, Jun 17, 2009 at 7:20 AM, Utkarsh
Ayachit<utkarsh.ayachit at kitware.com> wrote:
> Using pqPipelineSource::getRepresentation (pqView *view) to access the
> pqDataRepresentation for the source in a particular view as follows:
>
> pqDataRepresentation* repr = source->getRepresentation(view);
> if (repr)
> {
> vtkSMPropertyHelper(repr->getProxy(), "Representation").Set(3);
> /*
> Where: 0 = Points, 1 = Wireframe, 2 = Surface, 3 = Outline, 4 = Volume, 5
> = Surface with edges.
> */
> repr->getProxy()->UpdateVTKObjects();
> }
>
>
>
> On Tue, Jun 16, 2009 at 6:06 PM, Juan Fernando Duque Lombana
> <jduquelo at eafit.edu.co> wrote:
>>
>> Good day guys,
>>
>> This is a fair simple (I think) question but still I haven't found a
>> way to perform this via c++.
>>
>> Inside my code I have access to all my "pqPipelineSource" s, and yet
>> I haven't found a way to change the pipeline representation (is it
>> style?) to outline or surface like one can using the GUI.
>> Does anyone has any idea?
>>
>> Thanks in advance!
>>
>>
>> ... Juan Fernando Duque Lombana.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
>
--
... Juan Fernando Duque Lombana.
More information about the ParaView
mailing list