VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Layout
vtkEdgeLayout.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEdgeLayout.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
----------------------------------------------------------------------------*/
31
#ifndef __vtkEdgeLayout_h
32
#define __vtkEdgeLayout_h
33
34
#include "vtkInfovisLayoutModule.h"
// For export macro
35
#include "
vtkGraphAlgorithm.h
"
36
37
class
vtkEdgeLayoutStrategy
;
38
class
vtkEventForwarderCommand
;
39
40
class
VTKINFOVISLAYOUT_EXPORT
vtkEdgeLayout
:
public
vtkGraphAlgorithm
41
{
42
public
:
43
static
vtkEdgeLayout
*
New
();
44
vtkTypeMacro(
vtkEdgeLayout
,
vtkGraphAlgorithm
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
49
void
SetLayoutStrategy(
vtkEdgeLayoutStrategy
*strategy);
50
vtkGetObjectMacro(LayoutStrategy,
vtkEdgeLayoutStrategy
);
52
54
virtual
unsigned
long
GetMTime
();
55
56
protected
:
57
vtkEdgeLayout
();
58
~
vtkEdgeLayout
();
59
60
vtkEdgeLayoutStrategy
*
LayoutStrategy
;
61
63
65
vtkEventForwarderCommand
*
EventForwarder
;
66
unsigned
long
ObserverTag
;
68
69
int
RequestData
(
70
vtkInformation
*,
71
vtkInformationVector
**,
72
vtkInformationVector
*);
73
74
private
:
75
76
vtkGraph
*InternalGraph;
77
78
vtkEdgeLayout
(
const
vtkEdgeLayout
&);
// Not implemented.
79
void
operator=(
const
vtkEdgeLayout
&);
// Not implemented.
80
};
81
82
#endif
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1