VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkBoostLogWeighting.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 00039 #ifndef __vtkBoostLogWeighting_h 00040 #define __vtkBoostLogWeighting_h 00041 00042 #include "vtkArrayDataAlgorithm.h" 00043 00044 class VTK_INFOVIS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm 00045 { 00046 public: 00047 static vtkBoostLogWeighting* New(); 00048 vtkTypeMacro(vtkBoostLogWeighting, vtkArrayDataAlgorithm); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00051 //BTX 00052 enum 00053 { 00054 BASE_E = 0, 00055 BASE_2 = 1 00056 }; 00057 //ETX 00058 00060 00061 vtkSetMacro(Base, int); 00062 vtkGetMacro(Base, int); 00064 00066 00067 vtkSetMacro(EmitProgress, bool); 00068 vtkGetMacro(EmitProgress, bool); 00069 vtkBooleanMacro(EmitProgress, bool); 00071 00072 //BTX 00073 protected: 00074 vtkBoostLogWeighting(); 00075 ~vtkBoostLogWeighting(); 00076 00077 int RequestData( 00078 vtkInformation*, 00079 vtkInformationVector**, 00080 vtkInformationVector*); 00081 00082 private: 00083 vtkBoostLogWeighting(const vtkBoostLogWeighting&); // Not implemented 00084 void operator=(const vtkBoostLogWeighting&); // Not implemented 00085 00086 int Base; 00087 bool EmitProgress; 00088 //ETX 00089 }; 00090 00091 #endif 00092