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