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 ----------------------------------------------------------------------------*/
27 #ifndef vtkCollectGraph_h
28 #define vtkCollectGraph_h
29 
30 #include "vtkFiltersParallelModule.h" // For export macro
31 #include "vtkGraphAlgorithm.h"
32 
35 
36 class VTKFILTERSPARALLEL_EXPORT vtkCollectGraph : public vtkGraphAlgorithm
37 {
38 public:
39  static vtkCollectGraph *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
49  vtkGetObjectMacro(Controller, vtkMultiProcessController);
51 
53 
59  vtkGetObjectMacro(SocketController, vtkSocketController);
61 
63 
66  vtkSetMacro(PassThrough, int);
67  vtkGetMacro(PassThrough, int);
68  vtkBooleanMacro(PassThrough, int);
70 
71  enum {
74  USE_INPUT_TYPE
75  };
76 
78 
86  vtkSetMacro(OutputType, int);
87  vtkGetMacro(OutputType, int);
89 
90 protected:
93 
96 
97  // Data generation method
101 
104 
105 private:
106  vtkCollectGraph(const vtkCollectGraph&) VTK_DELETE_FUNCTION;
107  void operator=(const vtkCollectGraph&) VTK_DELETE_FUNCTION;
108 };
109 
110 #endif
Collect distributed graph.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetController(vtkMultiProcessController *)
By defualt this filter uses the global controller, but this method can be used to set another instead...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetSocketController(vtkSocketController *)
When this filter is being used in client-server mode, this is the controller used to communicate betw...
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkSocketController * SocketController
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkCollectGraph * New()
vtkMultiProcessController * Controller
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Process communication using Sockets.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.