00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkEntropyMatrixWeighting.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 00038 #ifndef __vtkEntropyMatrixWeighting_h 00039 #define __vtkEntropyMatrixWeighting_h 00040 00041 #include <vtkArrayDataAlgorithm.h> 00042 00043 class VTK_TEXT_ANALYSIS_EXPORT vtkEntropyMatrixWeighting : 00044 public vtkArrayDataAlgorithm 00045 { 00046 public: 00047 static vtkEntropyMatrixWeighting* New(); 00048 vtkTypeMacro(vtkEntropyMatrixWeighting, vtkArrayDataAlgorithm); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00053 vtkGetMacro(FeatureDimension, int); 00054 vtkSetMacro(FeatureDimension, int); 00056 00057 //BTX 00058 protected: 00059 vtkEntropyMatrixWeighting(); 00060 ~vtkEntropyMatrixWeighting(); 00061 00062 int RequestData( 00063 vtkInformation*, 00064 vtkInformationVector**, 00065 vtkInformationVector*); 00066 00067 private: 00068 vtkEntropyMatrixWeighting(const vtkEntropyMatrixWeighting&); // Not implemented 00069 void operator=(const vtkEntropyMatrixWeighting&); // Not implemented 00070 00071 int FeatureDimension; 00072 //ETX 00073 }; 00074 00075 #endif 00076