VTK  9.3.1
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 
19 #ifndef vtkAdjacencyMatrixToEdgeTable_h
20 #define vtkAdjacencyMatrixToEdgeTable_h
21 
22 #include "vtkInfovisCoreModule.h" // For export macro
23 #include "vtkTableAlgorithm.h"
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTKINFOVISCORE_EXPORT vtkAdjacencyMatrixToEdgeTable : public vtkTableAlgorithm
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
38  vtkGetMacro(SourceDimension, vtkIdType);
39  vtkSetMacro(SourceDimension, vtkIdType);
41 
43 
47  vtkGetStringMacro(ValueArrayName);
48  vtkSetStringMacro(ValueArrayName);
50 
52 
56  vtkGetMacro(MinimumCount, vtkIdType);
57  vtkSetMacro(MinimumCount, vtkIdType);
59 
61 
66  vtkGetMacro(MinimumThreshold, double);
67  vtkSetMacro(MinimumThreshold, double);
69 
70 protected:
73 
74  int FillInputPortInformation(int, vtkInformation*) override;
75 
77 
82 
83 private:
85  void operator=(const vtkAdjacencyMatrixToEdgeTable&) = delete;
86 };
87 
88 VTK_ABI_NAMESPACE_END
89 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:315
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
Treats a dense 2-way array of doubles as an adacency matrix and converts it into a vtkTable suitable ...