Author: paperwing
Date: 2011-06-27 07:10:35 -0700 (Mon, 27 Jun 2011)
New Revision: 25949
Modified:
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
Log:
minor change to remove test node
Modified:
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
===================================================================
---
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
2011-06-27 12:55:16 UTC (rev 25948)
+++
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/Graphics.java
2011-06-27 14:10:35 UTC (rev 25949)
@@ -560,9 +560,9 @@
// Draw the testNode
gl.glTranslatef(testNode.x, testNode.y, testNode.z);
// gl.glCallList(nodeListIndex);
- GLUT glut = new GLUT();
- glut.glutSolidCylinder(EDGE_RADIUS, 1,
- EDGE_SLICES_DETAIL, EDGE_STACKS_DETAIL);
+ // GLUT glut = new GLUT();
+ // glut.glutSolidCylinder(EDGE_RADIUS, 1,
+ // EDGE_SLICES_DETAIL, EDGE_STACKS_DETAIL);
gl.glTranslatef(-testNode.x, -testNode.y, -testNode.z);
}
@@ -576,7 +576,7 @@
sourceView =
networkView.getNodeView(edgeView.getModel().getSource());
targetView =
networkView.getNodeView(edgeView.getModel().getTarget());
-
+
x1 =
sourceView.getVisualProperty(RichVisualLexicon.NODE_X_LOCATION).floatValue() /
DISTANCE_SCALE;
y1 =
sourceView.getVisualProperty(RichVisualLexicon.NODE_Y_LOCATION).floatValue() /
DISTANCE_SCALE;
z1 =
sourceView.getVisualProperty(RichVisualLexicon.NODE_Z_LOCATION).floatValue() /
DISTANCE_SCALE;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.