VTK  9.3.1
vtkBoostLogWeighting.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4 
23 #ifndef vtkBoostLogWeighting_h
24 #define vtkBoostLogWeighting_h
25 
26 #include "vtkArrayDataAlgorithm.h"
27 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
31 {
32 public:
33  static vtkBoostLogWeighting* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  enum
38  {
39  BASE_E = 0,
40  BASE_2 = 1
41  };
42 
44 
47  vtkSetMacro(Base, int);
48  vtkGetMacro(Base, int);
50 
52 
55  vtkSetMacro(EmitProgress, bool);
56  vtkGetMacro(EmitProgress, bool);
57  vtkBooleanMacro(EmitProgress, bool);
59 
60 protected:
62  ~vtkBoostLogWeighting() override;
63 
65 
66 private:
68  void operator=(const vtkBoostLogWeighting&) = delete;
69 
70  int Base;
71  bool EmitProgress;
72 };
73 
74 VTK_ABI_NAMESPACE_END
75 #endif
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:28
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.