VTK
9.0.1
Infovis
BoostGraphAlgorithms
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
40
#ifndef vtkBoostLogWeighting_h
41
#define vtkBoostLogWeighting_h
42
43
#include "
vtkArrayDataAlgorithm.h
"
44
#include "vtkInfovisBoostGraphAlgorithmsModule.h"
// For export macro
45
46
class
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
vtkBoostLogWeighting
:
public
vtkArrayDataAlgorithm
47
{
48
public
:
49
static
vtkBoostLogWeighting
*
New
();
50
vtkTypeMacro(
vtkBoostLogWeighting
,
vtkArrayDataAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
53
enum
54
{
55
BASE_E = 0,
56
BASE_2 = 1
57
};
58
60
63
vtkSetMacro(Base,
int
);
64
vtkGetMacro(Base,
int
);
66
68
71
vtkSetMacro(EmitProgress,
bool
);
72
vtkGetMacro(EmitProgress,
bool
);
73
vtkBooleanMacro(EmitProgress,
bool
);
75
76
protected
:
77
vtkBoostLogWeighting
();
78
~
vtkBoostLogWeighting
()
override
;
79
80
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
81
82
private
:
83
vtkBoostLogWeighting
(
const
vtkBoostLogWeighting
&) =
delete
;
84
void
operator=(
const
vtkBoostLogWeighting
&) =
delete
;
85
86
int
Base;
87
bool
EmitProgress;
88
};
89
90
#endif
vtkArrayDataAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkArrayDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkArrayDataAlgorithm
Superclass for algorithms that produce vtkArrayDatas as output.
Definition:
vtkArrayDataAlgorithm.h:53
vtkBoostLogWeighting
Given an arbitrary-dimension array of doubles, replaces each value x with one of:
Definition:
vtkBoostLogWeighting.h:46
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkArrayDataAlgorithm::New
static vtkArrayDataAlgorithm * New()
vtkArrayDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated on Thu Jun 25 2020 08:30:46 for VTK by
1.8.17