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 "vtkTableAlgorithm.h" 00067 00068 class VTK_INFOVIS_EXPORT vtkDotProductSimilarity : public vtkTableAlgorithm 00069 { 00070 public: 00071 static vtkDotProductSimilarity* New(); 00072 vtkTypeMacro(vtkDotProductSimilarity, vtkTableAlgorithm); 00073 void PrintSelf(ostream& os, vtkIndent indent); 00074 00076 00078 vtkGetMacro(VectorDimension, vtkIdType); 00079 vtkSetMacro(VectorDimension, vtkIdType); 00081 00083 00086 vtkGetMacro(UpperDiagonal, int); 00087 vtkSetMacro(UpperDiagonal, int); 00089 00091 00094 vtkGetMacro(Diagonal, int); 00095 vtkSetMacro(Diagonal, int); 00097 00099 00102 vtkGetMacro(LowerDiagonal, int); 00103 vtkSetMacro(LowerDiagonal, int); 00105 00107 00110 vtkGetMacro(FirstSecond, int); 00111 vtkSetMacro(FirstSecond, int); 00113 00115 00118 vtkGetMacro(SecondFirst, int); 00119 vtkSetMacro(SecondFirst, int); 00121 00123 00125 vtkGetMacro(MinimumThreshold, double); 00126 vtkSetMacro(MinimumThreshold, double); 00128 00130 00131 vtkGetMacro(MinimumCount, vtkIdType); 00132 vtkSetMacro(MinimumCount, vtkIdType); 00134 00136 00137 vtkGetMacro(MaximumCount, vtkIdType); 00138 vtkSetMacro(MaximumCount, vtkIdType); 00140 00141 protected: 00142 vtkDotProductSimilarity(); 00143 ~vtkDotProductSimilarity(); 00144 00145 int FillInputPortInformation(int, vtkInformation*); 00146 00147 int RequestData( 00148 vtkInformation*, 00149 vtkInformationVector**, 00150 vtkInformationVector*); 00151 00152 private: 00153 vtkDotProductSimilarity(const vtkDotProductSimilarity&); // Not implemented 00154 void operator=(const vtkDotProductSimilarity&); // Not implemented 00155 00156 vtkIdType VectorDimension; 00157 double MinimumThreshold; 00158 vtkIdType MinimumCount; 00159 vtkIdType MaximumCount; 00160 00161 int UpperDiagonal; 00162 int Diagonal; 00163 int LowerDiagonal; 00164 int FirstSecond; 00165 int SecondFirst; 00166 }; 00167 00168 #endif 00169