Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.ui.tree_visualizer.DerivationTreeTransformer Class Reference
Inheritance diagram for joshua.ui.tree_visualizer.DerivationTreeTransformer:
[legend]
Collaboration diagram for joshua.ui.tree_visualizer.DerivationTreeTransformer:
[legend]

List of all members.

Public Member Functions

 DerivationTreeTransformer (DerivationTree t, Dimension d, boolean isAnchored)
Point2D transform (Node n)
Dimension getSize ()
Point2D getAnchorPosition (DerivationViewer.AnchorType type)
void setAnchorPoint (DerivationViewer.AnchorType type, Point2D viewerAnchor)

Private Member Functions

int distanceToLeaf (Node n)

Private Attributes

TreeLayout< Node,
DerivationTreeEdge
treeLayout
DerivationTree graph
Node root
Node sourceRoot
boolean isAnchored
Point2D anchorPoint
double Y_DIST
double X_DIST

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Here is the caller graph for this function:

Point2D joshua.ui.tree_visualizer.DerivationTreeTransformer.getAnchorPosition ( DerivationViewer.AnchorType  type)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

void joshua.ui.tree_visualizer.DerivationTreeTransformer.setAnchorPoint ( DerivationViewer.AnchorType  type,
Point2D  viewerAnchor 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation