NAME
SquarifiedTreeMap.cpp -
SYNOPSIS
#include <cmath>
#include <float.h>
#include <algorithm>
#include <tulip/TreeTest.h>
#include ’tulip/RectangleArea.h’
#include ’tulip/Border.h’
#include ’SquarifiedTreeMap.h’
#include <hash_map>
#include <vector>
#include <utility>
#include ’tulip/TulipPlugin.h’
#include ’TreeTools.h’
Functions
LAYOUTPLUGINOFGROUP (SquarifiedTreeMap,’Squarified Tree Map’,’Julien
Testut, Antony Durand, Pascal Ollier, ’’Yashvin Nababsing,
Sebastien Leclerc, ’’Thibault Ruchon, Eric
Dauchier’,’03/11/2004’,’ok’,’1.0’,’Tree’)
float computeAspectRatio (float area, float childrenArea, float
widthArea)
float computeAspectRatio (float metric, float rowMetric, const
RectangleArea &rectArea)
void setRectangleOrientation (RectangleArea &rectArea)
static bool isGreater (const pairNodeF &p1, const pairNodeF &p2)
void computeNewSpace (RectangleArea *rectArea, float borderSize)
Variables
const float SEPARATION_Z = 150
const float DEFAULT_RATIO = 1.
const int DEFAULT_WIDTH = 1024
const int DEFAULT_HEIGHT = 1024
const int TEXTUREDGLYPHID = 101
Function Documentation
float computeAspectRatio (float metric, float rowMetric, const
RectangleArea & rectArea) [inline]
float computeAspectRatio (float area, float childrenArea, float widthArea)
[inline]
void computeNewSpace (RectangleArea * rectArea, float borderSize)
static bool isGreater (const pairNodeF & p1, const pairNodeF & p2) [static]
LAYOUTPLUGINOFGROUP (SquarifiedTreeMap, ’Squarified Tree Map’, ’Julien
Testut, Antony Durand, Pascal Ollier, ’’Yashvin Nababsing, Sebastien
Leclerc, ’’Thibault Ruchon, Eric Dauchier’, ’03/11/2004’, ’ok’, ’1.0’,
’Tree’)
void setRectangleOrientation (RectangleArea & rectArea) [inline]
Variable Documentation
const int DEFAULT_HEIGHT = 1024
const float DEFAULT_RATIO = 1.
const int DEFAULT_WIDTH = 1024
const float SEPARATION_Z = 150
const int TEXTUREDGLYPHID = 101
Author
Generated automatically by Doxygen for Tulip Plugins Library from the
source code.