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 "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro 00043 #include "vtkArrayDataAlgorithm.h" 00044 00045 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm 00046 { 00047 public: 00048 static vtkBoostLogWeighting* New(); 00049 vtkTypeMacro(vtkBoostLogWeighting, vtkArrayDataAlgorithm); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00052 //BTX 00053 enum 00054 { 00055 BASE_E = 0, 00056 BASE_2 = 1 00057 }; 00058 //ETX 00059 00061 00062 vtkSetMacro(Base, int); 00063 vtkGetMacro(Base, int); 00065 00067 00068 vtkSetMacro(EmitProgress, bool); 00069 vtkGetMacro(EmitProgress, bool); 00070 vtkBooleanMacro(EmitProgress, bool); 00072 00073 //BTX 00074 protected: 00075 vtkBoostLogWeighting(); 00076 ~vtkBoostLogWeighting(); 00077 00078 int RequestData( 00079 vtkInformation*, 00080 vtkInformationVector**, 00081 vtkInformationVector*); 00082 00083 private: 00084 vtkBoostLogWeighting(const vtkBoostLogWeighting&); // Not implemented 00085 void operator=(const vtkBoostLogWeighting&); // Not implemented 00086 00087 int Base; 00088 bool EmitProgress; 00089 //ETX 00090 }; 00091 00092 #endif 00093