[Paraview-developers] Updating view properties

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Feb 10 16:28:34 EST 2011


> No. Interaction (panning/zooming) on the client does not result in Render()
> being called on either the client or the servers.

Argh..that's what I feared. Okay next step. So you have a
vtkPVContextView subclass right? In that subclass, add an observer to
the vtkContextView's EndEvent (or whoever is firing that event). In
the callback, call:

  vtkMultiProcessStream stream;
  stream << this->Identifier << static_cast<int>(blockindex);
  this->SynchronizedWindows->TriggerRMI(stream, SOME_TAG);

This should result in the server-side processes reporting that an
un-handled RMI was invoked.

If this works correctly, then you can add code to handle this RMI on
the server-side and in that you can change the ivar on your
vtkPVContextView subclass.

Utkarsh


More information about the Paraview-developers mailing list