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
20#ifndef vtkBoostLogWeighting_h
21#define vtkBoostLogWeighting_h
22
24#include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
27class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
28{
29public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 enum
35 {
36 BASE_E = 0,
37 BASE_2 = 1
38 };
39
41
44 vtkSetMacro(Base, int);
45 vtkGetMacro(Base, int);
47
49
52 vtkSetMacro(EmitProgress, bool);
53 vtkGetMacro(EmitProgress, bool);
54 vtkBooleanMacro(EmitProgress, bool);
56
57protected:
60
62
63private:
65 void operator=(const vtkBoostLogWeighting&) = delete;
66
67 int Base;
68 bool EmitProgress;
69};
70
71VTK_ABI_NAMESPACE_END
72#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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkBoostLogWeighting * New()
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.