Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
CirclePlacer.h
Go to the documentation of this file.
1
/*
2
* $Revision: 2523 $
3
*
4
* last checkin:
5
* $Author: gutwenger $
6
* $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7
***************************************************************/
8
43
#include <
ogdf/energybased/multilevelmixer/InitialPlacer.h
>
44
45
#ifdef _MSC_VER
46
#pragma once
47
#endif
48
49
#ifndef OGDF_CIRCLE_PLACER_H
50
#define OGDF_CIRCLE_PLACER_H
51
52
namespace
ogdf {
53
54
class
OGDF_EXPORT
CirclePlacer
:
public
InitialPlacer
55
{
56
public
:
57
58
enum
NodeSelection
{
59
nsNew
,
60
nsOld
,
61
nsAll
62
};
63
64
CirclePlacer
();
65
void
setRadiusFixed(
bool
fixed);
66
void
setCircleSize(
float
sizeIncrease);
67
void
setNodeSelection(NodeSelection nodeSel);
68
void
placeOneLevel(
MultilevelGraph
&MLG);
69
70
private
:
71
72
float
m_circleSize
;
73
bool
m_fixedRadius
;
74
NodeSelection
m_nodeSelection
;
75
};
76
77
}
// namespace ogdf
78
79
#endif
ogdf
energybased
multilevelmixer
CirclePlacer.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH