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 "vtkTableAlgorithm.h"
67 
69 {
70 public:
71  static vtkDotProductSimilarity* New();
73  void PrintSelf(ostream& os, vtkIndent indent);
74 
76 
78  vtkGetMacro(VectorDimension, vtkIdType);
79  vtkSetMacro(VectorDimension, vtkIdType);
81 
83 
86  vtkGetMacro(UpperDiagonal, int);
87  vtkSetMacro(UpperDiagonal, int);
89 
91 
94  vtkGetMacro(Diagonal, int);
95  vtkSetMacro(Diagonal, int);
97 
99 
102  vtkGetMacro(LowerDiagonal, int);
103  vtkSetMacro(LowerDiagonal, int);
105 
107 
110  vtkGetMacro(FirstSecond, int);
111  vtkSetMacro(FirstSecond, int);
113 
115 
118  vtkGetMacro(SecondFirst, int);
119  vtkSetMacro(SecondFirst, int);
121 
123 
125  vtkGetMacro(MinimumThreshold, double);
126  vtkSetMacro(MinimumThreshold, double);
128 
130 
131  vtkGetMacro(MinimumCount, vtkIdType);
132  vtkSetMacro(MinimumCount, vtkIdType);
134 
136 
137  vtkGetMacro(MaximumCount, vtkIdType);
138  vtkSetMacro(MaximumCount, vtkIdType);
140 
141 protected:
144 
146 
147  int RequestData(
148  vtkInformation*,
151 
152 private:
153  vtkDotProductSimilarity(const vtkDotProductSimilarity&); // Not implemented
154  void operator=(const vtkDotProductSimilarity&); // Not implemented
155 
156  vtkIdType VectorDimension;
157  double MinimumThreshold;
158  vtkIdType MinimumCount;
159  vtkIdType MaximumCount;
160 
161  int UpperDiagonal;
162  int Diagonal;
163  int LowerDiagonal;
164  int FirstSecond;
165  int SecondFirst;
166 };
167 
168 #endif
169