VTK  9.3.0
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:
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:
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
Superclass for algorithms that produce vtkArrayDatas as output.
Given an arbitrary-dimension array of doubles, replaces each value x with one of:
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkBoostLogWeighting() override
static vtkBoostLogWeighting * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.