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 "vtkGraphAlgorithm.h"
46 
48 {
49 public:
50  static vtkCollapseGraph* New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55  void SetGraphConnection(vtkAlgorithmOutput*);
57  void SetSelectionConnection(vtkAlgorithmOutput*);
58 
59 protected:
62 
64 
65  int RequestData(
69 
70 private:
71  vtkCollapseGraph(const vtkCollapseGraph&); // Not implemented
72  void operator=(const vtkCollapseGraph&); // Not implemented
73 };
74 
75 #endif
76 
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:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)