VTK
vtkDotProductSimilarity.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDotProductSimilarity.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
63 #ifndef vtkDotProductSimilarity_h
64 #define vtkDotProductSimilarity_h
65 
66 #include "vtkInfovisCoreModule.h" // For export macro
67 #include "vtkTableAlgorithm.h"
68 
70 {
71 public:
72  static vtkDotProductSimilarity* New();
74  void PrintSelf(ostream& os, vtkIndent indent);
75 
77 
79  vtkGetMacro(VectorDimension, vtkIdType);
80  vtkSetMacro(VectorDimension, vtkIdType);
82 
84 
87  vtkGetMacro(UpperDiagonal, int);
88  vtkSetMacro(UpperDiagonal, int);
90 
92 
95  vtkGetMacro(Diagonal, int);
96  vtkSetMacro(Diagonal, int);
98 
100 
103  vtkGetMacro(LowerDiagonal, int);
104  vtkSetMacro(LowerDiagonal, int);
106 
108 
111  vtkGetMacro(FirstSecond, int);
112  vtkSetMacro(FirstSecond, int);
114 
116 
119  vtkGetMacro(SecondFirst, int);
120  vtkSetMacro(SecondFirst, int);
122 
124 
126  vtkGetMacro(MinimumThreshold, double);
127  vtkSetMacro(MinimumThreshold, double);
129 
131 
132  vtkGetMacro(MinimumCount, vtkIdType);
133  vtkSetMacro(MinimumCount, vtkIdType);
135 
137 
138  vtkGetMacro(MaximumCount, vtkIdType);
139  vtkSetMacro(MaximumCount, vtkIdType);
141 
142 protected:
145 
147 
148  int RequestData(
152 
153 private:
154  vtkDotProductSimilarity(const vtkDotProductSimilarity&); // Not implemented
155  void operator=(const vtkDotProductSimilarity&); // Not implemented
156 
157  vtkIdType VectorDimension;
158  double MinimumThreshold;
159  vtkIdType MinimumCount;
160  vtkIdType MaximumCount;
161 
162  int UpperDiagonal;
163  int Diagonal;
164  int LowerDiagonal;
165  int FirstSecond;
166  int SecondFirst;
167 };
168 
169 #endif
170 
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:275
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKINFOVISCORE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
compute dot-product similarity metrics.