VTK
9.0.1
Infovis
Layout
vtkArcParallelEdgeStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArcParallelEdgeStrategy.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
----------------------------------------------------------------------------*/
34
#ifndef vtkArcParallelEdgeStrategy_h
35
#define vtkArcParallelEdgeStrategy_h
36
37
#include "
vtkEdgeLayoutStrategy.h
"
38
#include "vtkInfovisLayoutModule.h"
// For export macro
39
40
class
vtkGraph
;
41
42
class
VTKINFOVISLAYOUT_EXPORT
vtkArcParallelEdgeStrategy
:
public
vtkEdgeLayoutStrategy
43
{
44
public
:
45
static
vtkArcParallelEdgeStrategy
*
New
();
46
vtkTypeMacro(
vtkArcParallelEdgeStrategy
,
vtkEdgeLayoutStrategy
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
48
53
void
Layout
()
override
;
54
56
59
vtkGetMacro(NumberOfSubdivisions,
int
);
60
vtkSetMacro(NumberOfSubdivisions,
int
);
62
63
protected
:
64
vtkArcParallelEdgeStrategy
();
65
~
vtkArcParallelEdgeStrategy
()
override
;
66
67
int
NumberOfSubdivisions
;
68
69
private
:
70
vtkArcParallelEdgeStrategy
(
const
vtkArcParallelEdgeStrategy
&) =
delete
;
71
void
operator=(
const
vtkArcParallelEdgeStrategy
&) =
delete
;
72
};
73
74
#endif
vtkEdgeLayoutStrategy::Layout
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkArcParallelEdgeStrategy
routes parallel edges as arcs
Definition:
vtkArcParallelEdgeStrategy.h:42
vtkArcParallelEdgeStrategy::NumberOfSubdivisions
int NumberOfSubdivisions
Definition:
vtkArcParallelEdgeStrategy.h:67
vtkEdgeLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition:
vtkEdgeLayoutStrategy.h:36
vtkGraph
Base class for graph data types.
Definition:
vtkGraph.h:289
vtkEdgeLayoutStrategy.h
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17