|
Hierarchical Edge Bundle 1.0
|
#include <TreeMap.h>
Public Types | |
| typedef boost::shared_ptr< Strip > | StripPtr |
| typedef boost::shared_ptr < MapVertex > | MapVertexPtr |
Public Member Functions | |
| MapVertex (VertexPtr owner, double width, double height) | |
| double | GetWidth () |
| double | GetHeight () |
| void | SetWidth (double width) |
| void | SetHeight (double height) |
| double | CalculateAvarangeAspectRatio () |
| double | CalculateLastAspectRatio () |
| double | CalculateAspectRatioOfStrip (int at) |
| double | GetWidthOfItemsAtStrip (unsigned int at) |
| double | GetWidthOfItemsAtLastStrip () |
| double | GetHeightOfItems () |
| unsigned int | GetNumberOfStrips () |
| void | AddStrip (StripPtr strip) |
| void | SetStripAt (StripPtr strip, unsigned int at) |
| StripPtr | GetStripAt (unsigned int at) |
| StripPtr | GetLastStrip () |
| void | RemoveStripAt (int at) |
| VertexPtr | GetOwner () |
| void | SetOwner (VertexPtr owner) |
This class defines the Map of the Treemap
| typedef boost::shared_ptr<MapVertex> MapVertex::MapVertexPtr |
| typedef boost::shared_ptr<Strip> MapVertex::StripPtr |
| MapVertex::MapVertex | ( | VertexPtr | owner, |
| double | width, | ||
| double | height | ||
| ) |
standard constructor

| void MapVertex::AddStrip | ( | MapVertex::StripPtr | strip | ) |
This method add a strip
| [StringPtr] | strip which should be added |

| double MapVertex::CalculateAspectRatioOfStrip | ( | int | at | ) |
This method calculates the aspect radio of the specified strip.

| double MapVertex::CalculateAvarangeAspectRatio | ( | ) |
This method calculates the average aspect radio of the strip
| double MapVertex::CalculateLastAspectRatio | ( | ) |
This method calculates the last aspect radio of the strip

| double MapVertex::GetHeight | ( | ) |
Returns the height of this strip
| double MapVertex::GetHeightOfItems | ( | ) |
This method returns the height of the strips.

| MapVertex::StripPtr MapVertex::GetLastStrip | ( | ) |
Returns the last strip element
| unsigned int MapVertex::GetNumberOfStrips | ( | ) |
This method returns the number of strips
| VertexPtr MapVertex::GetOwner | ( | ) |
Returns the Owner of this element
| MapVertex::StripPtr MapVertex::GetStripAt | ( | unsigned int | at | ) |
Returns the strip at a specfied position
| at | [unsigned int] position at |
| double MapVertex::GetWidth | ( | ) |
Returns the width of this strip
| double MapVertex::GetWidthOfItemsAtLastStrip | ( | ) |
This method returns the width of the last strip

| double MapVertex::GetWidthOfItemsAtStrip | ( | unsigned int | at | ) |
This method returns the width of a specfied strip
| at | [unsigned int] selected strip |

| void MapVertex::RemoveStripAt | ( | int | at | ) |
Remove the strip at a specified position
| at | [int] specififed position. |
| void MapVertex::SetHeight | ( | double | height | ) |
This method sets the height of the strip
| height | [double] height of the strip |
| void MapVertex::SetOwner | ( | VertexPtr | owner | ) |
This method sets the owner
| [VertexPtr] | owner of the owner |
| void MapVertex::SetStripAt | ( | MapVertex::StripPtr | strip, |
| unsigned int | at | ||
| ) |
This method sets at a specified position the strip
| strip | [StripPtr] strip vertex which should be added. |
| at | [unsigned int] position |
| void MapVertex::SetWidth | ( | double | width | ) |
This method sets the width of the strip
| width | [double] width of the strip |
1.7.4