VTK
vtkBoostLogWeighting.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostLogWeighting.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
34 #ifndef vtkBoostLogWeighting_h
35 #define vtkBoostLogWeighting_h
36 
37 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
38 #include "vtkArrayDataAlgorithm.h"
39 
40 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
41 {
42 public:
43  static vtkBoostLogWeighting* New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
47  enum
48  {
49  BASE_E = 0,
50  BASE_2 = 1
51  };
52 
54 
57  vtkSetMacro(Base, int);
58  vtkGetMacro(Base, int);
60 
62 
65  vtkSetMacro(EmitProgress, bool);
66  vtkGetMacro(EmitProgress, bool);
67  vtkBooleanMacro(EmitProgress, bool);
69 
70 protected:
73 
74  int RequestData(
78 
79 private:
80  vtkBoostLogWeighting(const vtkBoostLogWeighting&) VTK_DELETE_FUNCTION;
81  void operator=(const vtkBoostLogWeighting&) VTK_DELETE_FUNCTION;
82 
83  int Base;
84  bool EmitProgress;
85 
86 };
87 
88 #endif
89 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Given an arbitrary-dimension array of doubles, replaces each value x with one of: ...
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.