VTK  9.0.1
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 
43 #ifndef vtkCollapseGraph_h
44 #define vtkCollapseGraph_h
45 
46 #include "vtkGraphAlgorithm.h"
47 #include "vtkInfovisCoreModule.h" // For export macro
48 
49 class VTKINFOVISCORE_EXPORT vtkCollapseGraph : public vtkGraphAlgorithm
50 {
51 public:
52  static vtkCollapseGraph* New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
60 
61 protected:
63  ~vtkCollapseGraph() override;
64 
66 
68 
69 private:
70  vtkCollapseGraph(const vtkCollapseGraph&) = delete;
71  void operator=(const vtkCollapseGraph&) = delete;
72 };
73 
74 #endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:52
vtkCollapseGraph::~vtkCollapseGraph
~vtkCollapseGraph() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkCollapseGraph::New
static vtkCollapseGraph * New()
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkCollapseGraph
"Collapses" vertices onto their neighbors.
Definition: vtkCollapseGraph.h:50
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkCollapseGraph::vtkCollapseGraph
vtkCollapseGraph()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkCollapseGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:37
vtkCollapseGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCollapseGraph::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkCollapseGraph::SetGraphConnection
void SetGraphConnection(vtkAlgorithmOutput *)
Convenience function provided for setting the graph input.
vtkCollapseGraph::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *)
Convenience function provided for setting the selection input.