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 "vtkGraphAlgorithm.h"
30 
33 
35 {
36 public:
37  static vtkCollectGraph *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
44  virtual void SetController(vtkMultiProcessController*);
45  vtkGetObjectMacro(Controller, vtkMultiProcessController);
47 
49 
52  virtual void SetSocketController(vtkSocketController*);
53  vtkGetObjectMacro(SocketController, vtkSocketController);
55 
57 
58  vtkSetMacro(PassThrough, int);
59  vtkGetMacro(PassThrough, int);
60  vtkBooleanMacro(PassThrough, int);
62 
63  //BTX
64  enum {
67  USE_INPUT_TYPE
68  };
69  //ETX
70 
72 
79  vtkSetMacro(OutputType, int);
80  vtkGetMacro(OutputType, int);
82 
83 protected:
85  ~vtkCollectGraph();
86 
89 
90  // Data generation method
95 
98 
99 private:
100  vtkCollectGraph(const vtkCollectGraph&); // Not implemented
101  void operator=(const vtkCollectGraph&); // Not implemented
102 };
103 
104 #endif