ParaView
vtkMPICompositeManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkMPICompositeManager.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkMPICompositeManager_h
23 #define vtkMPICompositeManager_h
24 
25 #include "vtkCompositeRenderManager.h"
26 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
27 
28 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkMPICompositeManager : public vtkCompositeRenderManager
29 {
30 public:
31  static vtkMPICompositeManager* New();
32  vtkTypeMacro(vtkMPICompositeManager, vtkCompositeRenderManager);
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
39  virtual void InitializeRMIs();
40 
45  float GetZBufferValue(int x, int y);
46 
50  void GatherZBufferValueRMI(int x, int y);
51 
52  enum Tags
53  {
54  GATHER_Z_RMI_TAG = 987987,
55  Z_TAG = 88771
56  };
57 
61  virtual void StartRender();
62 
64 
69  virtual int ChooseBuffer();
70 
71 protected:
75 
76 private:
77  vtkMPICompositeManager(const vtkMPICompositeManager&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkMPICompositeManager&) VTK_DELETE_FUNCTION;
79 };
80 
81 #endif
Composites when running in MPI mode.