Hierarchical Edge Bundle 1.0
|
#include <View.h>
Public Types | |
enum | ViewMethods { VM_ROOTEDTREE, VM_BALLONTREE, VM_TREEMAP_SLICE_AND_DICE, VM_TREEMAP_STRIP, VM_RADIALTREE, VM_QUANTITY } |
Public Member Functions | |
View () | |
~View (void) | |
virtual void | Calculate ()=0 |
void | SetGUIVertexForView (unsigned int id, GUIVertex vertex) |
GUIVertex | GetGUIVertexForView (unsigned int id) |
Static Public Member Functions | |
static void | SetGraph (Graph *grah) |
Public Attributes | |
std::map< unsigned int, GUIVertex > | m_guivertex |
unsigned int | vbohierarchylines_vert |
unsigned int | vbohierarchylines_color |
unsigned int | vboindex_picking_ind |
Static Public Attributes | |
static Graph * | m_pkGraph |
View class.
Diese abstrakte Klasse dient für die Definition der Layoutdaten für die verschiedenen Trees.
enum View::ViewMethods |
View::View | ( | ) |
Konstruktor. Initialisiert die Werte auf Defaultwerte
View::~View | ( | void | ) |
Dekonstruktor
virtual void View::Calculate | ( | ) | [pure virtual] |
Diese Methode wird vom Child implementiert, wo das Layout berechnet wird.
Implemented in BallonTree, RadialTree, RootedTree, and TreeMap.
GUIVertex View::GetGUIVertexForView | ( | unsigned int | id | ) |
void View::SetGraph | ( | Graph * | grah | ) | [static] |
Diese Methode übergibt den Childs den Graphdateb
[Graph*] | graph Graph Objekt. |
void View::SetGUIVertexForView | ( | unsigned int | id, |
GUIVertex | vertex | ||
) |
std::map<unsigned int, GUIVertex> View::m_guivertex |
Graph * View::m_pkGraph [static] |
unsigned int View::vbohierarchylines_color |
unsigned int View::vbohierarchylines_vert |
unsigned int View::vboindex_picking_ind |