VTK  9.3.20240424
vtkDotProductSimilarity.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
47#ifndef vtkDotProductSimilarity_h
48#define vtkDotProductSimilarity_h
49
50#include "vtkInfovisCoreModule.h" // For export macro
51#include "vtkTableAlgorithm.h"
52
53VTK_ABI_NAMESPACE_BEGIN
54class VTKINFOVISCORE_EXPORT vtkDotProductSimilarity : public vtkTableAlgorithm
55{
56public:
59 void PrintSelf(ostream& os, vtkIndent indent) override;
60
62
66 vtkGetMacro(VectorDimension, vtkIdType);
67 vtkSetMacro(VectorDimension, vtkIdType);
69
71
75 vtkGetMacro(UpperDiagonal, int);
76 vtkSetMacro(UpperDiagonal, int);
78
80
84 vtkGetMacro(Diagonal, int);
85 vtkSetMacro(Diagonal, int);
87
89
93 vtkGetMacro(LowerDiagonal, int);
94 vtkSetMacro(LowerDiagonal, int);
96
98
102 vtkGetMacro(FirstSecond, int);
103 vtkSetMacro(FirstSecond, int);
105
107
111 vtkGetMacro(SecondFirst, int);
112 vtkSetMacro(SecondFirst, int);
114
116
120 vtkGetMacro(MinimumThreshold, double);
121 vtkSetMacro(MinimumThreshold, double);
123
125
128 vtkGetMacro(MinimumCount, vtkIdType);
129 vtkSetMacro(MinimumCount, vtkIdType);
131
133
136 vtkGetMacro(MaximumCount, vtkIdType);
137 vtkSetMacro(MaximumCount, vtkIdType);
139
140protected:
143
145
147
148private:
150 void operator=(const vtkDotProductSimilarity&) = delete;
151
152 vtkIdType VectorDimension;
153 double MinimumThreshold;
154 vtkIdType MinimumCount;
155 vtkIdType MaximumCount;
156
157 int UpperDiagonal;
158 int Diagonal;
159 int LowerDiagonal;
160 int FirstSecond;
161 int SecondFirst;
162};
163
164VTK_ABI_NAMESPACE_END
165#endif
compute dot-product similarity metrics.
~vtkDotProductSimilarity() override
static vtkDotProductSimilarity * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition vtkIndent.h:108
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