VTK
vtkCollapseGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCollapseGraph.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 ----------------------------------------------------------------------------*/
19 
42 #ifndef vtkCollapseGraph_h
43 #define vtkCollapseGraph_h
44 
45 #include "vtkInfovisCoreModule.h" // For export macro
46 #include "vtkGraphAlgorithm.h"
47 
49 {
50 public:
51  static vtkCollapseGraph* New();
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  void SetGraphConnection(vtkAlgorithmOutput*);
58  void SetSelectionConnection(vtkAlgorithmOutput*);
59 
60 protected:
63 
65 
66  int RequestData(
70 
71 private:
72  vtkCollapseGraph(const vtkCollapseGraph&); // Not implemented
73  void operator=(const vtkCollapseGraph&); // Not implemented
74 };
75 
76 #endif
77 
static vtkGraphAlgorithm * New()
"Collapses" vertices onto their neighbors.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only graph as output.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKINFOVISCORE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)