VTK  9.3.0
vtkVertexDegree.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17#ifndef vtkVertexDegree_h
18#define vtkVertexDegree_h
19
20#include "vtkGraphAlgorithm.h"
21#include "vtkInfovisCoreModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKINFOVISCORE_EXPORT vtkVertexDegree : public vtkGraphAlgorithm
25{
26public:
28
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
37 vtkSetStringMacro(OutputArrayName);
39
40protected:
42 ~vtkVertexDegree() override;
43
45
46private:
47 char* OutputArrayName;
48
49 vtkVertexDegree(const vtkVertexDegree&) = delete;
50 void operator=(const vtkVertexDegree&) = delete;
51};
52
53VTK_ABI_NAMESPACE_END
54#endif
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Adds an attribute array with the degree of each vertex.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkVertexDegree * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkVertexDegree() override