Utkarsh,

That was exactly what I was looking for! It works perfectly. For future 
reference, at around line 230 of

ParaViewCore/ClientServerCore/Rendering/vtkPVRenderView.cxx

I removed

  window->AddRenderer(this->NonCompositedRenderer);

And added

  vtkMultiProcessController* Controller = 
vtkMultiProcessController::GetGlobalController();
  if (Controller->GetLocalProcessId() == 3) 
window->AddRenderer(this->NonCompositedRenderer);

And it built and ran just fine.

Thank you!

Mark
________________________________________
From: Utkarsh Ayachit [[email protected]]
Sent: Wednesday, April 15, 2015 12:20 PM
To: Stock, Mark
Cc: [email protected]
Subject: Re: [Paraview] Removing *some* color legends in multi-screen immersive 
Paraview

In vtkPVRenderView.cxx, remove the following line:

   window->AddRenderer(this->NonCompositedRender).

Now, none of the views will render any 2D annotations, including
scalar bars. Once that work, you can tweak it to only skip adding that
renderer on the views you don't care about using the MPI rank,
obtained from the vtkMultProcessController::GetGlobalController()
instance.

Utkarsh



On Wed, Apr 15, 2015 at 1:59 PM, Stock, Mark <[email protected]> wrote:
> Hello,
>
> I am digging through the Paraview code to find out where I can control which 
> of our 6-projector VR CAVE screens will draw the color legends. The default 
> seems to put all legends on all screens, which is very distracting. Does 
> anyone know where I can intercept these draw calls with an MPI_RANK check?
>
> I'm on 4.2.0 with a 6-projector setup and a number of custom interactors. Not 
> sure if the pvx and pvsm files are helpful, but I attached them anyway.
>
> Mark
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to