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