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