VTK
dox
Infovis
Layout
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
----------------------------------------------------------------------------*/
28
#ifndef vtkEdgeLayoutStrategy_h
29
#define vtkEdgeLayoutStrategy_h
30
31
#include "vtkInfovisLayoutModule.h"
// For export macro
32
#include "
vtkObject.h
"
33
34
class
vtkGraph
;
35
36
class
VTKINFOVISLAYOUT_EXPORT
vtkEdgeLayoutStrategy
:
public
vtkObject
37
{
38
public
:
39
vtkTypeMacro(
vtkEdgeLayoutStrategy
,
vtkObject
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
45
virtual
void
SetGraph(
vtkGraph
*graph);
46
52
virtual
void
Initialize
() {}
53
58
virtual
void
Layout()=0;
59
61
64
vtkSetStringMacro(EdgeWeightArrayName);
65
vtkGetStringMacro(EdgeWeightArrayName);
67
68
protected
:
69
vtkEdgeLayoutStrategy
();
70
~
vtkEdgeLayoutStrategy
()
override
;
71
72
vtkGraph
*
Graph
;
73
char
*
EdgeWeightArrayName
;
74
75
private
:
76
77
vtkEdgeLayoutStrategy
(
const
vtkEdgeLayoutStrategy
&) =
delete
;
78
void
operator=(
const
vtkEdgeLayoutStrategy
&) =
delete
;
79
};
80
81
#endif
82
vtkEdgeLayoutStrategy::Graph
vtkGraph * Graph
Definition:
vtkEdgeLayoutStrategy.h:72
vtkEdgeLayoutStrategy::Initialize
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
Definition:
vtkEdgeLayoutStrategy.h:52
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkEdgeLayoutStrategy::EdgeWeightArrayName
char * EdgeWeightArrayName
Definition:
vtkEdgeLayoutStrategy.h:73
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition:
vtkEdgeLayoutStrategy.h:36
vtkGraph
Base class for graph data types.
Definition:
vtkGraph.h:287
Generated by
1.8.16