VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkBoostKruskalMinimumSpanningTree.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBoostKruskalMinimumSpanningTree.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
37
#ifndef __vtkBoostKruskalMinimumSpanningTree_h
38
#define __vtkBoostKruskalMinimumSpanningTree_h
39
40
#include "
vtkStdString.h
"
// For string type
41
#include "
vtkVariant.h
"
// For variant type
42
43
#include "
vtkSelectionAlgorithm.h
"
44
45
class
VTK_INFOVIS_EXPORT
vtkBoostKruskalMinimumSpanningTree
:
public
vtkSelectionAlgorithm
46
{
47
public
:
48
static
vtkBoostKruskalMinimumSpanningTree
*
New
();
49
vtkTypeMacro(
vtkBoostKruskalMinimumSpanningTree
,
vtkSelectionAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
53
57
vtkSetStringMacro(EdgeWeightArrayName);
59
61
64
vtkSetStringMacro(OutputSelectionType);
66
68
72
void
SetNegateEdgeWeights(
bool
value
);
73
vtkGetMacro(NegateEdgeWeights,
bool
);
74
vtkBooleanMacro(NegateEdgeWeights,
bool
);
76
77
protected
:
78
vtkBoostKruskalMinimumSpanningTree
();
79
~
vtkBoostKruskalMinimumSpanningTree
();
80
81
int
RequestData
(
82
vtkInformation
*,
83
vtkInformationVector
**,
84
vtkInformationVector
*);
85
86
int
FillInputPortInformation
(
87
int
port
,
vtkInformation
*
info
);
88
89
int
FillOutputPortInformation
(
90
int
port
,
vtkInformation
*
info
);
91
92
private
:
93
char
* EdgeWeightArrayName;
94
char
* OutputSelectionType;
95
bool
NegateEdgeWeights;
96
float
EdgeWeightMultiplier;
97
98
vtkBoostKruskalMinimumSpanningTree
(
const
vtkBoostKruskalMinimumSpanningTree
&);
// Not implemented.
99
void
operator=(
const
vtkBoostKruskalMinimumSpanningTree
&);
// Not implemented.
100
};
101
102
#endif
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4