InfoVis.Tree.TreeLayout Class Reference

Inheritance diagram for InfoVis.Tree.TreeLayout:

InfoVis.Tree.RadialTreeLayout List of all members.

Public Member Functions

abstract Boolean computeLayout ()
abstract void generateTreeList ()
void draw (Boolean alphaPass)
void generateAdjacencyControlPoints ()
List< TreeNodetraverseForNode (int m_Id)
void updateBoundlingStrength (float beta, Boolean varyingAlpha, Boolean colorDir)
string rayPick (GiWEngine.Math.Vector3 p_near, GiWEngine.Math.Vector3 p_nnear)
TreeNode select (GiWEngine.Math.Vector3 p_near, GiWEngine.Math.Vector3 p_nnear)
void setSelectedNode (TreeNode m_selNode)
void selectWithLine (GiWEngine.Math.Vector3 m_StartPoint, GiWEngine.Math.Vector3 m_EndPoint)

Protected Member Functions

void removeUntilLCA (List< TreeNode > m_start, List< TreeNode > m_end)

Protected Attributes

Tree mTree
int mTreeList
int mTreeNodeList
TreeNode mSelectedNode
GiWEngine.Math.Vector3 mStartSel
GiWEngine.Math.Vector3 mEndSel
Boolean mLinesSelected

Detailed Description

Abstract Class Providing all necessary Member Variables and Functions used by a TreeLayout


Member Function Documentation

abstract Boolean InfoVis.Tree.TreeLayout.computeLayout (  )  [pure virtual]

Method for Computing the current Layout

Implemented in InfoVis.Tree.RadialTreeLayout.

abstract void InfoVis.Tree.TreeLayout.generateTreeList (  )  [pure virtual]

Method for generating the Displaylists for Tree

Implemented in InfoVis.Tree.RadialTreeLayout.

void InfoVis.Tree.TreeLayout.draw ( Boolean  alphaPass  ) 

Draws the Current layout

Parameters:
alphaPass if it should draw the alpha Pass

void InfoVis.Tree.TreeLayout.removeUntilLCA ( List< TreeNode m_start,
List< TreeNode m_end 
) [protected]

Method for finding and Removing the LCA in Two Lists

Parameters:
m_start List of Nodes beginning at the Startpoint to Root
m_start List of Nodes beginning at the Endpoint to Root

void InfoVis.Tree.TreeLayout.generateAdjacencyControlPoints (  ) 

Method which finds and generates the Controlpoints building a Bezier curve connecting two Nodes

List<TreeNode> InfoVis.Tree.TreeLayout.traverseForNode ( int  m_Id  ) 

Traversed the Tree for a given Node

Parameters:
m_Id Node Id of node to be found
Returns:
List of TreeNodes representing the traversal

void InfoVis.Tree.TreeLayout.updateBoundlingStrength ( float  beta,
Boolean  varyingAlpha,
Boolean  colorDir 
)

updates the boundling Strenght and flattens the Controll Points according to it

Parameters:
beta the boundling strength
varyingAlpha if the Alpha depents on the amount of control Points
colorDir if direction is color coded

string InfoVis.Tree.TreeLayout.rayPick ( GiWEngine.Math.Vector3  p_near,
GiWEngine.Math.Vector3  p_nnear 
)

picks a Node from the Tree

Parameters:
p_near Starting point of ray
m_nner Point giving the direction of the ray
Returns:
string with name of picked node

TreeNode InfoVis.Tree.TreeLayout.select ( GiWEngine.Math.Vector3  p_near,
GiWEngine.Math.Vector3  p_nnear 
)

selects a Node from the Tree

Parameters:
p_near Starting point of ray
m_nner Point giving the direction of the ray
Returns:
Selected Node

void InfoVis.Tree.TreeLayout.setSelectedNode ( TreeNode  m_selNode  ) 

Sets the current Selected node of Tree

void InfoVis.Tree.TreeLayout.selectWithLine ( GiWEngine.Math.Vector3  m_StartPoint,
GiWEngine.Math.Vector3  m_EndPoint 
)

Tells the Layout if some Curves are Selected with a given Line

Parameters:
m_StartPoint start point of line
m_EndPoint end point of line


Member Data Documentation

Tree InfoVis.Tree.TreeLayout.mTree [protected]

Tree used in this Layout

int InfoVis.Tree.TreeLayout.mTreeList [protected]

value where Displaylist of TreeStructure is stored

int InfoVis.Tree.TreeLayout.mTreeNodeList [protected]

value where Displaylist of Nodes is stored

TreeNode InfoVis.Tree.TreeLayout.mSelectedNode [protected]

current selected Node

GiWEngine.Math.Vector3 InfoVis.Tree.TreeLayout.mStartSel [protected]

Starting Point of Line Selection

GiWEngine.Math.Vector3 InfoVis.Tree.TreeLayout.mEndSel [protected]

End Points of Line Selection

Boolean InfoVis.Tree.TreeLayout.mLinesSelected [protected]

If Lines are selected


The documentation for this class was generated from the following file:
Generated on Mon Jun 25 19:53:40 2007 for InfoVis Hierarchical Edge Boundles by  doxygen 1.5.2