VTK  9.3.0
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
44#ifndef vtkDotProductSimilarity_h
45#define vtkDotProductSimilarity_h
46
47#include "vtkInfovisCoreModule.h" // For export macro
48#include "vtkTableAlgorithm.h"
49
50VTK_ABI_NAMESPACE_BEGIN
51class VTKINFOVISCORE_EXPORT vtkDotProductSimilarity : public vtkTableAlgorithm
52{
53public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
59
63 vtkGetMacro(VectorDimension, vtkIdType);
64 vtkSetMacro(VectorDimension, vtkIdType);
66
68
72 vtkGetMacro(UpperDiagonal, int);
73 vtkSetMacro(UpperDiagonal, int);
75
77
81 vtkGetMacro(Diagonal, int);
82 vtkSetMacro(Diagonal, int);
84
86
90 vtkGetMacro(LowerDiagonal, int);
91 vtkSetMacro(LowerDiagonal, int);
93
95
99 vtkGetMacro(FirstSecond, int);
100 vtkSetMacro(FirstSecond, int);
102
104
108 vtkGetMacro(SecondFirst, int);
109 vtkSetMacro(SecondFirst, int);
111
113
117 vtkGetMacro(MinimumThreshold, double);
118 vtkSetMacro(MinimumThreshold, double);
120
122
125 vtkGetMacro(MinimumCount, vtkIdType);
126 vtkSetMacro(MinimumCount, vtkIdType);
128
130
133 vtkGetMacro(MaximumCount, vtkIdType);
134 vtkSetMacro(MaximumCount, vtkIdType);
136
137protected:
140
142
144
145private:
147 void operator=(const vtkDotProductSimilarity&) = delete;
148
149 vtkIdType VectorDimension;
150 double MinimumThreshold;
151 vtkIdType MinimumCount;
152 vtkIdType MaximumCount;
153
154 int UpperDiagonal;
155 int Diagonal;
156 int LowerDiagonal;
157 int FirstSecond;
158 int SecondFirst;
159};
160
161VTK_ABI_NAMESPACE_END
162#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: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