SpringElectrical.cpp File Reference
#include <tulip/MutableContainer.h>
#include <tulip/ForEach.h>
#include <tulip/Rectangle.h>
#include "SpringElectrical.h"
Include dependency graph for SpringElectrical.cpp:
Functions
- LAYOUTPLUGINOFGROUP (SpringElectrical,"Spring_Electrical","David Auber","14/01/2002","Alpha","0","1","Force Directed")
- double sqr (double x)
- Coord maxForce (Coord force, double _max)
- Coord repulsiveForces (node u, LayoutProperty *layout, Graph *graph, const MutableContainer< double > &sizeNorm, double temperature, double maxforce)
- Coord attractiveForces (node nu, LayoutProperty *layout, Graph *graph, const MutableContainer< double > &sizeNorm, double temperature, double maxforce, DoubleProperty *edgeLength)
- bool overlap (node u, Coord &move, LayoutProperty *layout, Graph *graph, const MutableContainer< double > &sizeNorm, int &before)
- bool intersect2D (const Coord &a, const Coord &b, const Coord &c, const Coord &d)
Variables
Function Documentation
Coord attractiveForces |
( |
node |
nu, |
|
|
LayoutProperty * |
layout, |
|
|
Graph * |
graph, |
|
|
const MutableContainer< double > & |
sizeNorm, |
|
|
double |
temperature, |
|
|
double |
maxforce, |
|
|
DoubleProperty * |
edgeLength |
|
) |
|
|
bool intersect2D |
( |
const Coord & |
a, |
|
|
const Coord & |
b, |
|
|
const Coord & |
c, |
|
|
const Coord & |
d |
|
) |
|
|
LAYOUTPLUGINOFGROUP |
( |
SpringElectrical |
, |
|
|
"Spring_Electrical" |
, |
|
|
"David Auber" |
, |
|
|
"14/01/2002" |
, |
|
|
"Alpha" |
, |
|
|
"0" |
, |
|
|
"1" |
, |
|
|
"Force Directed" |
|
|
) |
|
|
Coord maxForce |
( |
Coord |
force, |
|
|
double |
_max |
|
) |
|
|
bool overlap |
( |
node |
u, |
|
|
Coord & |
move, |
|
|
LayoutProperty * |
layout, |
|
|
Graph * |
graph, |
|
|
const MutableContainer< double > & |
sizeNorm, |
|
|
int & |
before |
|
) |
|
|
Coord repulsiveForces |
( |
node |
u, |
|
|
LayoutProperty * |
layout, |
|
|
Graph * |
graph, |
|
|
const MutableContainer< double > & |
sizeNorm, |
|
|
double |
temperature, |
|
|
double |
maxforce |
|
) |
|
|
double sqr |
( |
double |
x |
) |
[inline] |
|
Variable Documentation
|