[Paraview] Servermanager and widgets
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Wed Apr 6 09:24:41 EDT 2011
Please CC the mailing list so others can participate as well.
You may not want to re-build the streamline as the user interacts
since streamtracing may not be a fast operation. You may want to
update the seeds on "EndInteraction" event.
Utkarsh
On Wed, Apr 6, 2011 at 9:14 AM, Atanas Atanasov <atanasoa at in.tum.de> wrote:
> Hello,
> thank you for your answer. The seeding part was successful. I am using the
> ArbitraryStreamTracer proxy together with LineSource. In my observer i set
> the points for the line source. If i try to update the lineSource-proxy, the
> application is blocked (inside of the vtkDistributedStreamTracer) To make it
> run , i have added a stillrender statement in the observer. This results in
> not so good performance during the movement of the LineWidget. How can i
> solve this issue?
> Regards,
> A.Atanasov
> On 04/05/2011 05:35 PM, Utkarsh Ayachit wrote:
>>
>> In that case you can create the one the representation proxies defined
>> in 3d_widgets.xml and add those to the view. The properties on the
>> proxies are modified as use interacts with them (look at
>> vtkSMNewWidgetRepresentationProxy::ExecuteEvent). You can add
>> observers to listen to those property modifications to update the
>> properties on the source used to generate the seed points.
>>
>> Utkarsh
>>
>> On Tue, Apr 5, 2011 at 11:31 AM, Atanas Atanasov<atanasoa at in.tum.de>
>> wrote:
>>>
>>> Hello,
>>> Thank yout for your answer. it is a pure servermanager application.
>>> Regards,
>>> A.Atanasov
>>> On 04/05/2011 05:25 PM, Utkarsh Ayachit wrote:
>>>>
>>>> Is this a pure ServerManager application or are you using the
>>>> ParaView' Qt-based API? If the latter, I posted a sample demonstrating
>>>> the use of 3D widgets in custom applications a while ago. Refer to
>>>> thread http://www.mail-archive.com/paraview@paraview.org/msg11226.html
>>>> for details.
>>>>
>>>> Utkarsh
>>>>
>>>> On Tue, Apr 5, 2011 at 11:07 AM, Atanas Atanasov<atanasoa at in.tum.de>
>>>> wrote:
>>>>>
>>>>> Hello,
>>>>> i want to create a line widget to seed points for the stream tracer
>>>>> filter.
>>>>> How can i do this with SMProxy concept from c++?
>>>>> Where can i find some examples?
>>>>> Regards,
>>>>> A.Atanasov
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>
>
>
More information about the ParaView
mailing list