#include <TreeEntity.h>
Public Member Functions | |
TreeEntity () | |
~TreeEntity () | |
void | createImage () |
Public Attributes | |
int | id |
std::string | name |
std::string | born |
std::string | died |
int | sex |
int | numchildren |
int | order |
float | pos_y |
float | extent |
float | cart_y |
float | innerRadius |
float | outerRadius |
float | angle |
float | size |
float | maxChildRadius |
float | estimate |
int | childCount |
TreeEntity::TreeEntity | ( | ) |
standard constructor
TreeEntity::~TreeEntity | ( | ) |
standard destructor
void TreeEntity::createImage | ( | ) |
creates the image
int TreeEntity::id |
id number.
std::string TreeEntity::name |
contains the name of the entity.
std::string TreeEntity::born |
contains optionally the date and place of birth of the entity.
std::string TreeEntity::died |
contains the date of demise of the entity.
int TreeEntity::sex |
contains the sex of the entity, 0 for male, 1 for , -1 for unknown.
number of children.
order x means xth child.
float TreeEntity::pos_y |
position of the node. might be cartesian or polar
float TreeEntity::extent |
available extent for the children
float TreeEntity::cart_y |
position of the node. must be cartesian
float TreeEntity::innerRadius |
radius of the circle on which children of the node are placed
float TreeEntity::outerRadius |
radius of the circle surrounding its subtree
float TreeEntity::angle |
angle reserved for current node. it is used as offset angle for correct placement of children
float TreeEntity::size |
size of marker of current node. to avoid overlaps.
biggest radius occuring among direct children
float TreeEntity::estimate |
temporary estimate variable for balloon layout
temporary child count for balloon layout