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 
39 #ifndef vtkBoostLogWeighting_h
40 #define vtkBoostLogWeighting_h
41 
42 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
43 #include "vtkArrayDataAlgorithm.h"
44 
45 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
46 {
47 public:
48  static vtkBoostLogWeighting* New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
52 //BTX
53  enum
54  {
55  BASE_E = 0,
56  BASE_2 = 1
57  };
58 //ETX
59 
61 
62  vtkSetMacro(Base, int);
63  vtkGetMacro(Base, int);
65 
67 
68  vtkSetMacro(EmitProgress, bool);
69  vtkGetMacro(EmitProgress, bool);
70  vtkBooleanMacro(EmitProgress, bool);
72 
73 //BTX
74 protected:
77 
78  int RequestData(
82 
83 private:
84  vtkBoostLogWeighting(const vtkBoostLogWeighting&); // Not implemented
85  void operator=(const vtkBoostLogWeighting&); // Not implemented
86 
87  int Base;
88  bool EmitProgress;
89 //ETX
90 };
91 
92 #endif
93 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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:38
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.