VTK  9.3.20240424
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
27#include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
30class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
31{
32public:
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
60protected:
63
65
66private:
68 void operator=(const vtkBoostLogWeighting&) = delete;
69
70 int Base;
71 bool EmitProgress;
72};
73
74VTK_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
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.