|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xistrat.util.d3.vrmlgraph.VRMLOutput
public class VRMLOutput
This class is used to output a VRML representation of the currently stored GraphData object.
| Constructor Summary | |
|---|---|
VRMLOutput(GraphData graph)
Constructor for the VRMLOutput object |
|
| Method Summary | |
|---|---|
void |
setBackgroundColour(java.lang.String backgroundColour)
Sets the backgroundColour attribute of the VRMLOutput object |
void |
setEdgeColour(java.lang.String edgeColour)
Sets the edgeColour attribute of the VRMLOutput object |
void |
setEdgeTransparency(double edgeTransparency)
Sets the edgeTransparency attribute of the VRMLOutput object |
void |
setEdgeWidth(double edgeWidth)
Sets the edgeWidth attribute of the VRMLOutput object |
void |
setFontColour(java.lang.String fontColour)
Sets the fontColour attribute of the VRMLOutput object |
void |
setFontSize(double fontSize)
Sets the fontSize attribute of the VRMLOutput object |
void |
setNodeColour(java.lang.String nodeColour)
Sets the nodeColour attribute of the VRMLOutput object |
void |
setNodeSize(double nodeSize)
Sets the nodeSize attribute of the VRMLOutput object |
void |
setNodeTransparency(double nodeTransparency)
Sets the nodeTransparency attribute of the VRMLOutput object |
void |
setTitle(java.lang.String title)
Sets the title attribute of the VRMLOutput object |
void |
setZDropBack(double zDropBack)
Sets the zDropBack attribute of the VRMLOutput object |
void |
showLabels(boolean b)
Specify whether or not Node labels are to be drawn on the VRML scene. |
void |
writeToFile(java.lang.String outFile)
Writes a representation of the current graph to a VRML file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VRMLOutput(GraphData graph)
graph - The GraphData object to be represented as VRML| Method Detail |
|---|
public void setFontSize(double fontSize)
fontSize - The new font size to be used in VRML output.public void setFontColour(java.lang.String fontColour)
fontColour - The new font colour to be used in VRML outputpublic void setNodeSize(double nodeSize)
nodeSize - The new size of the Nodes to be drawn.public void setNodeColour(java.lang.String nodeColour)
nodeColour - The new colour of the Nodes to be drawnpublic void setNodeTransparency(double nodeTransparency)
nodeTransparency - The new transparency of the nodespublic void setBackgroundColour(java.lang.String backgroundColour)
backgroundColour - The new background colour of the VRML scenepublic void setZDropBack(double zDropBack)
zDropBack - Set the distance between the viewer and the centre of the graphpublic void setEdgeWidth(double edgeWidth)
edgeWidth - Set the thickness of the edges to be drawnpublic void setEdgeColour(java.lang.String edgeColour)
edgeColour - Set the colour of the edges to be drawnpublic void setEdgeTransparency(double edgeTransparency)
edgeTransparency - Set the transparency of the edgespublic void setTitle(java.lang.String title)
title - The new title of the VRML scenepublic void showLabels(boolean b)
b - Set to true to drawn Node labels. Default is false.
public void writeToFile(java.lang.String outFile)
throws java.lang.Exception
outFile - The filename to output to
java.lang.Exception - An Exception is thrown if an error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||