VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDotProductSimilarity.h 00005 00006 ------------------------------------------------------------------------- 00007 Copyright 2008 Sandia Corporation. 00008 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00009 the U.S. Government retains certain rights in this software. 00010 ------------------------------------------------------------------------- 00011 00012 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00013 All rights reserved. 00014 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00015 00016 This software is distributed WITHOUT ANY WARRANTY; without even 00017 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00018 PURPOSE. See the above copyright notice for more information. 00019 00020 =========================================================================*/ 00021 00063 #ifndef __vtkDotProductSimilarity_h 00064 #define __vtkDotProductSimilarity_h 00065 00066 #include "vtkInfovisCoreModule.h" // For export macro 00067 #include "vtkTableAlgorithm.h" 00068 00069 class VTKINFOVISCORE_EXPORT vtkDotProductSimilarity : public vtkTableAlgorithm 00070 { 00071 public: 00072 static vtkDotProductSimilarity* New(); 00073 vtkTypeMacro(vtkDotProductSimilarity, vtkTableAlgorithm); 00074 void PrintSelf(ostream& os, vtkIndent indent); 00075 00077 00079 vtkGetMacro(VectorDimension, vtkIdType); 00080 vtkSetMacro(VectorDimension, vtkIdType); 00082 00084 00087 vtkGetMacro(UpperDiagonal, int); 00088 vtkSetMacro(UpperDiagonal, int); 00090 00092 00095 vtkGetMacro(Diagonal, int); 00096 vtkSetMacro(Diagonal, int); 00098 00100 00103 vtkGetMacro(LowerDiagonal, int); 00104 vtkSetMacro(LowerDiagonal, int); 00106 00108 00111 vtkGetMacro(FirstSecond, int); 00112 vtkSetMacro(FirstSecond, int); 00114 00116 00119 vtkGetMacro(SecondFirst, int); 00120 vtkSetMacro(SecondFirst, int); 00122 00124 00126 vtkGetMacro(MinimumThreshold, double); 00127 vtkSetMacro(MinimumThreshold, double); 00129 00131 00132 vtkGetMacro(MinimumCount, vtkIdType); 00133 vtkSetMacro(MinimumCount, vtkIdType); 00135 00137 00138 vtkGetMacro(MaximumCount, vtkIdType); 00139 vtkSetMacro(MaximumCount, vtkIdType); 00141 00142 protected: 00143 vtkDotProductSimilarity(); 00144 ~vtkDotProductSimilarity(); 00145 00146 int FillInputPortInformation(int, vtkInformation*); 00147 00148 int RequestData( 00149 vtkInformation*, 00150 vtkInformationVector**, 00151 vtkInformationVector*); 00152 00153 private: 00154 vtkDotProductSimilarity(const vtkDotProductSimilarity&); // Not implemented 00155 void operator=(const vtkDotProductSimilarity&); // Not implemented 00156 00157 vtkIdType VectorDimension; 00158 double MinimumThreshold; 00159 vtkIdType MinimumCount; 00160 vtkIdType MaximumCount; 00161 00162 int UpperDiagonal; 00163 int Diagonal; 00164 int LowerDiagonal; 00165 int FirstSecond; 00166 int SecondFirst; 00167 }; 00168 00169 #endif 00170