VTK  9.3.0
vtkAdjacencyMatrixToEdgeTable.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
4
16#ifndef vtkAdjacencyMatrixToEdgeTable_h
17#define vtkAdjacencyMatrixToEdgeTable_h
18
19#include "vtkInfovisCoreModule.h" // For export macro
20#include "vtkTableAlgorithm.h"
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKINFOVISCORE_EXPORT vtkAdjacencyMatrixToEdgeTable : public vtkTableAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
35 vtkGetMacro(SourceDimension, vtkIdType);
36 vtkSetMacro(SourceDimension, vtkIdType);
38
40
44 vtkGetStringMacro(ValueArrayName);
45 vtkSetStringMacro(ValueArrayName);
47
49
53 vtkGetMacro(MinimumCount, vtkIdType);
54 vtkSetMacro(MinimumCount, vtkIdType);
56
58
63 vtkGetMacro(MinimumThreshold, double);
64 vtkSetMacro(MinimumThreshold, double);
66
67protected:
70
72
74
79
80private:
82 void operator=(const vtkAdjacencyMatrixToEdgeTable&) = delete;
83};
84
85VTK_ABI_NAMESPACE_END
86#endif
Treats a dense 2-way array of doubles as an adacency matrix and converts it into a vtkTable suitable ...
static vtkAdjacencyMatrixToEdgeTable * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkAdjacencyMatrixToEdgeTable() override
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.
int vtkIdType
Definition vtkType.h:315