VTK: Infovis/Core/vtkDotProductSimilarity.h Source File

| VTK 9.3.1

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
53 VTK_ABI_NAMESPACE_BEGIN
54 class VTKINFOVISCORE_EXPORT vtkDotProductSimilarity : public vtkTableAlgorithm
55 {
56 public:
57 static vtkDotProductSimilarity* New();
58 vtkTypeMacro(vtkDotProductSimilarity, vtkTableAlgorithm);
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
140 protected:
141 vtkDotProductSimilarity();
142 ~vtkDotProductSimilarity() override;
143
144 int FillInputPortInformation(int, vtkInformation*) override;
145
146 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
147
148 private:
149 vtkDotProductSimilarity(const vtkDotProductSimilarity&) = delete;
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
164 VTK_ABI_NAMESPACE_END
165 #endif
vtkDotProductSimilarity
compute dot-product similarity metrics.
Definition: vtkDotProductSimilarity.h:55
vtkDotProductSimilarity::~vtkDotProductSimilarity
~vtkDotProductSimilarity() override
vtkDotProductSimilarity::New
static vtkDotProductSimilarity * New()
vtkDotProductSimilarity::vtkDotProductSimilarity
vtkDotProductSimilarity()
vtkDotProductSimilarity::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDotProductSimilarity::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkDotProductSimilarity::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:37
vtkTableAlgorithm.h
vtkIdType
int vtkIdType
Definition: vtkType.h:315