ParaView
vtkAllToNRedistributeCompositePolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: $RCSfile$
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 =========================================================================*/
21 #ifndef vtkAllToNRedistributeCompositePolyData_h
22 #define vtkAllToNRedistributeCompositePolyData_h
23 
24 #include "vtkDataObjectAlgorithm.h"
25 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
26 
27 class vtkMultiProcessController;
28 
29 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkAllToNRedistributeCompositePolyData
30  : public vtkDataObjectAlgorithm
31 {
32 public:
34  vtkTypeMacro(vtkAllToNRedistributeCompositePolyData, vtkDataObjectAlgorithm);
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
41  virtual void SetController(vtkMultiProcessController*);
42  vtkGetObjectMacro(Controller, vtkMultiProcessController);
44 
45  vtkSetMacro(NumberOfProcesses, int);
46  vtkGetMacro(NumberOfProcesses, int);
47 
48 protected:
51 
58  virtual vtkExecutive* CreateDefaultExecutive();
59 
60  virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
61  virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
62  vtkInformationVector* outputVector);
63  virtual int FillInputPortInformation(int port, vtkInformation* info);
64 
66  vtkMultiProcessController* Controller;
67 
68 private:
70  const vtkAllToNRedistributeCompositePolyData&) VTK_DELETE_FUNCTION;
71  void operator=(const vtkAllToNRedistributeCompositePolyData&) VTK_DELETE_FUNCTION;
72 };
73 
74 #endif
vtkAllToNRedistributePolyData extension that is composite data aware.