/usr/include/paraview/vtkClientServerCompositePass.h is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108  | /*=========================================================================
  Program:   Visualization Toolkit
  Module:    vtkClientServerCompositePass.h
  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkClientServerCompositePass
// .SECTION Description
// vtkClientServerCompositePass is a render-pass that can handle client-server
// image delivery. This is designed to be used in configurations in
// two-processes configurations.
#ifndef vtkClientServerCompositePass_h
#define vtkClientServerCompositePass_h
#include "vtkRenderingParallelModule.h" // For export macro
#include "vtkRenderPass.h"
class vtkMultiProcessController;
class VTKRENDERINGPARALLEL_EXPORT vtkClientServerCompositePass : public vtkRenderPass
{
public:
  static vtkClientServerCompositePass* New();
  vtkTypeMacro(vtkClientServerCompositePass, vtkRenderPass);
  void PrintSelf(ostream& os, vtkIndent indent);
  //BTX
  // Description:
  // Perform rendering according to a render state \p s.
  // \pre s_exists: s!=0
  virtual void Render(const vtkRenderState *s);
  //ETX
  // Description:
  // Release graphics resources and ask components to release their own
  // resources.
  // \pre w_exists: w!=0
  void ReleaseGraphicsResources(vtkWindow *w);
  // Description:
  // Controller
  // If it is NULL, nothing will be rendered and a warning will be emitted.
  // Initial value is a NULL pointer.
  // This must be set to the socket controller used for communicating between
  // the client and the server.
  vtkGetObjectMacro(Controller,vtkMultiProcessController);
  virtual void SetController(vtkMultiProcessController *controller);
  // Description:
  // Get/Set the render pass used to do the actual rendering.
  // When ServerSideRendering is true, the rendering-pass is called only on the
  // server side.
  void SetRenderPass(vtkRenderPass*);
  vtkGetObjectMacro(RenderPass, vtkRenderPass);
  // Description:
  // Set/Get the optional post-fetch render pass.
  // On the client-process this is called after the server-side image is fetched
  // (if ServerSideRendering is true). On server-process, this is called after the
  // image rendered by this->RenderPass is delivered to the client (if
  // ServerSideRendering is true). This is optional, so you can set this either on
  // one of the two processes or both or neither.
  void SetPostProcessingRenderPass(vtkRenderPass*);
  vtkGetObjectMacro(PostProcessingRenderPass, vtkRenderPass);
  // Description:
  // Set the current process type. This is needed since when using the socket
  // communicator there's no easy way of determining which process is the server
  // and which one is the client.
  vtkSetMacro(ProcessIsServer,bool);
  vtkBooleanMacro(ProcessIsServer, bool);
  vtkGetMacro(ProcessIsServer, bool);
  // Description:
  // Enable/Disable fetching of the image from the server side to the client. If
  // this flag is disabled, then this pass just acts as a "pass-through" pass.
  // This flag must be set to the same value on both the processes.
  vtkSetMacro(ServerSideRendering, bool);
  vtkBooleanMacro(ServerSideRendering, bool);
  vtkGetMacro(ServerSideRendering, bool);
//BTX
protected:
  vtkClientServerCompositePass();
  ~vtkClientServerCompositePass();
  vtkRenderPass* RenderPass;
  vtkRenderPass* PostProcessingRenderPass;
  vtkMultiProcessController* Controller;
  bool ProcessIsServer;
  bool ServerSideRendering;
private:
  vtkClientServerCompositePass(const vtkClientServerCompositePass&); // Not implemented.
  void operator=(const vtkClientServerCompositePass&); // Not implemented.
//ETX
};
#endif
 |