VTK
vtkCollectGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCollectGraph.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
26 #ifndef vtkCollectGraph_h
27 #define vtkCollectGraph_h
28 
29 #include "vtkFiltersParallelModule.h" // For export macro
30 #include "vtkGraphAlgorithm.h"
31 
34 
36 {
37 public:
38  static vtkCollectGraph *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  virtual void SetController(vtkMultiProcessController*);
46  vtkGetObjectMacro(Controller, vtkMultiProcessController);
48 
50 
53  virtual void SetSocketController(vtkSocketController*);
54  vtkGetObjectMacro(SocketController, vtkSocketController);
56 
58 
59  vtkSetMacro(PassThrough, int);
60  vtkGetMacro(PassThrough, int);
61  vtkBooleanMacro(PassThrough, int);
63 
64  //BTX
65  enum {
68  USE_INPUT_TYPE
69  };
70  //ETX
71 
73 
80  vtkSetMacro(OutputType, int);
81  vtkGetMacro(OutputType, int);
83 
84 protected:
86  ~vtkCollectGraph();
87 
90 
91  // Data generation method
95 
98 
99 private:
100  vtkCollectGraph(const vtkCollectGraph&); // Not implemented
101  void operator=(const vtkCollectGraph&); // Not implemented
102 };
103 
104 #endif
static vtkGraphAlgorithm * New()
Process communication using Sockets.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
Collect distributed graph.
Superclass for algorithms that produce only graph as output.
#define VTKFILTERSPARALLEL_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSocketController * SocketController
vtkMultiProcessController * Controller
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.