|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkPolyDataSource vtk.vtkPolyDataToPolyDataFilter vtk.vtkGraphLayoutFilter
vtkGraphLayoutFilter - nice layout of undirected graphs in 3D. vtkGraphLayoutFilter will reposition a network of nodes, connected by lines or polylines, into a more pleasing arrangement. The class implements a simple force-directed placement algorithm (Fruchterman & Reingold "Graph Drawing by Force-directed Placement" Software-Practice and Experience 21(11) 1991). The input to the filter is a vtkPolyData representing the undirected graphs. A graph is represented by a set of polylines and/or lines. The output is also a vtkPolyData, where the point positions have been modified. To use the filter, specify whether you wish the layout to occur in 2D or 3D; the bounds in which the graph should lie (note that you can just use automatic bounds computation); and modify the cool down rate (controls the final process of simulated annealing). JavaBean wrapper for vtkGraphLayoutFilter object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkGraphLayoutFilter()
|
protected |
vtkGraphLayoutFilter(int dmy)
|
Method Summary | |
void |
automaticBoundsComputationOff()
Turn on/off automatic graph bounds calculation. |
void |
automaticBoundsComputationOn()
Turn on/off automatic graph bounds calculation. |
int |
getAutomaticBoundsComputation()
Turn on/off automatic graph bounds calculation. |
java.lang.String |
getClassName()
Return the class name as a string. |
double |
getCoolDownRate()
Set/Get the Cool-down rate. |
double |
getCoolDownRateMaxValue()
Set/Get the Cool-down rate. |
double |
getCoolDownRateMinValue()
Set/Get the Cool-down rate. |
double[] |
getGraphBounds()
Set / get the region in space in which to place the final graph. |
int |
getMaxNumberOfIterations()
Set/Get the maximum number of iterations to be used. |
int |
getMaxNumberOfIterationsMaxValue()
Set/Get the maximum number of iterations to be used. |
int |
getMaxNumberOfIterationsMinValue()
Set/Get the maximum number of iterations to be used. |
vtkGraphLayoutFilter |
getThisGraphLayoutFilter()
|
int |
getThreeDimensionalLayout()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setAutomaticBoundsComputation(int id0)
Turn on/off automatic graph bounds calculation. |
void |
setCoolDownRate(double id0)
Set/Get the Cool-down rate. |
void |
setGraphBounds(double[] id0)
Set / get the region in space in which to place the final graph. |
void |
setGraphBounds(double id0,
double id1,
double id2,
double id3,
double id4,
double id5)
Set / get the region in space in which to place the final graph. |
void |
setMaxNumberOfIterations(int id0)
Set/Get the maximum number of iterations to be used. |
void |
setThreeDimensionalLayout(int id0)
|
void |
threeDimensionalLayoutOff()
|
void |
threeDimensionalLayoutOn()
|
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkPolyDataToPolyDataFilter |
getInput, getThisPolyDataToPolyDataFilter, setInput |
Methods inherited from class vtk.vtkPolyDataSource |
getOutput, getOutput, getThisPolyDataSource, setOutput |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkGraphLayoutFilter()
protected vtkGraphLayoutFilter(int dmy)
Method Detail |
public vtkGraphLayoutFilter getThisGraphLayoutFilter()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkPolyDataToPolyDataFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkPolyDataToPolyDataFilter
public void setGraphBounds(double id0, double id1, double id2, double id3, double id4, double id5)
public void setGraphBounds(double[] id0)
public double[] getGraphBounds()
public void setAutomaticBoundsComputation(int id0)
public int getAutomaticBoundsComputation()
public void automaticBoundsComputationOn()
public void automaticBoundsComputationOff()
public void setMaxNumberOfIterations(int id0)
public int getMaxNumberOfIterationsMinValue()
public int getMaxNumberOfIterationsMaxValue()
public int getMaxNumberOfIterations()
public void setCoolDownRate(double id0)
public double getCoolDownRateMinValue()
public double getCoolDownRateMaxValue()
public double getCoolDownRate()
public void setThreeDimensionalLayout(int id0)
public int getThreeDimensionalLayout()
public void threeDimensionalLayoutOn()
public void threeDimensionalLayoutOff()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkPolyDataToPolyDataFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |