VTK
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
37#ifndef vtkBoostLogWeighting_h
38#define vtkBoostLogWeighting_h
39
40#include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
42
43class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArrayDataAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent);
49
50 enum
51 {
52 BASE_E = 0,
53 BASE_2 = 1
54 };
55
57
60 vtkSetMacro(Base, int);
61 vtkGetMacro(Base, int);
63
65
68 vtkSetMacro(EmitProgress, bool);
69 vtkGetMacro(EmitProgress, bool);
70 vtkBooleanMacro(EmitProgress, bool);
72
73protected:
76
81
82private:
83 vtkBoostLogWeighting(const vtkBoostLogWeighting&) VTK_DELETE_FUNCTION;
84 void operator=(const vtkBoostLogWeighting&) VTK_DELETE_FUNCTION;
85
86 int Base;
87 bool EmitProgress;
88
89};
90
91#endif
92
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)
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkBoostLogWeighting * New()
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.