VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkEdgeLayoutStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEdgeLayoutStrategy.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 (c) Sandia Corporation
17
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18
----------------------------------------------------------------------------*/
27
#ifndef __vtkEdgeLayoutStrategy_h
28
#define __vtkEdgeLayoutStrategy_h
29
30
#include "
vtkObject.h
"
31
32
class
vtkGraph
;
33
34
class
VTK_INFOVIS_EXPORT
vtkEdgeLayoutStrategy
:
public
vtkObject
35
{
36
public
:
37
vtkTypeMacro(
vtkEdgeLayoutStrategy
,
vtkObject
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
41
virtual
void
SetGraph(
vtkGraph
*graph);
42
45
virtual
void
Initialize
() {};
46
49
virtual
void
Layout()=0;
50
52
53
vtkSetStringMacro(EdgeWeightArrayName);
54
vtkGetStringMacro(EdgeWeightArrayName);
56
57
protected
:
58
vtkEdgeLayoutStrategy
();
59
~
vtkEdgeLayoutStrategy
();
60
61
vtkGraph
*
Graph
;
62
char
*
EdgeWeightArrayName
;
63
64
private
:
65
66
vtkEdgeLayoutStrategy
(
const
vtkEdgeLayoutStrategy
&);
// Not implemented.
67
void
operator=(
const
vtkEdgeLayoutStrategy
&);
// Not implemented.
68
};
69
70
#endif
71
Generated on Sun Sep 9 2012 13:03:41 for VTK by
1.8.1.2