VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkGraphWeightFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGraphWeightFilter.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
=========================================================================*/
30
#ifndef __vtkGraphWeightFilter_h
31
#define __vtkGraphWeightFilter_h
32
33
#include "
vtkGraphAlgorithm.h
"
34
35
class
vtkGraph
;
36
37
class
VTK_FILTERING_EXPORT
vtkGraphWeightFilter
:
public
vtkGraphAlgorithm
38
{
39
public
:
40
vtkTypeMacro(
vtkGraphWeightFilter
,
vtkGraphAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
protected
:
44
vtkGraphWeightFilter
(){}
45
~vtkGraphWeightFilter
(){}
46
47
int
RequestData
(
vtkInformation
*,
48
vtkInformationVector
**,
49
vtkInformationVector
*);
50
53
virtual
float
ComputeWeight(
vtkGraph
*
const
graph,
const
vtkEdgeType
& edge)
const
= 0;
54
59
virtual
bool
CheckRequirements(
vtkGraph
*
const
graph)
const
;
60
61
private
:
62
vtkGraphWeightFilter
(
const
vtkGraphWeightFilter
&);
// Not implemented.
63
void
operator=(
const
vtkGraphWeightFilter
&);
// Not implemented.
64
};
65
66
#endif
Generated on Tue Jan 8 2013 05:45:25 for VTK by
1.8.1.2